From: Moritz Bunkus Date: Wed, 21 Oct 2020 09:30:25 +0000 (+0200) Subject: Dialogbuchen: automatisches Kopieren des Betrags entfernt X-Git-Tag: kivitendo-mebil_0.1-0~9^2~739 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6755770b9e487756da69b7e0dcc6efb88513170e;p=kivitendo-erp.git Dialogbuchen: automatisches Kopieren des Betrags entfernt --- 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' %] - - +