Cahngees in Cards

This commit is contained in:
2025-01-20 11:00:52 +01:00
parent 94d61a6d52
commit e655d9cecd
2 changed files with 3 additions and 2 deletions

View File

@@ -77,6 +77,7 @@ const setup = async () => {
amount = Number(amount.toFixed(2))
console.log(amount)
return {
id: i.id,
date: dayjs(i.documentDate).format("DD-MM-YY"),

View File

@@ -61,7 +61,7 @@ const calculateOpenSum = (statement) => {
<template>
<table>
<tr>
<td>Offene Ausgangsbelege:</td>
<td>Offene Rechnungen:</td>
<td
v-if="unpaidInvoicesSum > 0"
class="text-rose-600 font-bold text-nowrap"
@@ -69,7 +69,7 @@ const calculateOpenSum = (statement) => {
<td v-else class="text-primary-500 font-bold text-no-wrap">0 Stk / 0,00</td>
</tr>
<tr>
<td>Angelegte Entwürfe:</td>
<td>Angelegte Rechnungsentwürfe:</td>
<td
v-if="draftInvoicesSum > 0"
class="text-rose-600 font-bold text-nowrap"