mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:14:40 -04:00
Improve tax report #1351
This commit is contained in:
parent
556a90c8ef
commit
5d2fa718fc
@ -72,10 +72,10 @@ class TaxRateReport extends AbstractReport
|
|||||||
$account->formatMoney($tax['amount'], $client),
|
$account->formatMoney($tax['amount'], $client),
|
||||||
$account->formatMoney($tax['paid'], $client),
|
$account->formatMoney($tax['paid'], $client),
|
||||||
];
|
];
|
||||||
}
|
|
||||||
|
|
||||||
$this->addToTotals($client->currency_id, 'amount', $invoice->amount);
|
$this->addToTotals($client->currency_id, 'amount', $tax['amount']);
|
||||||
$this->addToTotals($client->currency_id, 'paid', $invoice->getAmountPaid());
|
$this->addToTotals($client->currency_id, 'paid', $tax['paid']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user