fix: wrong coniditon
This commit is contained in:
parent
473a13e5dc
commit
e1c2768167
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ export class QuotationController extends Controller {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
]),
|
]),
|
||||||
isDebitNote: hasCancel && cancelIncludeDebitNote ? true : false,
|
isDebitNote: hasCancel && cancelIncludeDebitNote ? undefined : false,
|
||||||
code,
|
code,
|
||||||
payCondition,
|
payCondition,
|
||||||
registeredBranch: isSystem(req.user) ? undefined : { OR: permissionCond(req.user) },
|
registeredBranch: isSystem(req.user) ? undefined : { OR: permissionCond(req.user) },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue