1 {include file="admin/_head.tpl" title="Grand livre" current="compta/exercices" body_id="rapport"}
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>
9 {foreach from=$livre.classes key="classe" item="comptes"}
10 <h3>{$classe|get_nom_compte|escape}</h3>
12 {foreach from=$comptes item="compte" key="code"}
13 {foreach from=$compte.comptes item="souscompte" key="souscode"}
15 <caption><h4 class="num"><a href="{$admin_url}compta/comptes/journal.php?id={$souscode|escape}">{$souscode|escape}</a> — {$souscode|get_nom_compte|escape}</h4></caption>
33 {foreach from=$souscompte.journal item="ligne"}
35 <td class="num"><a href="{$admin_url}compta/operations/voir.php?id={$ligne.id|escape}">{$ligne.id|escape}</a></td>
36 <td>{$ligne.date|date_fr:'d/m/Y'|escape}</td>
37 <th>{$ligne.libelle|escape}</th>
38 <td>{if $ligne.compte == $souscode && $ligne.montant > 0}{$ligne.montant|html_money}{/if}</td>
39 <td>{if $ligne.compte == $souscode && $ligne.montant < 0}{$ligne.montant|abs|html_money}{/if}</td>
47 <td><b>Solde final</b></td>
48 <td>{if $souscompte.debit != 0}{$souscompte.debit|html_money}{/if}</td>
49 <td>{if $souscompte.credit != 0}{$souscompte.credit|html_money}{/if}</td>
65 <td><b><span class="num"><a href="{$admin_url}compta/comptes/journal.php?id={$code|escape}">{$code|escape}</a></span> — {$code|get_nom_compte|escape}</b></td>
66 <td>{if $compte.total > 0}{$compte.total|abs|html_money}{/if}</td>
67 <td>{if $compte.total < 0}{$compte.total|abs|html_money}{/if}</td>
83 <td><strong>Total</strong></td>
85 <td>{$livre.debit|html_money}</td>
86 <td>{$livre.credit|html_money}</td>
91 <p class="help">Toutes les opérations sont libellées en {$config.monnaie|escape}.</p>
93 {include file="admin/_foot.tpl"}