{% extends 'layouts/authenticated.html.twig' %} {% block page_title %}Stock POS{% endblock %} {% block content %}
Vue d'ensemble du stock de {{ company.name }}
| Produit | SKU | Stock | Min | Statut | Cout unit. | Valeur | Actions |
|---|---|---|---|---|---|---|---|
|
{{ product.name }}
{% if product.category %}
{{ product.category.name }}
{% endif %}
|
{{ product.sku }} | {{ product.currentStock }} | {{ product.minStock ?? '-' }} | {% if stockStatus == 'out' %} Rupture {% elseif stockStatus == 'critical' %} Critique {% elseif stockStatus == 'low' %} Bas {% else %} OK {% endif %} | {{ product.costPrice ? product.costPrice|number_format(0, ',', ' ') ~ ' ' ~ settings.currencySymbol : '-' }} | {% if product.costPrice %} {{ (product.currentStock * product.costPrice)|number_format(0, ',', ' ') }} {{ settings.currencySymbol }} {% else %} - {% endif %} |