fix(customer): lưu và trả địa chỉ khách hàng
Bảng customers chỉ có cột address nên address_1/address_2 từ form admin bị bỏ khi validate. Thêm cột address_2, fillable, rule validate và trả đủ field địa chỉ trong CustomerResource. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
fc765ad007
commit
e1ffbf52fe
@@ -52,6 +52,7 @@ class Customer extends Authenticatable implements JWTSubject
|
||||
'username',
|
||||
'avatar',
|
||||
'address',
|
||||
'address_2',
|
||||
'state',
|
||||
'city',
|
||||
'postcode',
|
||||
|
||||
Reference in New Issue
Block a user