diff options
| author | Marius Peter <marius.peter@tutanota.com> | 2022-07-03 20:23:22 +0200 | 
|---|---|---|
| committer | Marius Peter <marius.peter@tutanota.com> | 2022-07-03 20:23:22 +0200 | 
| commit | b4dc6ca4cfb4b72d9a765ad2724509a2fd05f857 (patch) | |
| tree | 93502ea84828887738c5f7e45ff52a51bdf37ba0 /app/templates/modules/invoices.html | |
| parent | eba4c1a3113d24319bccc5c52d4d93838334bd31 (diff) | |
Templates.
Diffstat (limited to 'app/templates/modules/invoices.html')
| -rw-r--r-- | app/templates/modules/invoices.html | 9 | 
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> | 
