mirror of
https://github.com/frappe/books.git
synced 2026-09-28 01:46:20 -04:00
Merge pull request #261 from piyushsinghania/fix/payment-entries-not-getting-posted
Fixed payment entries not getting posted in general ledger
This commit is contained in:
@@ -132,6 +132,11 @@ export default class PaymentServer extends BaseDocument {
|
||||
}
|
||||
}
|
||||
|
||||
async afterSubmit() {
|
||||
const entries = await this.getPosting();
|
||||
await entries.post();
|
||||
}
|
||||
|
||||
async afterRevert() {
|
||||
this.updateReferenceOutstandingAmount();
|
||||
const entries = await this.getPosting();
|
||||
|
||||
Reference in New Issue
Block a user