From 6755770b9e487756da69b7e0dcc6efb88513170e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 21 Oct 2020 11:30:25 +0200 Subject: [PATCH] Dialogbuchen: automatisches Kopieren des Betrags entfernt --- bin/mozilla/gl.pl | 6 ++---- templates/webpages/gl/form_header.html | 10 +--------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index fe621122b..533025748 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -922,20 +922,18 @@ sub display_rows { my $projectnumber_hidden = qq| |; - my $copy2credit = $i == 1 ? 'onkeyup="copy_debit_to_credit()"' : ''; - my $balance = $form->format_amount(\%::myconfig, $balances{$accno_id} // 0, 2, 'DRCR'); + my $balance = $form->format_amount(\%::myconfig, $balances{$accno_id} // 0, 2, 'DRCR'); # if we have a bt_chart_id we disallow changing the amount of the bank account if ($form->{bt_chart_id}) { $debitreadonly = $creditreadonly = "readonly" if ($form->{"accno_id_$i"} eq $form->{bt_chart_id}); - $copy2credit = '' if $i == 1; # and disallow copy2credit } print qq| $accno ${balance} $fx_transaction - + $form->{"tax_$i"} $tax_ddbox|; diff --git a/templates/webpages/gl/form_header.html b/templates/webpages/gl/form_header.html index 644ff964e..2bf82588e 100644 --- a/templates/webpages/gl/form_header.html +++ b/templates/webpages/gl/form_header.html @@ -6,15 +6,7 @@ [%- INCLUDE 'common/flash.html' %] - - + -- 2.20.1