From 22e896625b26471f6b91834d97eb8c8d2ca1f1e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 11 Jan 2012 13:16:50 +0100 Subject: [PATCH] =?utf8?q?oldinvtotal=20wurde=20zu=20fr=C3=BCh=20kopiert,?= =?utf8?q?=20so=20dass=20die=20Steuern=20nicht=20mitgeschleift=20wurden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix zu Bug 1413. --- bin/mozilla/is.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 489a6d936..bcbf10782 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -387,7 +387,6 @@ sub form_footer { $main::auth->assert('invoice_edit'); $form->{invtotal} = $form->{invsubtotal}; - $form->{oldinvtotal} = $form->{invtotal}; # note rows $form->{rows} = max 2, @@ -447,6 +446,8 @@ sub form_footer { $totalpaid += $form->{"paid_$i"}; } + $form->{oldinvtotal} = $form->{invtotal}; + print $form->parse_html_template('is/form_footer', { is_type_credit_note => ($form->{type} eq "credit_note"), totalpaid => $totalpaid, -- 2.20.1