From: Nik Okuntseff Date: Fri, 6 Apr 2018 10:57:22 +0000 (+0000) Subject: Fixed invoice view. X-Git-Tag: timetracker_1.19-1~870 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0290e13bb8429bb198c21fcb9129b5599a47428d;p=timetracker.git Fixed invoice view. --- 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;