Release 1.0.0
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Buyers Editor</title>
|
||||
<style>
|
||||
table { border-collapse: collapse; }
|
||||
th, td { padding: 6px 10px; border: 1px solid #ccc; }
|
||||
input { width: 100%; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h2>Buyers Incomplete</h2> <br/>
|
||||
The below list shows buyer-data found incomplete and cannot be sent to the tax-office.<br/>
|
||||
Add or correct the data and press save.<br/>
|
||||
If data is found good enough, it will disappear from this list and upon the NEXT interface-run evaluated again.<br/>
|
||||
This form will NOT show buyer data that has been rejected by the tax office<br/><br/><br/>
|
||||
|
||||
|
||||
<form method="post">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
{% for col in header %}
|
||||
<th>{{ col }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for row in rows %}
|
||||
<tr>
|
||||
{% for cell in row[:-editable_cols] %}
|
||||
<td>{{ cell }}</td>
|
||||
{% endfor %}
|
||||
|
||||
{% for i in range(editable_cols) %}
|
||||
<td>
|
||||
<input
|
||||
type="text"
|
||||
name="row_{{ rows.index(row) }}_col_{{ i }}"
|
||||
value="{{ row[-editable_cols + i] }}"
|
||||
>
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<button type="submit">Save</button>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user