Revision 78b4893e
SL/IS.pm | ||
---|---|---|
1178 | 1178 |
} |
1179 | 1179 |
# no tax, no prob |
1180 | 1180 |
if ($tax and $tax->rate != 0) { |
1181 |
die "Need a valid chart id for table defaults column advance_payment_taxable_7" if $tax->taxkey == 2 && ! $::instance_conf->get_advance_payment_taxable_7_id; |
|
1182 |
die "Need a valid chart id for table defaults column advance_payment_taxable_19" if $tax->taxkey == 3 && ! $::instance_conf->get_advance_payment_taxable_19_id; |
|
1181 | 1183 |
my $transfer_chart = $tax->taxkey == 2 ? SL::DB::Chart->new(id => $::instance_conf->get_advance_payment_taxable_7_id)->load |
1182 | 1184 |
: $tax->taxkey == 3 ? SL::DB::Chart->new(id => $::instance_conf->get_advance_payment_taxable_19_id)->load |
1183 | 1185 |
: undef; |
Auch abrufbar als: Unified diff
Fehler werfen, falls Werte in der default nicht gesetzt sind