{% extends "kfet/base_col_1.html" %} {% load widget_tweaks %} {% block title %}Nouvelle commande{% endblock %} {% block header-title %}Création d'une commande {{ supplier.name }}{% endblock %} {% block main-size %}col-lg-8 col-lg-offset-2{% endblock %} {% block main %}
{% csrf_token %}
{% for label in scale.get_labels %} {% endfor %} {% regroup formset by category_name as category_list %} {% for category in category_list %} {% for form in category.list %} {{ form.article }} {% for v_chunk in form.v_all %} {% endfor %} {% endfor %} {% endfor %}
Article Ventes V. moy.
E.T.
Prév.
Stock Box
Rec.
Commande
{{ label }}
{{ category.grouper }}
{{ form.name }}{{ v_chunk }}{{ form.v_moy }} {{ form.v_et }} {{ form.v_prev }} {{ form.stock }} {{ form.box_capacity|default:"" }} {{ form.c_rec }} {{ form.quantity_ordered|add_class:"form-control" }}
{{ formset.management_form }} {% if not perms.kfet.add_inventory %}
{% include "kfet/form_authentication_snippet.html" %}
{% endif %}
{% endblock %}