fix : correction du retour sur la liste des réceptions + suppression de la redirection après enregistrement
This commit is contained in:
@@ -220,9 +220,15 @@
|
||||
|
||||
<tr class="border-bottom">
|
||||
<td>
|
||||
{% if reception.receptionType and reception.receptionType.code == 'BOVINS' %}
|
||||
<strong>
|
||||
Type de bovins
|
||||
</strong>
|
||||
{% else %}
|
||||
<strong>
|
||||
Type de marchandises
|
||||
</strong>
|
||||
{% endif %}
|
||||
<br><br>
|
||||
|
||||
<div class="bigtable-notes">
|
||||
@@ -263,6 +269,9 @@
|
||||
<p>Aucun dépôt de granulés renseigné.</p>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{% if reception.merchandiseType %}
|
||||
<p><strong>{{ reception.merchandiseType.label }}</strong></p>
|
||||
{% endif %}
|
||||
{% set buildingLabels = [] %}
|
||||
{% for building in reception.buildings|default([]) %}
|
||||
{% set buildingLabels = buildingLabels|merge([building.label]) %}
|
||||
|
||||
Reference in New Issue
Block a user