From 2174b7ba062594ce95f9ddf5cb079673e13c3c15 Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Mon, 18 Mar 2013 17:56:53 +0100 Subject: [PATCH] =?utf8?q?"Steuer=20im=20Preis=20inbegriffen"=20nicht=20me?= =?utf8?q?hr=20beim=20Erneuern=20=C3=BCberschreiben.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit fixt #2219 --- bin/mozilla/is.pl | 2 +- bin/mozilla/oe.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/is.pl b/bin/mozilla/is.pl index 8546cb665..d7e99b76d 100644 --- a/bin/mozilla/is.pl +++ b/bin/mozilla/is.pl @@ -411,7 +411,7 @@ sub form_footer { my ($tax, $subtotal); $form->{taxaccounts_array} = [ split(/ /, $form->{taxaccounts}) ]; - if ($form->{customer_id}) { + if( $form->{customer_id} && !$form->{taxincluded_changed_by_user} ) { my $customer = SL::DB::Customer->new(id => $form->{customer_id})->load(); $form->{taxincluded} = defined($customer->taxincluded_checked) ? $customer->taxincluded_checked : $myconfig{taxincluded_checked}; } diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index cfdb11aa0..298d3326f 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -483,7 +483,7 @@ sub form_footer { $TMPL_VAR{notes} = qq||; $TMPL_VAR{intnotes} = qq||; - if ($form->{customer_id}) { + if( $form->{customer_id} && !$form->{taxincluded_changed_by_user} ) { my $customer = SL::DB::Customer->new(id => $form->{customer_id})->load(); $form->{taxincluded} = defined($customer->taxincluded_checked) ? $customer->taxincluded_checked : $myconfig{taxincluded_checked}; } -- 2.20.1