From: Moritz Bunkus Date: Wed, 21 Oct 2020 09:38:13 +0000 (+0200) Subject: Dialogbuchen: Konto beim Entfernen von Zeilen richtig setzen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~737 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=53af5bf8cb24918ccdfc898ebaf916e4ef938c3c;p=kivitendo-erp.git Dialogbuchen: Konto beim Entfernen von Zeilen richtig setzen Nach Umstellung auf den Chart-Picker heißt das Form-Feld nun `accno_id`, nicht mehr `accno`. --- diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index e6abc5524..6f49848fc 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -673,7 +673,7 @@ sub update { my $zerotaxes = selectall_hashref_query($form, $dbh, "SELECT id FROM tax WHERE rate = 0", ); my @flds = - qw(accno debit credit projectnumber fx_transaction source memo tax taxchart); + qw(accno_id debit credit projectnumber fx_transaction source memo tax taxchart); for my $i (1 .. $form->{rowcount}) { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) for qw(debit credit tax); @@ -1213,7 +1213,7 @@ sub post_transaction { my ($notax_id) = selectrow_query($form, $dbh, "SELECT id FROM tax WHERE taxkey = 0 LIMIT 1", ); my $zerotaxes = selectall_hashref_query($form, $dbh, "SELECT id FROM tax WHERE rate = 0", ); - my @flds = qw(accno debit credit projectnumber fx_transaction source memo tax taxchart); + my @flds = qw(accno_id debit credit projectnumber fx_transaction source memo tax taxchart); for my $i (1 .. $form->{rowcount}) { next if $form->{"debit_$i"} eq "" && $form->{"credit_$i"} eq "";