Fix for reports
This commit is contained in:
parent
7ef523cecd
commit
eb2e3a705f
2 changed files with 2 additions and 2 deletions
|
|
@ -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'];
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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'];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue