summaryrefslogtreecommitdiff
path: root/app/templates/modules/invoices.html
diff options
context:
space:
mode:
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