chore(barbershop): menyesuaikan kembali validasi untuk address

This commit is contained in:
Yoga Pangestu 2024-11-24 17:30:13 +07:00
parent fee12c0b1e
commit 214311929c

View File

@ -31,7 +31,7 @@ public function rules(): array
'name' => ['required', 'string', 'max:50'],
'contact_number' => ['required', 'string', 'regex:/^\+?\d{10,15}$/'],
'landmark' => ['required', 'string', 'max:30'],
'address' => ['required', 'string', 'max:500'],
'address' => ['required', 'string', 'max:65535'],
'opened' => ['required', 'date'],
'closed' => ['nullable', 'date'],
'cash' => ['required', 'numeric', 'min:0', 'max:99999999.99'],