Skip to content

Commit

Permalink
Merge pull request #1317 from afup/filtrage_factures
Browse files Browse the repository at this point in the history
ajout de filtres sur les factures
  • Loading branch information
agallou authored Sep 17, 2023
2 parents e49e8ef + 3852daa commit 84178b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions htdocs/templates/administration/compta_facture.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ <h2>Factures</h2>
<p>Il faut obligatoirement passer par la saisie d'un devis.</p>
</div>

<table class="ui table striped compact celled">
<table class="ui table striped compact celled afup-tab-filterable">
<thead>
<tr>
<th data-tf-filter-type="select">Année</th>
<th><a href="index.php?page=compta_devis&amp;tri=date_consultation&amp;sens={if $smarty.get.sens == 'asc' && $smarty.get.tri == 'date_consultation'}desc{else}asc{/if}">Date</a></th>
<th><a href="index.php?page=compta_devis&amp;tri=evenement&amp;sens={if $smarty.get.sens == 'asc' && $smarty.get.tri == 'date_consultation'}desc{else}asc{/if}">Clients</a></th>
<th>Ville</th>
<th class="right aligned">Numero facture</th>
<th>Référence client</th>
<th class="center aligned">Etat paiement</th>
<th data-tf-filter-type="select" class="center aligned">Etat paiement</th>
<th class="right aligned">Prix</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach from=$ecritures item=ecriture}
<tr>
<td nowrap="nowrap">{$ecriture.date_facture|date_format:"%Y"}</td>
<td nowrap="nowrap">{$ecriture.date_facture|date_format:"%d/%m/%Y"}</td>
<td>{$ecriture.societe}</td>
<td>{$ecriture.ville}</td>
Expand Down

0 comments on commit 84178b5

Please sign in to comment.