Customer view field resolve fix (#757)

* fixed customer view field resolve

* fixed customer view field resolve estimate payment
This commit is contained in:
Noah Schneider
2022-01-28 19:37:26 +01:00
committed by GitHub
parent 6a34708a37
commit 760f4566aa
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class InvoiceResource extends JsonResource
'paid_status' => $this->paid_status, 'paid_status' => $this->paid_status,
'tax_per_item' => $this->tax_per_item, 'tax_per_item' => $this->tax_per_item,
'discount_per_item' => $this->discount_per_item, 'discount_per_item' => $this->discount_per_item,
'notes' => $this->notes, 'notes' => $this->getNotes(),
'discount_type' => $this->discount_type, 'discount_type' => $this->discount_type,
'discount' => $this->discount, 'discount' => $this->discount,
'discount_val' => $this->discount_val, 'discount_val' => $this->discount_val,

View File

@ -23,7 +23,7 @@ class EstimateResource extends JsonResource
'reference_number' => $this->reference_number, 'reference_number' => $this->reference_number,
'tax_per_item' => $this->tax_per_item, 'tax_per_item' => $this->tax_per_item,
'discount_per_item' => $this->discount_per_item, 'discount_per_item' => $this->discount_per_item,
'notes' => $this->notes, 'notes' => $this->getNotes(),
'discount' => $this->discount, 'discount' => $this->discount,
'discount_type' => $this->discount_type, 'discount_type' => $this->discount_type,
'discount_val' => $this->discount_val, 'discount_val' => $this->discount_val,

View File

@ -18,7 +18,7 @@ class PaymentResource extends JsonResource
'id' => $this->id, 'id' => $this->id,
'payment_number' => $this->payment_number, 'payment_number' => $this->payment_number,
'payment_date' => $this->payment_date, 'payment_date' => $this->payment_date,
'notes' => $this->notes, 'notes' => $this->getNotes(),
'amount' => $this->amount, 'amount' => $this->amount,
'unique_hash' => $this->unique_hash, 'unique_hash' => $this->unique_hash,
'invoice_id' => $this->invoice_id, 'invoice_id' => $this->invoice_id,