From eb2e3a705f6aa5efeae4684cbf8482a25d54f112 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 16 Jan 2019 17:23:08 +0200 Subject: [PATCH] Fix for reports --- app/Ninja/Reports/InvoiceReport.php | 2 +- app/Ninja/Reports/QuoteReport.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Ninja/Reports/InvoiceReport.php b/app/Ninja/Reports/InvoiceReport.php index 3374ae0c9..d719e72ef 100644 --- a/app/Ninja/Reports/InvoiceReport.php +++ b/app/Ninja/Reports/InvoiceReport.php @@ -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']; } diff --git a/app/Ninja/Reports/QuoteReport.php b/app/Ninja/Reports/QuoteReport.php index 11a9fc1fc..e17c3070d 100644 --- a/app/Ninja/Reports/QuoteReport.php +++ b/app/Ninja/Reports/QuoteReport.php @@ -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']; }