first&last

This commit is contained in:
sbb45
2026-03-20 15:47:17 +05:00
commit d6441abdd2
230 changed files with 20367 additions and 0 deletions
@@ -0,0 +1,28 @@
<?php
namespace App\Http\Requests\System;
use Illuminate\Foundation\Http\FormRequest;
class UpdateSettingsRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'company_name' => ['required', 'string', 'max:255'],
'timezone' => ['required', 'timezone'],
'default_sla_hours' => ['required', 'integer', 'min:1', 'max:720'],
'maintenance_mode' => ['nullable', 'boolean'],
'notify_assigned' => ['nullable', 'boolean'],
'notify_status_changed' => ['nullable', 'boolean'],
'notify_comment_added' => ['nullable', 'boolean'],
'notify_overdue' => ['nullable', 'boolean'],
'notify_sla_warning' => ['nullable', 'boolean'],
];
}
}