forked from DGNum/gestioCOF
65 lines
1.9 KiB
HTML
65 lines
1.9 KiB
HTML
{% extends 'kfet/base.html' %}
|
|
|
|
{% block title %}Inventaires{% endblock %}
|
|
{% block content-header-title %}Inventaires{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
<div class="col-sm-4 col-md-3 col-content-left">
|
|
<div class="content-left">
|
|
<div class="content-left-top">
|
|
</div>
|
|
<div class="buttons">
|
|
<a href="{% url 'kfet.inventory.create' %}" class="btn btn-primary btn-lg">
|
|
Nouveau
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-8 col-md-9 col-content-right">
|
|
{% include 'kfet/base_messages.html' %}
|
|
<div class="content-right">
|
|
<div class="content-right-block">
|
|
<h2>Liste des inventaires</h2>
|
|
<div class="table-responsive">
|
|
<table class="table table-condensed">
|
|
<thead class="thead-default">
|
|
<tr>
|
|
<td></td>
|
|
<td>Date</td>
|
|
<td>Par</td>
|
|
<td>Nb articles</td>
|
|
<td>Commande</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for inventory in inventories %}
|
|
<tr>
|
|
<td class="text-center">
|
|
<a href="{% url 'kfet.inventory.read' inventory.pk %}">
|
|
<span class="glyphicon glyphicon-cog"></span>
|
|
</a>
|
|
</td>
|
|
<td>{{ inventory.at }}</td>
|
|
<td>{{ inventory.by.trigramme }}</td>
|
|
<td>{{ inventory.nb_articles }}</td>
|
|
<td>
|
|
{% if inventory.order %}
|
|
<a href="{% url 'kfet.order.read' inventory.order.pk %}">
|
|
#{{ inventory.order.pk }}
|
|
</a>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|