mirror of
https://github.com/frappe/books.git
synced 2026-09-24 07:15:17 -05:00
fix: async issue, transactional deletion cascade
- add db observers
This commit is contained in:
@@ -41,6 +41,7 @@ export class BespokeQueries {
|
||||
.sum({ total: 'baseGrandTotal' })
|
||||
.sum({ outstanding: 'outstandingAmount' })
|
||||
.where('submitted', true)
|
||||
.where('cancelled', false)
|
||||
.whereBetween('date', [fromDate, toDate])
|
||||
.first();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user