up
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
2026-06-26 12:24:21 +03:30
parent 841406ad84
commit 6d16a7dde5
8 changed files with 55 additions and 22 deletions
@@ -26,7 +26,8 @@ export class InvoiceRepository extends EntityRepository<Invoice> {
from,
to,
enableTax,
requestId
requestId,
confirmStatus,
} = opts;
const offset = (page - 1) * limit;
@@ -45,6 +46,10 @@ export class InvoiceRepository extends EntityRepository<Invoice> {
where.enableTax = enableTax;
}
if (confirmStatus) {
where.confirmStatus = confirmStatus;
}
if (from || to) {
where.createdAt = {};
if (from) {