Revision 9008f9b6
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Helper/PriceTaxCalculator.pm | ||
---|---|---|
114 | 114 |
$self->netamount($self->netamount + $sellprice * $item->qty / $item->price_factor); |
115 | 115 |
|
116 | 116 |
my $chart = $item->part->get_chart(type => $data->{is_sales} ? 'income' : 'expense', taxzone => $self->taxzone_id); |
117 |
$data->{amounts}->{ $chart->id } ||= { taxkey => $taxkey->id, amount => 0 }; |
|
117 |
$data->{amounts}->{ $chart->id } ||= { taxkey => $taxkey->taxkey_id, amount => 0 };
|
|
118 | 118 |
$data->{amounts}->{ $chart->id }->{amount} += $linetotal; |
119 | 119 |
|
120 | 120 |
push @{ $data->{assembly_items} }, []; |
Auch abrufbar als: Unified diff
In acc_trans Steuerschlüssel eintragen, nicht ID aus taxkeys