Revision 7f596996
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
478 | 478 |
IS->get_customer(\%myconfig, \%$form) if $form->{type} =~ /sales_(order|quotation)/; |
479 | 479 |
|
480 | 480 |
if ( $form->{vc} eq 'customer' && !$form->{taxincluded_changed_by_user} ) { |
481 |
if ( $form->{taxincluded_checked} eq 'y' ) { |
|
482 |
$form->{taxincluded} = 1; |
|
483 |
} elsif ( $form->{taxincluded_checked} eq 'n' ) { |
|
484 |
$form->{taxincluded} = 0; |
|
485 |
} else { |
|
486 |
$form->{taxincluded} = $myconfig{taxincluded_checked}; |
|
487 |
} |
|
481 |
$form->{taxincluded} = defined($form->{taxincluded_checked}) ? $form->{taxincluded_checked} : $myconfig{taxincluded_checked}; |
|
488 | 482 |
} |
489 | 483 |
|
490 | 484 |
if (!$form->{taxincluded}) { |
Auch abrufbar als: Unified diff
Umstellung der Kunden-Eigenschaft '"Steuer im Preis inbegriffen" als Default' auf den Datentyp boolean.
Siehe Commit: 7bff84cbc6daa65a74b9f5c83415c98856eb30a1