mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-08-05 07:32:14 +00:00
feat(expenses): add tax tracking and reporting (#737)
This commit is contained in:
committed by
GitHub
parent
3455ceb594
commit
885042f13a
@@ -33,6 +33,7 @@ class ExpenseResource extends JsonResource
|
||||
'currency_id' => $this->currency_id,
|
||||
'base_amount' => $this->base_amount,
|
||||
'payment_method_id' => $this->payment_method_id,
|
||||
'taxes' => TaxResource::collection($this->whenLoaded('taxes')),
|
||||
'customer' => $this->when($this->customer()->exists(), function () {
|
||||
return new CustomerResource($this->customer);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user