Revision 03d3d025
Von Bernd Bleßmann vor fast 11 Jahren hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
116 | 116 |
} |
117 | 117 |
} |
118 | 118 |
|
119 |
my ($payment_id, $language_id, $taxzone_id, $currency); |
|
119 |
my ($payment_id, $language_id, $taxzone_id, $currency, $delivery_term_id);
|
|
120 | 120 |
if ($form->{payment_id}) { |
121 | 121 |
$payment_id = $form->{payment_id}; |
122 | 122 |
} |
... | ... | |
129 | 129 |
if ($form->{currency}) { |
130 | 130 |
$currency = $form->{currency}; |
131 | 131 |
} |
132 |
if ($form->{delivery_term_id}) { |
|
133 |
$delivery_term_id = $form->{delivery_term_id}; |
|
134 |
} |
|
132 | 135 |
|
133 | 136 |
my $cp_id = $form->{cp_id}; |
134 | 137 |
IR->get_vendor(\%myconfig, \%$form); |
... | ... | |
147 | 150 |
if ($currency) { |
148 | 151 |
$form->{currency} = $currency; |
149 | 152 |
} |
153 |
if ($delivery_term_id) { |
|
154 |
$form->{delivery_term_id} = $delivery_term_id; |
|
155 |
} |
|
150 | 156 |
|
151 | 157 |
my @curr = $form->get_all_currencies(); |
152 | 158 |
map { $form->{selectcurrency} .= "<option>$_\n" } @curr; |
... | ... | |
431 | 437 |
$totalpaid += $form->{"paid_$i"}; |
432 | 438 |
} |
433 | 439 |
|
440 |
$form->{ALL_DELIVERY_TERMS} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); |
|
441 |
|
|
434 | 442 |
print $form->parse_html_template('ir/form_footer', { |
435 | 443 |
is_type_credit_note => ($form->{type} eq "credit_note"), |
436 | 444 |
totalpaid => $totalpaid, |
Auch abrufbar als: Unified diff
Lieferbedingungen analog zu Zahlungsbedingungen eingeführt.
Sie können angelegt werden, beim Benutzer voreingestellt werden
und in allen Ein- und Verkaufsmasken gesetzt werden.