78 lines
3.1 KiB
XML
78 lines
3.1 KiB
XML
<metal:block use-macro="main_template">
|
|
<div metal:fill-slot="content">
|
|
|
|
<div class="alert alert-warning" tal:condition="not items">
|
|
Vous n'avez pas d'en cours.
|
|
</div>
|
|
|
|
<div tal:condition="items">
|
|
|
|
<p tal:condition="solde > 0 and confirm_rdv==False">
|
|
<h3>Solde au <span tal:replace="today" /> : <b><span class="text-danger" tal:content="remain_to_pay" /></b></h3>
|
|
<a href="${request.application_url}/reglement/CPT/${solde}/1" class="btn btn-primary" role="button">
|
|
<span class="glyphicon glyphicon-euro"></span> Régler</a>
|
|
<img src="${request.static_url('monaem:static/img/CB.gif')}" alt="CB logo" title="CB logo" />
|
|
|
|
</p>
|
|
|
|
<div class="alert alert-warning" tal:condition="not: member_has_email">
|
|
Veuillez renseigner votre courriel dans la rubrique <a href="/changer_coordonnees">'Changer mes coordonnées'</a> pour accéder au réglement par carte bancaire. Celui-ci est nécessaire à la réception de la confirmation de paiement.
|
|
</div>
|
|
|
|
<table class="table table-striped table-bordered">
|
|
<tr>
|
|
<th>Date</th>
|
|
<th>Désignation</th>
|
|
<th>Montant à Payer</th>
|
|
<th>Montant Réglé</th>
|
|
<th>Mode régl.</th>
|
|
</tr>
|
|
|
|
<tr tal:repeat="item items">
|
|
<td tal:content="item.DATE.strftime('%d/%m/%Y')"></td>
|
|
<td tal:content="item.INTITULE"></td>
|
|
<td align="right" tal:content="layout.to_euroz(item.DEBIT)"> </td>
|
|
<td align="right" tal:content="layout.to_euroz(item.CREDIT)"> </td>
|
|
<td tal:content="item.lib4"> </td>
|
|
</tr>
|
|
<!-- ligne Prise en chage -->
|
|
<tr tal:condition="pec_montant">
|
|
<td> </td>
|
|
<td>${pec_designation}</td>
|
|
<td align="right"></td>
|
|
<td align="right">${layout.to_euroz(pec_montant)}</td>
|
|
<td> </td>
|
|
</tr>
|
|
<!-- ligne Totaux -->
|
|
<tr>
|
|
<td> </td>
|
|
<td align="right"><b>Total</b></td>
|
|
<td align="right"><b><span tal:content="sum_to_pay" /></b></td>
|
|
<td align="right"><b><span tal:content="sum_paid" /></b></td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
<p tal:condition="confirm_rdv">
|
|
<h3>Solde au <span tal:replace="today" /> : <b><span class="text-danger" tal:content="remain_to_pay" /></b></h3>
|
|
<a tal:condition="solde > 0"
|
|
href="${request.application_url}/reglement/CPT/${solde}/1" class="btn btn-primary" role="button">
|
|
<span class="glyphicon glyphicon-euro"></span> Régler</a>
|
|
<img src="${request.static_url('monaem:static/img/CB.gif')}" alt="CB logo" title="CB logo" />
|
|
|
|
<a
|
|
href="${request.application_url}/carnet_rdv" class="btn btn-primary" role="button">
|
|
<span class="glyphicon glyphicon-calendar"></span> Prendre un autre rendez-vous</a>
|
|
<a
|
|
href="${request.application_url}/carnet_rdv" class="btn btn-default" role="button">
|
|
<span class="glyphicon glyphicon-list"></span> Retour au carnet de RDV</a>
|
|
</p>
|
|
|
|
|
|
<br />
|
|
</div>
|
|
</div><!-- content -->
|
|
</metal:block>
|
|
|
|
|