Revision 18345d9b
Von Jan Büren vor mehr als 5 Jahren hinzugefügt
SL/Controller/BankTransaction.pm | ||
---|---|---|
616 | 616 |
my $memo = ($data{memos} // [])->[$n_invoices]; |
617 | 617 |
|
618 | 618 |
$n_invoices++ ; |
619 |
# safety check invoice open |
|
620 |
croak("Invoice closed. Cannot proceed.") unless ($invoice->open_amount); |
|
621 |
|
|
619 | 622 |
if ( ($payment_sent && $bank_transaction->not_assigned_amount >= 0) |
620 | 623 |
|| ($payment_received && $bank_transaction->not_assigned_amount <= 0)) { |
621 | 624 |
return { |
Auch abrufbar als: Unified diff
BankTransaction: save_bt keinen bezahlten rechnungen akzeptieren