mirror of
https://github.com/frappe/books.git
synced 2026-08-24 10:04:45 -05:00
feat: multiple payment methods in pos
This commit is contained in:
@@ -402,10 +402,7 @@ export class BespokeQueries {
|
||||
const sinvNamesQuery = db.knex!(ModelNameEnum.SalesInvoice)
|
||||
.select('name')
|
||||
.where('isPOS', true)
|
||||
.andWhereBetween('date', [
|
||||
DateTime.fromJSDate(fromDate).toSQLDate(),
|
||||
DateTime.fromJSDate(toDate).toSQLDate(),
|
||||
]);
|
||||
.andWhereBetween('date', [fromDate.toISOString(), toDate.toISOString()]);
|
||||
|
||||
if (lastShiftClosingDate) {
|
||||
sinvNamesQuery.andWhere(
|
||||
|
||||
Reference in New Issue
Block a user