From 1c77d73e2b13501c6308c975be9b621db5b56645 Mon Sep 17 00:00:00 2001
From: Cyril L'Orphelin <cyril.lorphelin@cc.in2p3.fr>
Date: Wed, 10 Jun 2020 16:13:45 +0200
Subject: [PATCH] MAJ

---
 tms/templates/lots/main.html.twig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tms/templates/lots/main.html.twig b/tms/templates/lots/main.html.twig
index 43d4b8c3..21346e96 100644
--- a/tms/templates/lots/main.html.twig
+++ b/tms/templates/lots/main.html.twig
@@ -98,6 +98,9 @@
         <div class="row">
                 <div class="float-left col-6">
                     <h3><span class="badge badge-{{lots.statutid.color  }}">{{lots.statutid.statut  }}</span><span class="ml-3 badge badge-primary">{{lots.tapesmodeleid.nom  }}</span></h3>
+                    {% if tapes[0].commentaire is defined %}
+                        <em>{{ tapes[0].commentaire }} </em>
+                    {% endif %}
                 </div>
                 <input class="d-none" id="lotid" value="{{ lots.lotid }}"/>
                 <div class="float-right text-right col-6">
@@ -110,6 +113,10 @@
                     {% if lots.statutid.statutid=='38' %}
                     <span> <i class="m-2 fas fa-warehouse"></i><a href="#" class="change_status" id="40">Mise en Service</a></span>
                     {% endif %}
+
+                    {% if tapes[0].prix is defined %}
+                    <span>Prix: {{ tapes[0].prix }} <i class="m-1 fas fa-euro-sign"></i></span>
+                    {% endif %}
                 </div>
 
         </div>
-- 
GitLab