add tests batch 20
This commit is contained in:
@@ -6,19 +6,15 @@ use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class FinanceNotificationLogRequest extends FormRequest
|
||||
{
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function authorize(): bool { return true; }
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'status' => ['nullable', 'string', 'max:40'],
|
||||
'notification_type' => ['nullable', 'string', 'max:80'],
|
||||
'parent_id' => ['nullable', 'integer'],
|
||||
'date_from' => ['nullable', 'date'],
|
||||
'date_to' => ['nullable', 'date'],
|
||||
'status' => ['nullable','string','max:40'],
|
||||
'notification_type' => ['nullable','string','max:80'],
|
||||
'parent_id' => ['nullable','integer'],
|
||||
'date_from' => ['nullable','date'],
|
||||
'date_to' => ['nullable','date'],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user