Commit 7cfc2e76 authored by okhin's avatar okhin 🚴

Merge branch '62-ajout-d-un-lien-sur-les-piplomes-dans-l-historique' into 'preprod'

Resolve "Ajout d'un lien sur les piplomes dans l'historique."

Closes #62

See merge request !44
parents c2a62621 cf6d9130
Pipeline #2222 passed with stages
in 12 seconds
......@@ -139,12 +139,21 @@
<th>{{ _("Date") }}</th>
<th>{{ _("Dons") }}</th>
<th>{{ _("Récurent") }}</th>
<th>{{ _("Piplome") }}</th>
</tr>
<repeat group="{{ @dons_recurrents }}" value="{{ @don }}">
<tr>
<td>{{ @don.datec }}</td>
<td>{{ @don.somme }}</td>
<td>{{ _("Oui")}}</td>
<td>
<check if="{{ @don.pdf == '' }}">
<a href="/cron/piplome/{{ @don.id }}">{{ _("Générer") }}</a>
<false>
<a href="{{ PIPLOME_URL }}/{{ @don.pdf }}.pdf" target="_blank">{{ @pdfs[@don.pdf].decimale }}.pdf</a>
</false>
</check>
</td>
</tr>
</repeat>
<repeat group="{{ @dons }}" value="{{ @don }}">
......@@ -152,6 +161,15 @@
<td>{{ @don.datec }}</td>
<td>{{ @don.somme }}</td>
<td>{{ _("Non")}}</td>
<td>
<check if="{{ @don.pdf == '' }}">
<a href="/cron/piplome/{{ @don.id }}">{{ _("Générer") }}</a>
<false>
<a href="{{ PIPLOME_URL }}/{{ @don.pdf }}.pdf" target="_blank">{{ @pdfs[@don.pdf].decimale }}.pdf</a>
</false>
</check>
</td>
</tr>
</repeat>
</table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment