Show invoice buttons depending of payment status. Fixes #54

This commit is contained in:
2025-11-14 11:55:41 +01:00
parent 9a84d36d68
commit 5cb0f97f8b
8 changed files with 356 additions and 241 deletions
@@ -120,7 +120,7 @@ const calcTaxes = (amount: number) => {
</TableRow>
</TableHeader>
<TableBody class="overflow-clip rounded-lg">
<TableBody class="overflow-clip rounded-lg shadow">
<TableRow v-for="invoice in invoices" :key="invoice.nr" @click="onItemClicked(invoice)"
class="select-none md:select-auto cursor-default bg-background"
:class="statusTextStyle(invoice.paymentStatus)">
@@ -217,8 +217,8 @@ const calcTaxes = (amount: number) => {
}
.document-table td {
padding-top: 1em !important;
padding-bottom: 1em !important;
padding-top: 1.125em !important;
padding-bottom: 1.125em !important;
}
.document-table tfoot tr:first-child td {