Skip to content

Commit

Permalink
Re-add explicit setting of payment_date when posting bulk payments
Browse files Browse the repository at this point in the history
Explicitly set payment_date argument when calling `payment_post_bulk` sql
function in LedgerSMB::DBObject::Payment::post_bulk, so that `transdate`
field is set for `acc_trans` table.
  • Loading branch information
nick-prater committed Mar 1, 2020
1 parent 44123bc commit 9fbb841
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions old/lib/LedgerSMB/DBObject/Payment.pm
Expand Up @@ -748,6 +748,7 @@ sub post_bulk {
args => {
transactions => $invoice_array,
source => $contact->{source},
payment_date => $self->{datepaid},
}
);
}
Expand Down

0 comments on commit 9fbb841

Please sign in to comment.