diff --git a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue index 362ede4be..2070ef09c 100644 --- a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue +++ b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue @@ -22,7 +22,6 @@ const { makeInvoice, setStatusValue } = invoiceOutGlobalStore; const clientsToInvoice = ref('all'); const companiesOptions = ref([]); const printersOptions = ref([]); -const clientsOptions = ref([]); const serialTypesOptions = ref([]); const handleInvoiceOutSerialsFetch = (data) => { @@ -37,7 +36,6 @@ const optionsInitialData = computed(() => { const optionsArrays = [ companiesOptions.value, printersOptions.value, - clientsOptions.value, serialTypesOptions.value, ]; return optionsArrays.every((arr) => arr.length > 0); @@ -65,7 +63,6 @@ onMounted(async () => { auto-load /> - { v-if="clientsToInvoice === 'one'" :label="t('client')" v-model="formData.clientId" - :options="clientsOptions" + url="Clients" option-value="id" option-label="name" hide-selected