summaryrefslogtreecommitdiff
path: root/app/templates/modules/invoices.html
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2022-07-03 20:23:22 +0200
committerMarius Peter <marius.peter@tutanota.com>2022-07-03 20:23:22 +0200
commitb4dc6ca4cfb4b72d9a765ad2724509a2fd05f857 (patch)
tree93502ea84828887738c5f7e45ff52a51bdf37ba0 /app/templates/modules/invoices.html
parenteba4c1a3113d24319bccc5c52d4d93838334bd31 (diff)
Templates.
Diffstat (limited to 'app/templates/modules/invoices.html')
-rw-r--r--app/templates/modules/invoices.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/templates/modules/invoices.html b/app/templates/modules/invoices.html
index 293a45b..9e8f765 100644
--- a/app/templates/modules/invoices.html
+++ b/app/templates/modules/invoices.html
@@ -39,7 +39,7 @@ Invoices
<table>
<thead>
<tr>
- <th><i>Actions</i></th>
+ <th></th>
<th>ID</th>
<th>Created</th>
<th>Alternative Invoice ID</th>
@@ -54,13 +54,10 @@ Invoices
</thead>
<tbody>
{% for invoice in invoices.items %}
- <tr>
+ <tr {% if invoice.archive == True %} style="color: dimgray" {% endif %}>
<td>
- <form method="post" action="{{ url_for('common.delete_item', module='invoices', pk=invoice.primary_key, table='Invoice') }}">
- <button>delete</button>
- </form>
<form method="post" action="{{ url_for('common.edit_item', module='invoices', pk=invoice.primary_key, table='Invoice') }}">
- <button>edit</button>
+ <button>archive</button>
</form>
<form method="get" action="{{ url_for('invoices.preview', pk=invoice.primary_key) }}">
<button>preview</button>
Copyright 2019--2024 Marius PETER