Revision 44b4b931
Von Jan Büren vor fast 3 Jahren hinzugefügt
SL/IS.pm | ||
---|---|---|
180 | 180 |
my @invoices_for_advance_payment_arrays = qw(iap_invnumber iap_transdate |
181 | 181 |
iap_amount iap_amount_nofmt |
182 | 182 |
iap_taxamount iap_taxamount_nofmt |
183 |
iap_open_amount iap_open_amount_nofmt); |
|
183 |
iap_open_amount iap_open_amount_nofmt |
|
184 |
iap_netamount); |
|
184 | 185 |
|
185 | 186 |
map { $form->{TEMPLATE_ARRAYS}->{$_} = [] } (@arrays, @tax_arrays, @payment_arrays, @prepared_arrays, @invoices_for_advance_payment_arrays); |
186 | 187 |
|
... | ... | |
599 | 600 |
push(@{ $form->{TEMPLATE_ARRAYS}->{"iap_$_"} }, $invoice_for_advance_payment->$_) for qw(invnumber transdate); |
600 | 601 |
push(@{ $form->{TEMPLATE_ARRAYS}->{"iap_amount_nofmt"} }, $invoice_for_advance_payment->amount); |
601 | 602 |
push(@{ $form->{TEMPLATE_ARRAYS}->{"iap_amount"} }, $invoice_for_advance_payment->amount_as_number); |
603 |
push(@{ $form->{TEMPLATE_ARRAYS}->{"iap_netamount"} }, $invoice_for_advance_payment->netamount_as_number); |
|
602 | 604 |
push(@{ $form->{TEMPLATE_ARRAYS}->{"iap_taxamount_nofmt"} }, $taxamount); |
603 | 605 |
push(@{ $form->{TEMPLATE_ARRAYS}->{"iap_taxamount"} }, $form->format_amount($myconfig, $taxamount, 2)); |
604 | 606 |
|
Auch abrufbar als: Unified diff
Anzahlungsrechnung auch den netto-Betrag an die Druckvorlagen übergeben