fix: transaction history
This commit is contained in:
@@ -910,7 +910,7 @@ export class TransactionService {
|
||||
.addSelect('product.id', 'product_id');
|
||||
|
||||
if (startDate && endDate) {
|
||||
baseQuery.where('transaction.created_at between :startDate and :enDate', {
|
||||
baseQuery.andWhere('transaction.created_at between :startDate and :enDate', {
|
||||
startDate: new Date(startDate),
|
||||
enDate: new Date(endDate),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user