Added Remove Vendor

This commit is contained in:
2025-06-30 14:11:20 +02:00
parent ff6ee91075
commit f77ffeaf4c

View File

@@ -246,11 +246,17 @@ const findIncomingInvoiceErrors = computed(() => {
{{dataStore.vendors.find(vendor => vendor.id === itemInfo.vendor) ? dataStore.vendors.find(vendor => vendor.id === itemInfo.vendor).name : 'Lieferant auswählen'}} {{dataStore.vendors.find(vendor => vendor.id === itemInfo.vendor) ? dataStore.vendors.find(vendor => vendor.id === itemInfo.vendor).name : 'Lieferant auswählen'}}
</template> </template>
</USelectMenu> </USelectMenu>
<EntityModalButtons
type="vendors"
:id="itemInfo.vendor"
@return-data="(data) => itemInfo.vendor = data.id"
/>
<UButton <UButton
@click="router.push('/standardEntity/vendors/create')" icon="i-heroicons-x-mark"
> variant="outline"
+ Lieferant color="rose"
</UButton> @click="itemInfo.vendor = null"
/>
</InputGroup> </InputGroup>