Working on reports

This commit is contained in:
Hillel Coren 2018-01-24 20:21:30 +02:00
parent 7130110f8e
commit 49815448df
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ class InvoiceReport extends AbstractReport
]; ];
if (TaxRate::scope()->count()) { if (TaxRate::scope()->count()) {
$row[] = $invoice->getTaxTotal(); $row[] = $isFirst ? $account->formatMoney($invoice->getTaxTotal(), $client) : '';
} }
if ($account->custom_invoice_text_label1) { if ($account->custom_invoice_text_label1) {

View File

@ -82,7 +82,7 @@ class QuoteReport extends AbstractReport
]; ];
if (TaxRate::scope()->count()) { if (TaxRate::scope()->count()) {
$row[] = $invoice->getTaxTotal(); $row[] = $account->formatMoney($invoice->getTaxTotal(), $client);
} }
if ($account->custom_invoice_text_label1) { if ($account->custom_invoice_text_label1) {