Revision 7bff84cb
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
405 | 405 |
my ($tax, $subtotal); |
406 | 406 |
$form->{taxaccounts_array} = [ split / /, $form->{taxaccounts} ]; |
407 | 407 |
|
408 |
IS->get_customer(\%myconfig, \%$form) if $form->{type} =~ /sales_(order|quotation)/; |
|
409 |
|
|
410 |
if ( $form->{vc} eq 'customer' && !$form->{taxincluded_changed_by_user} ) { |
|
411 |
if ( $form->{taxincluded_checked} eq 'y' ) { |
|
412 |
$form->{taxincluded} = 1; |
|
413 |
} elsif ( $form->{taxincluded_checked} eq 'n' ) { |
|
414 |
$form->{taxincluded} = 0; |
|
415 |
} else { |
|
416 |
$form->{taxincluded} = $myconfig{taxincluded_checked}; |
|
417 |
} |
|
418 |
} |
|
419 |
|
|
408 | 420 |
foreach my $item (@{ $form->{taxaccounts_array} }) { |
409 | 421 |
if ($form->{"${item}_base"}) { |
410 | 422 |
if ($form->{taxincluded}) { |
Auch abrufbar als: Unified diff
Möglichkeit zum Setzen von "Steuer im Preis inbegriffen" als Default
fixt #1985