]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttInvoiceHelper.class.php
Made invoices to utilize REPORT_FOOTER setting.
[timetracker.git] / WEB-INF / lib / ttInvoiceHelper.class.php
index b5a3c59ec831ee87cb83253281fd45fd37c61440..3980b8fb5425dfcc0c23b73821d715ff8cb104a2 100644 (file)
@@ -423,7 +423,9 @@ class ttInvoiceHelper {
     $body .= '</table>';
 
     // Output footer.
-    $body .= '<p style="text-align: center;">'.$i18n->getKey('form.mail.footer').'</p>';
+    if (!defined('REPORT_FOOTER') || !(REPORT_FOOTER == false))
+      $body .= '<p style="text-align: center;">'.$i18n->getKey('form.mail.footer').'</p>';
+
     // Finish creating email body.
     $body .= '</body></html>';