fix: filter not work
This commit is contained in:
parent
9fd2064a71
commit
5fe6ce1d5c
1 changed files with 8 additions and 1 deletions
|
|
@ -107,7 +107,14 @@ export class InvoiceController extends Controller {
|
|||
},
|
||||
},
|
||||
],
|
||||
payment: pay === undefined ? undefined : pay ? { isNot: null } : null,
|
||||
payment:
|
||||
pay !== undefined
|
||||
? {
|
||||
paymentStatus: pay
|
||||
? PaymentStatus.PaymentSuccess
|
||||
: { not: PaymentStatus.PaymentSuccess },
|
||||
}
|
||||
: undefined,
|
||||
quotationId,
|
||||
quotation: {
|
||||
registeredBranch: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue