diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 08c0c3b..9ae2ae1 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -216,7 +216,7 @@ export class QuotationController extends Controller { }, }, ]), - isDebitNote: hasCancel && cancelIncludeDebitNote ? true : false, + isDebitNote: hasCancel && cancelIncludeDebitNote ? undefined : false, code, payCondition, registeredBranch: isSystem(req.user) ? undefined : { OR: permissionCond(req.user) },