some update

This commit is contained in:
2026-05-30 19:05:56 +03:30
parent 7ae027633b
commit c11166b365
6 changed files with 49 additions and 39 deletions
@@ -163,10 +163,8 @@ export class SalesInvoicesService {
},
}
if (query.code?.trim()) {
where.code = {
contains: query.code.trim(),
}
if (query.invoice_number) {
where.invoice_number = parseInt(query.invoice_number + '')
}
if (query.invoice_date_from || query.invoice_date_to) {