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
@@ -66,6 +66,8 @@ class ExpensesController extends Controller
|
||||
{
|
||||
$this->authorize('view', $expense);
|
||||
|
||||
$expense->load('taxes.taxType');
|
||||
|
||||
return new ExpenseResource($expense);
|
||||
}
|
||||
|
||||
@@ -78,7 +80,7 @@ class ExpensesController extends Controller
|
||||
{
|
||||
$this->authorize('update', $expense);
|
||||
|
||||
$this->expenseService->update($expense, $request);
|
||||
$expense = $this->expenseService->update($expense, $request);
|
||||
|
||||
return new ExpenseResource($expense);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user