feat : mettre a jour l'entite shipment et bovin_shipment

This commit is contained in:
2026-02-18 16:04:49 +01:00
parent 0d258ae9c6
commit 7f8f9fc219
11 changed files with 123 additions and 325 deletions

View File

@@ -250,13 +250,11 @@
<td>
<strong>Bovin</strong><br><br>
<div class="bigtable-notes">
{% if shipment.bovinShipments is not empty %}
{% for entry in shipment.bovinShipments %}
<p>
{{ entry.shipmentType ? entry.shipmentType.label : '-' }} :
{{ entry.nbBovinSend ?? 0 }}
</p>
{% endfor %}
{% if shipment.shipmentType %}
<p>
{{ shipment.shipmentType.label ?? '-' }} :
{{ shipment.nbBovinSend ?? 0 }}
</p>
{% else %}
<p>-</p>
{% endif %}