Revision 6881b4bd
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
407 | 407 |
my ($tax, $subtotal); |
408 | 408 |
$form->{taxaccounts_array} = [ split / /, $form->{taxaccounts} ]; |
409 | 409 |
|
410 |
my $paymet_id = $::form->{payment_id}; |
|
410 | 411 |
IS->get_customer(\%myconfig, \%$form) if $form->{type} =~ /sales_(order|quotation)/; |
412 |
$::form->{payment_id} = $paymet_id; |
|
411 | 413 |
|
412 | 414 |
if ( $form->{vc} eq 'customer' && !$form->{taxincluded_changed_by_user} ) { |
413 | 415 |
$form->{taxincluded} = defined($form->{taxincluded_checked}) ? $form->{taxincluded_checked} : $myconfig{taxincluded_checked}; |
... | ... | |
519 | 521 |
map { $form->{"${_}_$i"} = $form->parse_amount(\%myconfig, $form->{"${_}_$i"}) } qw(paid exchangerate); |
520 | 522 |
if (!$form->{"forex_$i"}) { #read exchangerate from input field (not hidden) |
521 | 523 |
$form->{exchangerate} = $form->{"exchangerate_$i"}; |
522 |
}
|
|
524 |
} |
|
523 | 525 |
$form->{"forex_$i"} = $form->check_exchangerate(\%myconfig, $form->{currency}, $form->{"datepaid_$i"}, 'buy'); |
524 | 526 |
$form->{"exchangerate_$i"} = $form->{"forex_$i"} if $form->{"forex_$i"}; |
525 | 527 |
} |
Auch abrufbar als: Unified diff
Zahlungsbedingungen nicht unter Angebot/Auftrag überschreiben.
fixt #2015