{% extends 'base.html.twig' %} {% block body %}

Fiche produit
{% if produit.reference %} {% endif %} {% if produit.categorie %} {% endif %} {% if produit.emplacement %} {% endif %} {% if produit.titre %} {% endif %} {% if produit.marque %} {% endif %} {% if produit.description %} {% endif %} {% if produit.caracteristique %} {% endif %} {% if produit.codebare %} {% endif %} {% if app.user.aDroit('achat_consultation') %} {% endif %} {% if app.user.aDroit('vente_consultation') %} {% if networkMasterPrixVente is not null %} {% endif %} {% endif %} {% for attribut in produit.getAttributValues() %} {% if attribut.getValue() %} {% endif %} {% endfor %}
Référence {{ produit.reference }}
Catégorie {{ produit.categorie }}
Emplacement {{ produit.emplacement }}
Designation {{ produit.titre }}
Marque {{ produit.marque }}
Description {{ produit.description }}
Caractéristique {{ produit.caracteristique }}
Code à bare {{ produit.codebare }}
Prix d'achat HT {{ produit.prixachat|number_format(2, ',', ' ') }}
Prix de vente HT {{ produit.prixvente|number_format(2, ',', ' ') }}
Prix de vente HT (recommandé) {{ networkMasterPrixVente|number_format(2, ',', ' ') }}
Quantitée en stock {{ produit.quantitestock|number_format(2, ',', ' ') }}
Quantitée consignée {{ produit.quantiteconsigne|number_format(2, ',', ' ') }}
Alert stock {{ produit.quantitestockmin|number_format(2, ',', ' ') }}

{{ attribut.getProduitAttribut.getLabel() }} {{ attribut.getValue() }}
Retour {% if app.user.aDroit('produit_modification') %} Modifier {% endif %} {% if app.user.aDroit('produit_suppression') %} {% endif %}
{{ form_start(delete_form) }} {{ form_end(delete_form) }}
{% if app.user.aDroit('produit_modification') %}
Produits similaires

REFDESIGNATIONQUANTITEPRIX DE VENTE

{% endif %}
{% if app.user.aDroit('module_stock') %}
{% if app.user.aDroit('achat_consultation') and produit.fournisseurs is defined and produit.fournisseurs|length > 0 %}
Fournisseurs
    {% for f in produit.fournisseurs %}
  • {{ f.raisonSociale }}
  • {% endfor %}
{% endif %}
Mouvements
{% if aproduits %} {% set total_cmd, total_quantite, total_ca = 0, 0, 0 %} {% for aproduit in aproduits %} {% set total_cmd = total_cmd + aproduit.nbr_ventes %} {% set total_quantite = total_quantite + aproduit.quantite %} {% set total_ca = total_ca + aproduit.ca_ventes %} {% endfor %} {% endif %} {% if raproduits %} {% set total_cmd, total_quantite, total_ca = 0, 0, 0 %} {% for vproduit in raproduits %} {% set total_cmd = total_cmd + vproduit.nbr_ventes %} {% set total_quantite = total_quantite + vproduit.quantite %} {% set total_ca = total_ca + vproduit.ca_ventes %} {% endfor %} {% endif %} {% if vproduits %} {% set total_cmd, total_quantite, total_ca = 0, 0, 0 %} {% for vproduit in vproduits %} {% set total_cmd = total_cmd + vproduit.nbr_ventes %} {% set total_quantite = total_quantite + vproduit.quantite %} {% set total_ca = total_ca + vproduit.ca_ventes %} {% endfor %} {% endif %} {% if rproduits %} {% set total_cmd, total_quantite, total_ca = 0, 0, 0 %} {% for vproduit in rproduits %} {% set total_cmd = total_cmd + vproduit.nbr_ventes %} {% set total_quantite = total_quantite + vproduit.quantite %} {% set total_ca = total_ca + vproduit.ca_ventes %} {% endfor %} {% endif %}
ANNEE NBR DE COMMANDE QUANTITE TOTAL HT
ACHATS
{{ aproduit.annee }} {{ aproduit.nbr_ventes }} {{ aproduit.quantite }} {% if app.user.aDroit('achat_consultation') %} {{ aproduit.ca_ventes|number_format(2, '.', ' ') }} {% endif %}
{{ total_cmd }} {{ total_quantite }} {% if app.user.aDroit('achat_consultation') %} {{ total_ca|number_format(2, '.', ' ') }} {% endif %}
RETOURS
{{ vproduit.annee }} {{ vproduit.nbr_ventes }} {{ vproduit.quantite }} {% if app.user.aDroit('achat_avoir') %} {{ vproduit.ca_ventes|number_format(2, '.', ' ') }} {% endif %}
{{ total_cmd }} {{ total_quantite }} {% if app.user.aDroit('achat_avoir') %} {{ total_ca|number_format(2, '.', ' ') }} {% endif %}
VENTES
{{ vproduit.annee }} {{ vproduit.nbr_ventes }} {{ vproduit.quantite }} {% if app.user.aDroit('vente_consultation') %} {{ vproduit.ca_ventes|number_format(2, '.', ' ') }} {% endif %}
{{ total_cmd }} {{ total_quantite }} {% if app.user.aDroit('vente_consultation') %} {{ total_ca|number_format(2, '.', ' ') }} {% endif %}
AVOIRS
{{ vproduit.annee }} {{ vproduit.nbr_ventes }} {{ vproduit.quantite }} {% if app.user.aDroit('vente_avoir') %} {{ vproduit.ca_ventes|number_format(2, '.', ' ') }} {% endif %}
{{ total_cmd }} {{ total_quantite }} {% if app.user.aDroit('vente_avoir') %} {{ total_ca|number_format(2, '.', ' ') }} {% endif %}
{% endif %}
{% endblock %} {% block javascripts %} {% endblock %}