{% extends "base.html.twig" %} {% block localstyle %} {% if fgprint is defined and fgprint %} table { font-size:10px;} th,td { border: 1px solid #37474F; } thead { display: table-header-group; } tr { page-break-inside: avoid; } {%endif%} {% endblock %} {% block body %}

EXERCICES COMPTABLE

Ajouter

Liste des Exercices
{% for year in years %} {% endfor %}
Action Début Fin Nb jour travail
{{year.start|date("d/m/Y")}} {{year.end|date("d/m/Y")}} {{year.nbday}}
{% endblock %} {% block localjavascript %} $(document).ready(function() { {% if not fgprint is defined or not fgprint %} $('#dataTables').DataTable({ columnDefs: [ { "targets": "no-sort", "orderable": false }, { "targets": "no-string", "type" : "num" } ], responsive: true, iDisplayLength: 100, order: [[ 1, "asc" ]] }); {%else%} $('#dataTables').removeClass("table table-striped table-bordered table-hover small dataTable no-footer"); {% endif %} }); function myprint() { href=document.location.href; document.location.href=href+"?fgprint=true"; } {% endblock %}