Revision 0966a832
Von Kivitendo Admin vor mehr als 9 Jahren hinzugefügt
SL/Controller/BankTransaction.pm | ||
---|---|---|
373 | 373 |
|
374 | 374 |
foreach my $invoice (@invoices) { |
375 | 375 |
my $payment_type; |
376 |
if (@{ $skonto_hash->{"$bt_id"} }) {
|
|
376 |
if ( defined $skonto_hash->{"$bt_id"} ) {
|
|
377 | 377 |
$payment_type = shift(@{ $skonto_hash->{"$bt_id"} }); |
378 | 378 |
} else { |
379 | 379 |
$payment_type = 'without_skonto'; |
Auch abrufbar als: Unified diff
Skonto - korrekte Variablenprüfung payment_term
für den Fall, daß kein payment_term bei den ausgewählten Rechnungen gesetzt ist.