Add invoice ID to prepaid page

This commit is contained in:
2024-01-24 13:58:52 +01:00
parent 7044a41e50
commit 12e80ec4f4

View File

@@ -152,6 +152,7 @@ onMount(() => {
<table style="text-align: left;"> <table style="text-align: left;">
<thead> <thead>
<tr> <tr>
<td>ID</td>
<td>Created</td> <td>Created</td>
<td>Amount</td> <td>Amount</td>
<td>VAT</td> <td>VAT</td>
@@ -164,6 +165,7 @@ onMount(() => {
<tbody> <tbody>
{#each invoices as row (row.id)} {#each invoices as row (row.id)}
<tr> <tr>
<td>{row.id}</td>
<td>{formatDate(row.time, true, true, false)}</td> <td>{formatDate(row.time, true, true, false)}</td>
<td><Euro amount={row.amount}/></td> <td><Euro amount={row.amount}/></td>
<td><Euro amount={row.vat}/></td> <td><Euro amount={row.vat}/></td>