forked from DGNum/gestioCOF
Merge branch 'k-fet' into qwann/k-fet/home
This commit is contained in:
commit
5ddcd2f1ff
4 changed files with 81 additions and 24 deletions
|
@ -5,19 +5,31 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<div class="content-center">
|
||||
<div>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
<table class="table text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<td rowspan="2">Article</td>
|
||||
<td colspan="5">Ventes</td>
|
||||
<td rowspan="2">V. moy.</td>
|
||||
<td rowspan="2">E.T.</td>
|
||||
<td rowspan="2">Prév.</td>
|
||||
<td colspan="5">Ventes
|
||||
<span class='glyphicon glyphicon-question-sign' title="Ventes des 5 dernières semaines" data-placement="bottom"></span>
|
||||
</td>
|
||||
<td rowspan="2">V. moy.
|
||||
<span class='glyphicon glyphicon-question-sign' title="Moyenne des ventes" data-placement="bottom"></span>
|
||||
</td>
|
||||
<td rowspan="2">E.T.
|
||||
<span class='glyphicon glyphicon-question-sign' title="Écart-type des ventes" data-placement="bottom"></span>
|
||||
</td>
|
||||
<td rowspan="2">Prév.
|
||||
<span class='glyphicon glyphicon-question-sign' title="Prévision de ventes" data-placement="bottom"></span>
|
||||
</td>
|
||||
<td rowspan="2">Stock</td>
|
||||
<td rowspan="2">Rec.</td>
|
||||
<td rowspan="2">Com.</td>
|
||||
<td rowspan="2">Rec.
|
||||
<span class='glyphicon glyphicon-question-sign' title="Quantité conseillée" data-placement="bottom"></span>
|
||||
</td>
|
||||
<td rowspan="2">Commande</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>S1</td>
|
||||
|
@ -30,8 +42,9 @@
|
|||
<tbody>
|
||||
{% for form in formset %}
|
||||
{% ifchanged form.category %}
|
||||
<tr>
|
||||
<td colspan="11">{{ form.category_name }}</td>
|
||||
<tr class='section'>
|
||||
<td> {{ form.category_name }}</td>
|
||||
<td colspan="11"></td>
|
||||
</tr>
|
||||
{% endifchanged %}
|
||||
<tr>
|
||||
|
@ -56,7 +69,15 @@
|
|||
<input type="password" name="KFETPASSWORD">
|
||||
{% endif %}
|
||||
{{ formset.management_form }}
|
||||
<input type="submit" class="btn btn-primary btn-lg" value="Envoyer">
|
||||
<input type="submit" class="btn btn-primary btn-lg btn-block" value="Envoyer">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type='text/javascript'>
|
||||
$(document).ready(function () {
|
||||
$('.glyphicon-question-sign').tooltip({'html': true}) ;
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -7,24 +7,27 @@
|
|||
|
||||
{% include 'kfet/base_messages.html' %}
|
||||
|
||||
<div class="content-center">
|
||||
<div>
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
<table class='table 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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue