Revision 7f596996
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
408 | 408 |
IS->get_customer(\%myconfig, \%$form) if $form->{type} =~ /sales_(order|quotation)/; |
409 | 409 |
|
410 | 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 |
} |
|
411 |
$form->{taxincluded} = defined($form->{taxincluded_checked}) ? $form->{taxincluded_checked} : $myconfig{taxincluded_checked}; |
|
418 | 412 |
} |
419 | 413 |
|
420 | 414 |
foreach my $item (@{ $form->{taxaccounts_array} }) { |
Auch abrufbar als: Unified diff
Umstellung der Kunden-Eigenschaft '"Steuer im Preis inbegriffen" als Default' auf den Datentyp boolean.
Siehe Commit: 7bff84cbc6daa65a74b9f5c83415c98856eb30a1