chore(barbershop): menyesuaikan kembali validasi untuk address
This commit is contained in:
parent
fee12c0b1e
commit
214311929c
@ -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'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user