feat: add cancelIncludeDebitNote parameter to quotation model and store
This commit is contained in:
parent
b36caa48e2
commit
7e38c18352
2 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ const quotationId = defineModel<string>('quotationId', {
|
|||
v-model:value="quotationId"
|
||||
:label="$t('general.select', { msg: $t('quotation.title') })"
|
||||
:params="{
|
||||
cancelIncludeDebitNote: true,
|
||||
hasCancel: true,
|
||||
}"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ export const useQuotationStore = defineStore('quotation-store', () => {
|
|||
hasCancel?: boolean;
|
||||
includeRegisteredBranch?: boolean;
|
||||
forDebitNote?: boolean;
|
||||
cancelIncludeDebitNote?: boolean;
|
||||
}) {
|
||||
const res = await api.get<PaginationResult<Quotation>>('/quotation', {
|
||||
params,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue