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'}}
</template>
</USelectMenu>
<EntityModalButtons
type="vendors"
:id="itemInfo.vendor"
@return-data="(data) => itemInfo.vendor = data.id"
/>
<UButton
@click="router.push('/standardEntity/vendors/create')"
>
+ Lieferant
</UButton>
icon="i-heroicons-x-mark"
variant="outline"
color="rose"
@click="itemInfo.vendor = null"
/>
</InputGroup>