Indicateur d’étapes
+
-
|
-
-
- Nom de l'entreprise - Adresse de l'entreprise +
+ |
+ {{ reception.supplier.name }}
+ {{ reception.address.street }} + {{ reception.address.postalCode }} {{ reception.address.city }} |
| Code fournisseur | +Code fournisseur | Date | -N° réception | +N° réception |
|---|---|---|---|---|
| XXX | +{{ reception.supplier.name }} | {{ reception.receptionDate|date('d/m/Y') }} | -86-BR-XXXX | +{{ reception.identificationNumber }} |
| Code | -Désignation | -Qté livrée (kg) | -
|---|
| Désignation | +Qté livrée (kg) | +|
|---|---|---|
| M | +||
|
+ {{ reception.receptionType.label }} - |
- MAÏS sec +
+ {% set grossWeight = null %}
+ {% set tareWeight = null %}
-
- {% set grossWeight = null %}
- {% set tareWeight = null %}
+ {% for weight in reception.weights %}
+ {% if weight.type == 'gross' %}
+ {% set grossWeight = weight %}
+
+ Poids à plein : {{ grossWeight.weight }}kg (pesée n°{{ grossWeight.dsd }} {{ grossWeight.weighedAt|date('d/m/Y H:i:s') }}) + {% elseif weight.type == 'tare' %} + {% set tareWeight = weight %} +Poids à vide : {{ tareWeight.weight }}kg (pesée n°{{ tareWeight.dsd }} {{ tareWeight.weighedAt|date('d/m/Y H:i:s') }}) + {% endif %} + {% endfor %} + |
- {% for weight in reception.weights %}
- {% if weight.type == 'gross' %}
- {% set grossWeight = weight %}
- + {% if grossWeight and tareWeight %} + {{ grossWeight.weight - tareWeight.weight }} + {% else %} + 0 + {% endif %} + | +
| + + {% if reception.merchandiseType %} + {{ reception.merchandiseType.label }} + {% else %} + - {% endif %} - {% endfor %} - - | + +- {% if grossWeight and tareWeight %} - {{ grossWeight.weight - tareWeight.weight }} - {% else %} - 0 - {% endif %} - | -|
| - | - | - |
{{ pelletLabel }} : {{ buildingLabels|join(', ') }}
+ {% else %} +Aucun dépôt de granulés renseigné.
+ {% endfor %} + {% else %} + {% set buildingLabels = [] %} + {% for building in reception.buildings %} + {% set buildingLabels = buildingLabels|merge([building.label]) %} + {% endfor %} + {% if buildingLabels %} +Ferme : {{ buildingLabels|join(', ') }}
+ {% else %} +Aucun bâtiment renseigné.
+ {% endif %} + {% endif %} +| - |
- Signature :
- Ets Liot :
- Transporteur :
+ Signature les Nauds :
+ Signature transporteur :
|
-