From 2698456c83abb53592f1d12a940997a4bea0503c Mon Sep 17 00:00:00 2001 From: anuko Date: Sun, 12 Mar 2017 21:15:31 +0000 Subject: [PATCH] Made invoices to utilize REPORT_FOOTER setting. --- WEB-INF/lib/ttInvoiceHelper.class.php | 4 +++- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WEB-INF/lib/ttInvoiceHelper.class.php b/WEB-INF/lib/ttInvoiceHelper.class.php index b5a3c59e..3980b8fb 100644 --- a/WEB-INF/lib/ttInvoiceHelper.class.php +++ b/WEB-INF/lib/ttInvoiceHelper.class.php @@ -423,7 +423,9 @@ class ttInvoiceHelper { $body .= ''; // Output footer. - $body .= '

'.$i18n->getKey('form.mail.footer').'

'; + if (!defined('REPORT_FOOTER') || !(REPORT_FOOTER == false)) + $body .= '

'.$i18n->getKey('form.mail.footer').'

'; + // Finish creating email body. $body .= ''; diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index cd2f92a7..0863ec42 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.10.39.3623 | Copyright © Anuko | +  Anuko Time Tracker 1.10.40.3624 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1