From 641a25097d874069ece59949e24e32ede213b0fb Mon Sep 17 00:00:00 2001 From: jgallego Date: Thu, 3 Oct 2024 08:30:19 +0200 Subject: [PATCH 1/2] fix: refundInvoice --- src/components/RefundInvoiceForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/RefundInvoiceForm.vue b/src/components/RefundInvoiceForm.vue index c21c892dd..9d9f0cff1 100644 --- a/src/components/RefundInvoiceForm.vue +++ b/src/components/RefundInvoiceForm.vue @@ -24,9 +24,9 @@ const { notify } = useNotify(); const rectificativeTypeOptions = ref([]); const siiTypeInvoiceOutsOptions = ref([]); -const inheritWarehouse = ref(true); const invoiceParams = reactive({ id: $props.invoiceOutData?.id, + inheritWarehouse: true, }); const invoiceCorrectionTypesOptions = ref([]); @@ -138,7 +138,7 @@ const refund = async () => {
{{ t('Inherit warehouse tooltip') }} From 34a40dd87c9c24d71f90e94d892678fca5fe4259 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 7 Oct 2024 08:24:53 +0200 Subject: [PATCH 2/2] fix(VnPaginate): use default value --- src/components/ui/VnPaginate.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/VnPaginate.vue b/src/components/ui/VnPaginate.vue index c6f57b479..80c607214 100644 --- a/src/components/ui/VnPaginate.vue +++ b/src/components/ui/VnPaginate.vue @@ -56,7 +56,7 @@ const props = defineProps({ }, offset: { type: Number, - default: 0, + default: undefined, }, skeleton: { type: Boolean,