initial upload
This commit is contained in:
55
monaem/templates/reservation/carnet_rdv.pt
Normal file
55
monaem/templates/reservation/carnet_rdv.pt
Normal file
@@ -0,0 +1,55 @@
|
||||
<metal:block use-macro="main_template">
|
||||
<div metal:fill-slot="content">
|
||||
|
||||
<div class="alert alert-warning" tal:condition="not items">
|
||||
Vous n'avez pas de rendez-vous en cours.
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div class="form-group">
|
||||
<a href="${ajoutRDVB}" tal:condition="ajoutRDVB" class="btn btn-primary" role="button">
|
||||
<span class="glyphicon glyphicon-plus"></span> un rendez-vous</a>
|
||||
<a href="${ajoutPlateau}" tal:condition="ajoutPlateau" class="btn btn-primary" role="button">
|
||||
<span class="glyphicon glyphicon-plus"></span> leçon PLATEAU</a>
|
||||
<a href="${ajoutRoute}" tal:condition="ajoutRoute" class="btn btn-primary" role="button">
|
||||
<span class="glyphicon glyphicon-plus"></span> leçon ROUTE</a>
|
||||
<a href="${ajoutTA}" tal:condition="ajoutTA" class="btn btn-warning" role="button">
|
||||
<span class="glyphicon glyphicon-plus"></span> exam BLANC</a>
|
||||
</div>
|
||||
<div tal:condition="items">
|
||||
<table class="table table-striped table-bordered">
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>Heure</th>
|
||||
<th>Durée</th>
|
||||
<th></th>
|
||||
<th>Lieu</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
|
||||
<tr tal:repeat="item items">
|
||||
<td>${item.DATE_CLAIR}</td>
|
||||
<td>${item.HEURE}</td>
|
||||
<td><span class="glyphicon glyphicon-time"></span> ${item.qte}</td>
|
||||
<td tal:condition="item.nompren">${item.CD_MON}<br />${item.nompren.capitalize()}</td>
|
||||
<td tal:condition="not item.nompren">${item.CD_MON}</td>
|
||||
<td tal:condition="item.statut!=3">${item.OBS}</td>
|
||||
<td tal:condition="item.statut==3" class="text-danger">DECOMMANDE MOINS DE 48 HEURES</td>
|
||||
<td tal:condition="item.DATE >= now and (item.planning=='B' or item.planning=='B78') and item.statut!=3">
|
||||
<a href="${request.application_url}/rdvb_del/${item.pla_ligne}" class="btn btn-danger btn-sm" role="button">
|
||||
<span class="glyphicon glyphicon-trash"></span> Annuler le RDV</a>
|
||||
</td>
|
||||
<td tal:condition="item.DATE.date() >= now.date() and item.planning=='A' and item.statut!=3 and item.nompren!='Circuit'">
|
||||
<a href="${request.application_url}/rdva_del/${item.pla_ligne}" class="btn btn-danger btn-sm" role="button">
|
||||
<span class="glyphicon glyphicon-trash"></span> Annuler le RDV</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p class="text-center text-danger"><i>Toute leçon non décommandée 48h à l'avance sera considérée comme due.</i></p>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
</div><!-- content -->
|
||||
</metal:block>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user