diff --git a/src/components/11_credit-note/FormCredit.vue b/src/components/11_credit-note/FormCredit.vue index f104e91c..b6e2bf1f 100644 --- a/src/components/11_credit-note/FormCredit.vue +++ b/src/components/11_credit-note/FormCredit.vue @@ -34,6 +34,7 @@ const quotationId = defineModel('quotationId', { v-model:value="quotationId" :label="$t('general.select', { msg: $t('quotation.title') })" :params="{ + cancelIncludeDebitNote: true, hasCancel: true, }" /> diff --git a/src/stores/quotations/index.ts b/src/stores/quotations/index.ts index 4331ba2c..ad203cee 100644 --- a/src/stores/quotations/index.ts +++ b/src/stores/quotations/index.ts @@ -72,6 +72,7 @@ export const useQuotationStore = defineStore('quotation-store', () => { hasCancel?: boolean; includeRegisteredBranch?: boolean; forDebitNote?: boolean; + cancelIncludeDebitNote?: boolean; }) { const res = await api.get>('/quotation', { params,