Add export button to template

This commit is contained in:
Julie Lenaerts 2025-01-15 16:34:11 +01:00
parent c379bccad4
commit edb51dd3cd
2 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,6 @@ class SocialIssuesExportController extends AbstractController
throw new AccessDeniedHttpException('Only ROLE_ADMIN can export this list');
}
// $socialIssues = $this->socialIssueRepository->findAllAsArray();
$socialIssues = $this->socialIssueRepository->findAll();
$socialIssues = array_map(function ($issue) {

View File

@ -35,6 +35,9 @@
{% endblock %}
{% block actions_before %}
<li>
<a href="{{ path('chill_person_social_issue_export_list') }}" class="btn btn-download"></a>
</li>
<li class='cancel'>
<a href="{{ path('chill_main_admin_central') }}" class="btn btn-cancel">{{'Back to the admin'|trans}}</a>
</li>