- fix export data excel transaction

This commit is contained in:
Fadli 2023-01-11 15:31:26 +07:00
parent ee0e4c4947
commit cc7bc3fc6b

View File

@ -2215,8 +2215,8 @@ export class TransactionService {
baseQuery.andWhere( baseQuery.andWhere(
'transaction.created_at between :startDate and :enDate', 'transaction.created_at between :startDate and :enDate',
{ {
startDate: `${startDate} 00:00:00`, startDate: new Date (`${startDate} 00:00:00`),
enDate: `${startDate} 23:59:59`, enDate: new Date (`${startDate} 23:59:59`),
}, },
); );
} }