Revision 392c517f
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/Controller/CsvImport/APTransaction.pm | ||
---|---|---|
565 | 565 |
if ( $ap_entry->{object}->{apchart} && $ap_entry->{object}->{apchart}->isa('SL::DB::Chart') ) { |
566 | 566 |
$ap_entry->{object}->recalculate_amounts; # determine and set amount and netamount for ap |
567 | 567 |
$ap_entry->{object}->create_ap_row(chart => $ap_entry->{object}->{apchart}); |
568 |
$ap_entry->{info_data}->{amount} = $ap_entry->{object}->amount;
|
|
569 |
$ap_entry->{info_data}->{netamount} = $ap_entry->{object}->netamount;
|
|
568 |
$ap_entry->{info_data}->{calc_amount} = $ap_entry->{object}->amount_as_number;
|
|
569 |
$ap_entry->{info_data}->{calc_netamount} = $ap_entry->{object}->netamount_as_number;
|
|
570 | 570 |
} else { |
571 | 571 |
push @{ $entry->{errors} }, $::locale->text("ap_chart isn't a valid chart"); |
572 | 572 |
}; |
... | ... | |
594 | 594 |
if ( $ap_entry->{object} ) { |
595 | 595 |
if ( $ap_entry->{object}->{apchart} && $ap_entry->{object}->{apchart}->isa('SL::DB::Chart') ) { |
596 | 596 |
$ap_entry->{object}->recalculate_amounts; |
597 |
$ap_entry->{info_data}->{amount} = $ap_entry->{object}->amount;
|
|
598 |
$ap_entry->{info_data}->{netamount} = $ap_entry->{object}->netamount;
|
|
597 |
$ap_entry->{info_data}->{calc_amount} = $ap_entry->{object}->amount_as_number;
|
|
598 |
$ap_entry->{info_data}->{calc_netamount} = $ap_entry->{object}->netamount_as_number;
|
|
599 | 599 |
|
600 | 600 |
$ap_entry->{object}->create_ap_row(chart => $ap_entry->{object}->{apchart}); |
601 | 601 |
} else { |
Auch abrufbar als: Unified diff
CSV-Import Kreditorenbuchungen: Kalkulierte Beträge: richtige Info-Felder nehmen