|
|
@@ -19,7 +19,7 @@ public function rules(): array
|
|
|
'state_registration' => 'sometimes|nullable|string|max:50',
|
|
|
'name_responsible' => 'sometimes|required|string|max:255',
|
|
|
'street' => 'sometimes|required|string|max:255',
|
|
|
- 'address_number' => 'sometimes|nullable|string|max:20',
|
|
|
+ 'address_number' => 'sometimes|required|string|max:20',
|
|
|
'postal_code' => 'sometimes|required|string|max:9',
|
|
|
'neighborhood' => 'sometimes|required|string|max:255',
|
|
|
'complement' => 'sometimes|nullable|string|max:255',
|
|
|
@@ -62,6 +62,7 @@ public function rules(): array
|
|
|
'cnpj',
|
|
|
'name_responsible',
|
|
|
'street',
|
|
|
+ 'address_number',
|
|
|
'postal_code',
|
|
|
'neighborhood',
|
|
|
'city_id',
|