kpsul/kfet/templates/kfet/order_to_inventory.html

49 lines
1.1 KiB
HTML
Raw Normal View History

{% extends 'kfet/base.html' %}
{% block title %}{% endblock %}
{% block content-header-title %}{% endblock %}
{% block content %}
{% include 'kfet/base_messages.html' %}
<form action="" method="post">
{% csrf_token %}
<table>
<thead>
<tr>
<td>Article</td>
<td>HT</td>
<td>TVA</td>
<td>Droits</td>
<td>Com.</td>
<td>Reçu</td>
</tr>
</thead>
<tbody>
{% for form in formset %}
{% ifchanged form.category %}
<tr>
<td colspan="6">{{ form.category_name }}</td>
</tr>
{% endifchanged %}
<tr>
{{ form.article }}
<td>{{ form.name }}</td>
<td>{{ form.price_HT }}</td>
<td>{{ form.TVA }}</td>
<td>{{ form.rights }}</td>
<td>{{ form.quantity_ordered }}</td>
<td>{{ form.quantity_received }}</td>
{% endfor %}
</tbody>
</table>
{% if not perms.kfet.order_to_inventory %}
<input type="password" name="KFETPASSWORD">
{% endif %}
{{ formset.management_form }}
<input type="submit" value="Enregistrer">
</form>
{% endblock %}