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

View File

@@ -0,0 +1,26 @@
{% extends "base.html" %}
{% block body_class %}page-bg bg-history{% endblock %}
{% block content %}
<h3>Расходные материалы{% if filter_type %}: {{ 'Приход' if filter_type == 'ADD' else 'В разработке' }}{% endif %}</h3>
{% if filter_type != 'ADD' %}
<div class="alert alert-secondary">Раздел в разработке.</div>
{% else %}
<table class="table table-bordered 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>
{% endif %}
{% endblock %}