Customers tax id field

This commit is contained in:
Martin Chevignard
2024-10-04 12:07:29 +02:00
parent dd98df1c77
commit 03b9defeb1
12 changed files with 73 additions and 11 deletions

View File

@@ -30,6 +30,7 @@ class CustomerResource extends JsonResource
'formatted_created_at' => $this->formattedCreatedAt,
'avatar' => $this->avatar,
'prefix' => $this->prefix,
'tax_id' => $this->tax_id,
'billing' => $this->when($this->billingAddress()->exists(), function () {
return new AddressResource($this->billingAddress);
}),