Initial commit
This commit is contained in:
20
source/templates/orders.html
Normal file
20
source/templates/orders.html
Normal file
@@ -0,0 +1,20 @@
|
||||
{% extends "base.html" %}
|
||||
{% block body_class %}page-bg bg-orders{% endblock %}
|
||||
{% block content %}
|
||||
<div class="d-flex align-items-center justify-content-between mb-3">
|
||||
<h3 class="mb-0">Заказанные картриджи</h3>
|
||||
<a class="btn btn-success" href="/report/orders.xlsx">Экспорт в Excel</a>
|
||||
</div>
|
||||
|
||||
<table class="table table-striped table-sm">
|
||||
<tr><th>Дата</th><th>Штрихкод</th><th>Модель</th><th>Количество</th></tr>
|
||||
{% for dt, barcode, model, qty in rows %}
|
||||
<tr>
|
||||
<td>{{ dt }}</td>
|
||||
<td>{{ barcode }}</td>
|
||||
<td>{{ model }}</td>
|
||||
<td>{{ qty }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user