This commit is contained in:
Fadli 2023-01-11 15:32:59 +07:00
commit 7fb930e9f4

View File

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