Initial commit

This commit is contained in:
2026-02-23 20:59:05 +03:00
commit 8eb0356823
171 changed files with 67352 additions and 0 deletions

38
templates/history.html Normal file
View File

@@ -0,0 +1,38 @@
{% extends "base.html" %}
{% block body_class %}page-bg bg-history{% endblock %}
{% block content %}
<h3>История{% if filter_label %}: {{ filter_label }}{% endif %}</h3>
<table class="table table-bordered table-sm">
<tr>
<th>Дата</th>
<th>Тип</th>
<th>Штрихкод</th>
<th>Кол-во</th>
{% if filter_type not in ['ADD', 'ORDER'] %}
<th>Кабинет</th>
{% endif %}
</tr>
{% for r in rows %}
<tr>
<td>{{ r[0] }}</td>
<td>
{% if r[1] == 'ORDER' %}
Заказан
{% elif r[1] == 'ADD' %}
Приход
{% elif r[1] == 'ISSUE' %}
Выдан
{% else %}
{{ r[1] }}
{% endif %}
</td>
<td>{{ r[2] }}</td>
<td>{{ r[3] }}</td>
{% if filter_type not in ['ADD', 'ORDER'] %}
<td>{{ r[4] }}</td>
{% endif %}
</tr>
{% endfor %}
</table>
{% endblock %}