Revision 03d3d025
Von Bernd Bleßmann vor fast 11 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
245 | 245 |
|
246 | 246 |
$form->{"$form->{vc}_id"} ||= $form->{"all_$form->{vc}"}->[0]->{id} if $form->{"all_$form->{vc}"}; |
247 | 247 |
|
248 |
$form->backup_vars(qw(payment_id language_id taxzone_id salesman_id taxincluded cp_id intnotes shipto_id currency)); |
|
248 |
$form->backup_vars(qw(payment_id language_id taxzone_id salesman_id taxincluded cp_id intnotes shipto_id delivery_term_id currency));
|
|
249 | 249 |
$form->{shipto} = 1 if $form->{id} || $form->{convert_from_oe_ids}; |
250 | 250 |
|
251 | 251 |
# get customer / vendor |
252 | 252 |
IR->get_vendor(\%myconfig, \%$form) if $form->{type} =~ /(purchase_order|request_quotation)/; |
253 | 253 |
IS->get_customer(\%myconfig, \%$form) if $form->{type} =~ /sales_(order|quotation)/; |
254 | 254 |
|
255 |
$form->restore_vars(qw(payment_id language_id taxzone_id intnotes cp_id shipto_id)); |
|
255 |
$form->restore_vars(qw(payment_id language_id taxzone_id intnotes cp_id shipto_id delivery_term_id));
|
|
256 | 256 |
$form->restore_vars(qw(currency)) if $form->{id}; |
257 | 257 |
$form->restore_vars(qw(taxincluded)) if $form->{id}; |
258 | 258 |
$form->restore_vars(qw(salesman_id)) if $editing; |
... | ... | |
523 | 523 |
|
524 | 524 |
$form->{oldinvtotal} = $form->{invtotal}; |
525 | 525 |
|
526 |
$TMPL_VAR{ALL_DELIVERY_TERMS} = SL::DB::Manager::DeliveryTerm->get_all_sorted(); |
|
527 |
|
|
526 | 528 |
print $form->parse_html_template("oe/form_footer", { |
527 | 529 |
%TMPL_VAR, |
528 | 530 |
webdav => $::instance_conf->get_webdav, |
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.