Revision 8b14060f
Von Moritz Bunkus vor etwa 8 Jahren hinzugefügt
SL/Controller/BankTransaction.pm | ||
---|---|---|
533 | 533 |
$bank_transaction->invoice_amount($bank_transaction->amount); |
534 | 534 |
$amount_of_transaction = 0; |
535 | 535 |
|
536 |
push @warnings, { |
|
537 |
%data, |
|
538 |
result => 'warning', |
|
539 |
message => $::locale->text('Invoice #1 was overpaid by #2.', $invoice->invnumber, $::form->format_amount(\%::myconfig, $overpaid_amount, 2)), |
|
540 |
}; |
|
536 |
if ($overpaid_amount >= 0.01) { |
|
537 |
push @warnings, { |
|
538 |
%data, |
|
539 |
result => 'warning', |
|
540 |
message => $::locale->text('Invoice #1 was overpaid by #2.', $invoice->invnumber, $::form->format_amount(\%::myconfig, $overpaid_amount, 2)), |
|
541 |
}; |
|
542 |
} |
|
541 | 543 |
} |
542 | 544 |
|
543 | 545 |
# Record a record link from the bank transaction to the invoice |
Auch abrufbar als: Unified diff
Bankauszug: nur Warnung wegen Überzahlung bei tatsächlicher Überzahlung