This commit is contained in:
2024-03-04 22:19:37 +01:00
parent 8f444bd917
commit fb8041c32e

View File

@@ -634,6 +634,7 @@ setupPage()
variant="outline" variant="outline"
v-if="itemInfo.project" v-if="itemInfo.project"
icon="i-heroicons-arrow-right-end-on-rectangle" icon="i-heroicons-arrow-right-end-on-rectangle"
@click="router.push(`/projects/show/${itemInfo.project}`)"
>Projekt</UButton> >Projekt</UButton>
</InputGroup> </InputGroup>
@@ -764,7 +765,7 @@ setupPage()
row.price = dataStore.getProductById(row.product).sellingPrice || 0" row.price = dataStore.getProductById(row.product).sellingPrice || 0"
> >
<template #label> <template #label>
{{dataStore.getProductById(row.product) ?dataStore.getProductById(row.product).name : "Kein Produkt ausgewählt" }} <span class="truncate">{{dataStore.getProductById(row.product) ?dataStore.getProductById(row.product).name : "Kein Produkt ausgewählt" }}</span>
</template> </template>
</USelectMenu> </USelectMenu>
</td> </td>
@@ -867,9 +868,9 @@ setupPage()
> >
<UButton <UButton
icon="i-heroicons-document-text" icon="i-heroicons-document-text"
@click="showEditRowDescription = true" @click="row.showEdit = true"
/> />
<UModal v-model="showEditRowDescription"> <UModal v-model="row.showEdit">
<UCard> <UCard>
<template #header> <template #header>
Beschreibung bearbeiten Beschreibung bearbeiten
@@ -882,7 +883,7 @@ setupPage()
</UTextarea> </UTextarea>
<template #footer> <template #footer>
<UButton <UButton
@click="showEditRowDescription = false" @click="row.showEdit = false"
> >
Speichern Speichern
</UButton> </UButton>