From 34a2b6e126453ce49f5ccf0c7c1d2245a8ff8c42 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 6 Jan 2014 15:41:20 +0100 Subject: [PATCH] =?utf8?q?Interne=20Bemerkungen=20im=20Workflow=20von=20Ei?= =?utf8?q?nkaufslieferschein=20nach=20Rechnung=20nicht=20=C3=BCberschreibe?= =?utf8?q?n=20...?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ... mit Werten aus den Stammdaten. Behebt #2136. --- bin/mozilla/ir.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 30124cf64..ddf5796b1 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -116,7 +116,7 @@ sub invoice_links { } } - my ($payment_id, $language_id, $taxzone_id, $currency, $delivery_term_id); + my ($payment_id, $language_id, $taxzone_id, $currency, $delivery_term_id, $intnotes); if ($form->{payment_id}) { $payment_id = $form->{payment_id}; } @@ -132,6 +132,9 @@ sub invoice_links { if ($form->{delivery_term_id}) { $delivery_term_id = $form->{delivery_term_id}; } + if (exists $form->{intnotes}) { + $intnotes = $form->{intnotes}; + } my $cp_id = $form->{cp_id}; IR->get_vendor(\%myconfig, \%$form); @@ -153,6 +156,9 @@ sub invoice_links { if ($delivery_term_id) { $form->{delivery_term_id} = $delivery_term_id; } + if (defined $intnotes) { + $form->{intnotes} = $intnotes; + } my @curr = $form->get_all_currencies(); map { $form->{selectcurrency} .= "