From: Bernd Bleßmann Date: Mon, 6 Jan 2014 14:41:20 +0000 (+0100) Subject: Interne Bemerkungen im Workflow von Einkaufslieferschein nach Rechnung nicht überschr... X-Git-Tag: release-3.1.0beta1~22^2~53^2~2^2~3 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=34a2b6e126453ce49f5ccf0c7c1d2245a8ff8c42;p=kivitendo-erp.git Interne Bemerkungen im Workflow von Einkaufslieferschein nach Rechnung nicht überschreiben ... ... mit Werten aus den Stammdaten. Behebt #2136. --- 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} .= "