fix: inheritWarehouse

This commit is contained in:
Javi Gallego 2024-10-03 08:29:26 +02:00
parent ea7c799909
commit b08a5e63e9
1 changed files with 2 additions and 2 deletions

View File

@ -24,9 +24,9 @@ const { notify } = useNotify();
const rectificativeTypeOptions = ref([]); const rectificativeTypeOptions = ref([]);
const siiTypeInvoiceOutsOptions = ref([]); const siiTypeInvoiceOutsOptions = ref([]);
const inheritWarehouse = ref(true);
const invoiceParams = reactive({ const invoiceParams = reactive({
id: $props.invoiceOutData?.id, id: $props.invoiceOutData?.id,
inheritWarehouse: true,
}); });
const invoiceCorrectionTypesOptions = ref([]); const invoiceCorrectionTypesOptions = ref([]);
@ -138,7 +138,7 @@ const refund = async () => {
<div> <div>
<QCheckbox <QCheckbox
:label="t('Inherit warehouse')" :label="t('Inherit warehouse')"
v-model="inheritWarehouse" v-model="invoiceParams.inheritWarehouse"
/> />
<QIcon name="info" class="cursor-info q-ml-sm" size="sm"> <QIcon name="info" class="cursor-info q-ml-sm" size="sm">
<QTooltip>{{ t('Inherit warehouse tooltip') }}</QTooltip> <QTooltip>{{ t('Inherit warehouse tooltip') }}</QTooltip>