{% extends '@kohinos/block/block_collapse.html.twig' %}

{% block blocktitle %}
	<i class="fa fa-list-alt mr-4"></i> {{'Transactions'|trans }}
{% endblock blocktitle %}
{% block blockcontent %}
	{% set datetime_last_export = getPrestaLastTransactionsExportDate() %}

	<p>Récupérer le montant total des transactions depuis le <b>{{ datetime_last_export }}</b></p>
	<a class='btn btn-xs btn-primary mt-2' href='{{ path('get_presta_last_transactions') }}'>
		{{ 'Exporter'|trans }}
	</a>
{% endblock blockcontent %}