interface for order_to_inventory

This commit is contained in:
Ludovic Stephan 2017-02-12 18:04:50 -02:00
parent db899a891b
commit 3dfd8bf616
2 changed files with 21 additions and 11 deletions

View file

@ -7,24 +7,27 @@
{% include 'kfet/base_messages.html' %}
<div class="content-right-block">
<div>
<form action="" method="post">
{% csrf_token %}
<table>
<table class='table table-condensed text-center'>
<thead>
<tr>
<td>Article</td>
<td>HT</td>
<td style="width:25%">Article</td>
<td>Prix HT</td>
<td>TVA</td>
<td>Droits</td>
<td>Com.</td>
<td>Commandé</td>
<td>Reçu</td>
</tr>
</thead>
<tbody>
{% for form in formset %}
{% ifchanged form.category %}
<tr>
<td colspan="6">{{ form.category_name }}</td>
<tr class='section'>
<td>{{ form.category_name }}</td>
<td colspan="5"></td>
</tr>
{% endifchanged %}
<tr>
@ -42,7 +45,9 @@
<input type="password" name="KFETPASSWORD">
{% endif %}
{{ formset.management_form }}
<input type="submit" value="Enregistrer">
<input type="submit" class="btn btn-primary btn-lg btn-block" value="Enregistrer">
</form>
</div>
</div>
{% endblock %}