Revision 99d8b7c6
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
| SL/Controller/BankTransaction.pm | ||
|---|---|---|
|  | ||
|       my ($payment_type, $free_skonto_amount);
 | ||
|       if ( defined $::form->{invoice_skontos}->{"$bt_id"} ) {
 | ||
|         $payment_type = shift(@{ $::form->{invoice_skontos}->{"$bt_id"} });
 | ||
|         $payment_type = shift(@{ $::form->{invoice_skontos}->{"$bt_id"} }) || '';
 | ||
|       } else {
 | ||
|         $payment_type = 'without_skonto';
 | ||
|       }
 | ||
Auch abrufbar als: Unified diff
S:C:BankTransaction: nicht initialisierter Wert: Warnungen vermeiden