0
0
Fork 0

fix: hotfix refund invoice

This commit is contained in:
Javi Gallego 2024-10-03 08:31:13 +02:00
parent 58a94599a9
commit df64814c57
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>