fix: transaction history
This commit is contained in:
parent
2dd659ca8e
commit
de7f9c059b
|
@ -910,7 +910,7 @@ export class TransactionService {
|
||||||
.addSelect('product.id', 'product_id');
|
.addSelect('product.id', 'product_id');
|
||||||
|
|
||||||
if (startDate && endDate) {
|
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),
|
startDate: new Date(startDate),
|
||||||
enDate: new Date(endDate),
|
enDate: new Date(endDate),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user