From 0290e13bb8429bb198c21fcb9129b5599a47428d Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Fri, 6 Apr 2018 10:57:22 +0000 Subject: [PATCH] Fixed invoice view. --- WEB-INF/templates/footer.tpl | 2 +- invoice_view.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 4479bc48..b88511c6 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.86.4231 | Copyright © Anuko | +  Anuko Time Tracker 1.17.87.4232 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/invoice_view.php b/invoice_view.php index fd8424a3..bfc67223 100644 --- a/invoice_view.php +++ b/invoice_view.php @@ -54,7 +54,7 @@ $client = ttClientHelper::getClient($invoice['client_id'], true); if (!$client) // In case client was deleted. $client = ttClientHelper::getDeletedClient($invoice['client_id']); -$invoice_items = ttInvoiceHelper::getInvoiceItems($cl_id); +$invoice_items = ttInvoiceHelper::getInvoiceItems($cl_invoice_id); $tax_percent = $client['tax']; $subtotal = 0; -- 2.20.1