14-04-2026

This commit is contained in:
Kevin Adametz 2026-04-14 18:07:45 +02:00
parent f58c709945
commit 0f82fea88a
72 changed files with 7414 additions and 148 deletions

View file

@ -0,0 +1,31 @@
<?php
namespace App\Http\Requests\PaymentIncident;
use Illuminate\Foundation\Http\FormRequest;
class AddIncidentActivityRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'type' => ['required', 'in:note,email,call,ticket,status_change,provider_response'],
'title' => ['required', 'string', 'max:255'],
'content' => ['nullable', 'string'],
];
}
public function messages(): array
{
return [
'type.required' => 'Bitte einen Aktivitätstyp auswählen.',
'type.in' => 'Ungültiger Aktivitätstyp.',
'title.required' => 'Bitte einen Titel angeben.',
];
}
}