Changes
This commit is contained in:
@@ -684,6 +684,7 @@ setupPage()
|
||||
/>
|
||||
</UFormGroup>
|
||||
|
||||
|
||||
<InputGroup class="w-full">
|
||||
<UFormGroup
|
||||
label="Datum:"
|
||||
@@ -923,7 +924,8 @@ setupPage()
|
||||
:search-attributes="['name']"
|
||||
v-model="row.product"
|
||||
@change="row.unit = dataStore.getProductById(row.product).unit,
|
||||
row.price = dataStore.getProductById(row.product).sellingPrice || 0"
|
||||
row.price = dataStore.getProductById(row.product).sellingPrice || 0,
|
||||
row.description = dataStore.getProductById(row.product).description"
|
||||
>
|
||||
<template #label>
|
||||
<span class="truncate">{{dataStore.getProductById(row.product) ?dataStore.getProductById(row.product).name : "Kein Produkt ausgewählt" }}</span>
|
||||
|
||||
@@ -106,8 +106,9 @@
|
||||
<span :class="dayjs(row.dueDate).diff(dayjs()) <= 0 ? ['text-rose-500'] : '' ">{{row.dueDate ? dayjs(row.dueDate).format("DD.MM.YY") : ''}}</span>
|
||||
</template>
|
||||
<template #paid-data="{row}">
|
||||
<span v-if="row.paid" class="text-primary-500">Bezahlt</span>
|
||||
<span v-if="!row.paid" :class="dayjs(row.dueDate).diff(dayjs()) <= 0 ? ['text-rose-500'] : ['text-cyan-500'] ">Offen</span>
|
||||
<span v-if="dataStore.bankstatements.find(x => x.assignments.find(y => y.id === row.id))" class="text-primary-500">Bezahlt</span>
|
||||
<span v-else :class="dayjs(row.dueDate).diff(dayjs()) <= 0 ? ['text-rose-500'] : ['text-cyan-500'] ">Offen</span>
|
||||
<!-- {{dataStore.bankstatements.find(x => x.assignments.find(y => y.id === row.id)) ? true : false}}-->
|
||||
</template>
|
||||
<template #amount-data="{row}">
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user