feat: Implement order and invoice management, enhance addon features, and remove the 'Type' module.
This commit is contained in:
@@ -20,13 +20,13 @@ class ClientResource extends JsonResource
|
||||
|
||||
return [
|
||||
'customer' => [
|
||||
'name' => $this->fullname,
|
||||
'fullname' => $this->fullname,
|
||||
'email' => $this->email,
|
||||
'phone' => $this->phone,
|
||||
'address' => $this->address,
|
||||
'city' => $this->city,
|
||||
'ward' => $this->ward->name,
|
||||
'province' => $this->province->name,
|
||||
'ward' => $this->ward->name ?? '',
|
||||
'province' => $this->province->name ?? '',
|
||||
'gender' => $this->gender_label,
|
||||
'date' => $this->created_at ? $this->created_at->format('Y-m-d H:i:s') : null,
|
||||
'company' => $this->company ?? '',
|
||||
|
||||
Reference in New Issue
Block a user