36 lines
948 B
HTML
36 lines
948 B
HTML
{% extends "base.html" %}
|
||
{% block body_class %}page-bg bg-history{% endblock %}
|
||
{% block content %}
|
||
<h3>Движение техники</h3>
|
||
|
||
<form method="get" class="row g-2 mb-3">
|
||
<div class="col-md-4">
|
||
<input name="inventory_number" class="form-control" placeholder="Инвентарный номер" value="{{ inventory_number or '' }}">
|
||
</div>
|
||
<div class="col-md-2 d-grid">
|
||
<button class="btn btn-primary">Поиск</button>
|
||
</div>
|
||
</form>
|
||
|
||
<table class="table table-bordered table-sm">
|
||
<tr>
|
||
<th>Дата</th>
|
||
<th>Инв. номер</th>
|
||
<th>Тип</th>
|
||
<th>Из</th>
|
||
<th>В</th>
|
||
<th>Примечание</th>
|
||
</tr>
|
||
{% for dt, inv, etype, from_cab, to_cab, note in rows %}
|
||
<tr>
|
||
<td>{{ dt }}</td>
|
||
<td>{{ inv }}</td>
|
||
<td>{{ etype }}</td>
|
||
<td>{{ from_cab or '' }}</td>
|
||
<td>{{ to_cab or '' }}</td>
|
||
<td>{{ note or '' }}</td>
|
||
</tr>
|
||
{% endfor %}
|
||
</table>
|
||
{% endblock %}
|