dev #61

Merged
flfeders merged 31 commits from dev into main 2026-01-15 11:29:15 +00:00
Showing only changes of commit 90788f22da - Show all commits

View File

@@ -42,9 +42,7 @@ const setupPage = async () => {
}) })
draftInvoicesCount.value = draftDocuments.length draftInvoicesCount.value = draftDocuments.length
countPreparedOpenIncomingInvoices.value = (await useEntities("incominginvoices").select("id, state")).filter(i => i.state === "Vorbereitet").length countPreparedOpenIncomingInvoices.value = (await useEntities("incominginvoices").select("id, state")).filter(i => i.state === "Vorbereitet" && !i.archived).length
} }
setupPage() setupPage()
@@ -78,10 +76,10 @@ setupPage()
<td v-else class="text-primary-500 font-bold text-no-wrap">0 Stk / 0,00</td> <td v-else class="text-primary-500 font-bold text-no-wrap">0 Stk / 0,00</td>
</tr> </tr>
<tr> <tr>
<td class="break-all">ToDo Eingangsrechnungsrechnungen:</td> <td class="break-all">Vorbereitete Eingangsrechnungen:</td>
<td <td
v-if="countPreparedOpenIncomingInvoices > 0" v-if="countPreparedOpenIncomingInvoices > 0"
class="text-orange-500 font-bold text-nowrap" class="text-orange-500 font-bold text-wrap"
>{{countPreparedOpenIncomingInvoices}} Stk </td> >{{countPreparedOpenIncomingInvoices}} Stk </td>
<td v-else class="text-primary-500 font-bold text-no-wrap">0 Stk</td> <td v-else class="text-primary-500 font-bold text-no-wrap">0 Stk</td>
</tr> </tr>