From 9c2d49bb4dae241b4290afaeeb762d9c0e584301 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 28 Feb 2007 10:46:49 +0000 Subject: [PATCH] =?utf8?q?Dialogbuchen:=20Beim=20Aufrufen=20bestehender=20?= =?utf8?q?Buchungen=20die=20Projektnummern=20richtig=20in=20der=20Drop-Dow?= =?utf8?q?n-Box=20vorausw=C3=A4hlen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/gl.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index a20554d7f..5154a3fcf 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -148,6 +148,8 @@ sub edit { $form->{"credit_$j"} += $form->{"tax_$j"}; } } + $form->{"project_id_$j"} = $ref->{project_id}; + } else { $form->{"accno_$i"} = "$ref->{accno}--$ref->{tax_id}"; for (qw(fx_transaction source memo)) { $form->{"${_}_$i"} = $ref->{$_} } @@ -159,6 +161,7 @@ sub edit { $form->{"credit_$i"} = $ref->{amount}; } $form->{"taxchart_$i"} = "0--0.00"; + $form->{"project_id_$i"} = $ref->{project_id}; $i++; } if ($ref->{taxaccno} && !$tax) { @@ -168,7 +171,6 @@ sub edit { $taxaccno = ""; $tax = 0; } - } $form->{rowcount} = $i; -- 2.20.1