Revision 6e8a3dd6
Von G. Richardson vor mehr als 12 Jahren hinzugefügt
SL/SEPA.pm | ||
---|---|---|
403 | 403 |
# Update the invoice to reflect the new paid amount. |
404 | 404 |
do_statement($form, @{ $handles{update_arap} }, $orig_item->{amount}, $orig_item->{"${arap}_id"}); |
405 | 405 |
|
406 |
# Update datepaid of invoice. set_datepaid (which has some extra logic) |
|
407 |
# finds the date from acc_trans, where the payment has already been |
|
408 |
# recorded above, so we don't need to explicitly pass |
|
409 |
# $item->{execution_date} |
|
410 |
IO->set_datepaid(table => "$arap", id => $orig_item->{"${arap}_id"}, dbh => $dbh); |
|
411 |
|
|
406 | 412 |
# Update the item to reflect that it has been posted. |
407 | 413 |
do_statement($form, @{ $handles{finish_item} }, $item->{execution_date}, $item_id); |
408 | 414 |
|
Auch abrufbar als: Unified diff
Ticket 1925 - Bei SEPA-Einzug datepaid setzen
Code angepasst, so daß beim Buchen datepaid gesetzt wird.
Aber keine Datenkorrektur für alte Buchungen durchgeführt.