init
[garradin.git] / templates / admin / compta / exercices / journal.tpl
1 {include file="admin/_head.tpl" title="Journal général" current="compta/exercices" body_id="rapport"}
2
3 <div class="exercice">
4 <h2>{$config.nom_asso|escape}</h2>
5 <p>Exercice comptable {if $exercice.cloture}clôturé{else}en cours{/if} du
6 {$exercice.debut|date_fr:'d/m/Y'} au {$exercice.fin|date_fr:'d/m/Y'}, généré le {$cloture|date_fr:'d/m/Y'}</p>
7 </div>
8
9 <table class="list multi">
10 <thead>
11 <tr>
12 <td>Date</td>
13 <th>Intitulé</th>
14 <td>Comptes</td>
15 <td>Débit</td>
16 <td>Crédit</td>
17 </tr>
18 </thead>
19 <tbody>
20 {foreach from=$journal item="ligne"}
21 <tr>
22 <td rowspan="2">{$ligne.date|date_fr:'d/m/Y'|escape}</td>
23 <th rowspan="2">{$ligne.libelle|escape}</th>
24 <td>{$ligne.compte_debit|escape} - {$ligne.compte_debit|get_nom_compte|escape}</td>
25 <td>{$ligne.montant|html_money}</td>
26 <td></td>
27 </tr>
28 <tr>
29 <td>{$ligne.compte_credit|escape} - {$ligne.compte_credit|get_nom_compte|escape}</td>
30 <td></td>
31 <td>{$ligne.montant|html_money}</td>
32 </tr>
33 {/foreach}
34 </tbody>
35 </table>
36
37 <p class="help">Toutes les opérations sont libellées en {$config.monnaie|escape}.</p>
38
39 {include file="admin/_foot.tpl"}