Fix for reports

This commit is contained in:
Hillel Coren 2019-01-16 17:23:08 +02:00
parent 7ef523cecd
commit eb2e3a705f
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ class InvoiceReport extends AbstractReport
if ($account->customLabel('invoice_text1')) {
$columns[$account->present()->customLabel('invoice_text1')] = ['columnSelector-false', 'custom'];
}
if ($account->customLabel('invoice_text1')) {
if ($account->customLabel('invoice_text2')) {
$columns[$account->present()->customLabel('invoice_text2')] = ['columnSelector-false', 'custom'];
}

View file

@ -30,7 +30,7 @@ class QuoteReport extends AbstractReport
if ($account->customLabel('invoice_text1')) {
$columns[$account->present()->customLabel('invoice_text1')] = ['columnSelector-false', 'custom'];
}
if ($account->customLabel('invoice_text1')) {
if ($account->customLabel('invoice_text2')) {
$columns[$account->present()->customLabel('invoice_text2')] = ['columnSelector-false', 'custom'];
}