feat(expenses): add tax tracking and reporting (#737)

This commit is contained in:
Darko Gjorgjijoski
2026-08-02 13:01:01 +02:00
committed by GitHub
parent 3455ceb594
commit 885042f13a
38 changed files with 1466 additions and 78 deletions

View File

@@ -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);
}),