{% extends 'base.html.twig' %} {% block title %}Imports — VIIZIA{% endblock %} {% block javascripts %} {{ parent() }} {% if jobs is not empty %} {% endif %} {% endblock %} {% block body %} {% set imp_sort_cols = constant('App\\Dto\\Admin\\ImportJobListQuery::SORT_KEYS') %} {% set imp_col_labels = constant('App\\Dto\\Admin\\ImportJobListQuery::COLUMN_LABELS') %} {% set per_page_choices = constant('App\\Dto\\Admin\\ImportJobListQuery::PER_PAGE_CHOICES') %}
{% if jobs is empty %} {% else %}| {% for col in imp_sort_cols %} {% set is_cur = imports_list.sort == col %} {% set aria_sort = is_cur ? (imports_list.order == 'asc' ? 'ascending' : 'descending') : 'none' %} {% set is_num = col in ['total', 'imported', 'skipped'] %} | {{ attribute(imp_col_labels, col) }} {% if is_cur %} {% endif %} {% if is_cur %} — tri {{ imports_list.order == 'asc' ? 'croissant' : 'décroissant' }}{% else %}, trier{% endif %} | {% endfor %}Actions | |||||||
|---|---|---|---|---|---|---|---|---|---|
{{ job.sourceFilename }}
|
{{ job.organization.name }} | {{ job.bankAccount.label }} | {{ job.status.label }} | {{ job.transactionsTotal }} | {{ job.transactionsImported }} | {{ job.transactionsSkipped }} | {{ job.createdAt|date('d/m/Y H:i') }} |