Revision a4bbdc71
Von Jan Büren vor etwa 4 Jahren hinzugefügt
SL/DB/BankTransaction.pm | ||
---|---|---|
122 | 122 |
|
123 | 123 |
# compare open amount, preventing double points when open amount = invoice amount |
124 | 124 |
if ( $invoice->amount != $invoice->open_amount && abs(abs($invoice->open_amount) - abs($self->amount)) < 0.01 && |
125 |
$::form->format_amount(\%::myconfig,abs($invoice->amount_less_skonto),2) eq
|
|
125 |
$::form->format_amount(\%::myconfig,abs($invoice->open_amount),2) eq
|
|
126 | 126 |
$::form->format_amount(\%::myconfig,abs($self->amount),2) |
127 | 127 |
) { |
128 | 128 |
$agreement += $points{exact_open_amount}; |
Auch abrufbar als: Unified diff
BT: Punkte. Copy & Paste Fehler von a695c behoben
open_amount mit open_amount vergleichen