X-Git-Url: https://git.cyclocoop.org/?p=garradin.git;a=blobdiff_plain;f=templates%2Fadmin%2Fcompta%2Fexercices%2Fgrand_livre.tpl;h=2b88a1246ec339f067b008b3695ea347a2fe3ed2;hp=4aac7a5f4670f36e698d532b1755e4b927ef6f53;hb=f7ee0ae730f47bfef173c394fa4db71a22dece61;hpb=1ab3343a95ed3ef4958d91dfbf49372dce8a092e diff --git a/templates/admin/compta/exercices/grand_livre.tpl b/templates/admin/compta/exercices/grand_livre.tpl index 4aac7a5..2b88a12 100644 --- a/templates/admin/compta/exercices/grand_livre.tpl +++ b/templates/admin/compta/exercices/grand_livre.tpl @@ -12,37 +12,41 @@ {foreach from=$comptes item="compte" key="code"} {foreach from=$compte.comptes item="souscompte" key="souscode"} - + - + + - + + - - + + {foreach from=$souscompte.journal item="ligne"} + - - + + {/foreach} - - - + + + +

{$souscode|escape} — {$souscode|get_nom_compte|escape}

{$souscode|escape} — {$souscode|get_nom_compte|escape}

DateN°Date IntituléDébitCréditDébitCrédit
{$ligne.id|escape} {$ligne.date|date_fr:'d/m/Y'|escape} {$ligne.libelle|escape}{if $ligne.compte_debit == $souscode}{$ligne.montant|html_money}{/if}{if $ligne.compte_credit == $souscode}{$ligne.montant|html_money}{/if}{if $ligne.compte == $souscode && $ligne.montant > 0}{$ligne.montant|html_money}{/if}{if $ligne.compte == $souscode && $ligne.montant < 0}{$ligne.montant|abs|html_money}{/if}
Solde final{if $souscompte.debit > 0}{$souscompte.debit|html_money}{/if}{if $souscompte.credit > 0}{$souscompte.credit|html_money}{/if}Solde final{if $souscompte.debit != 0}{$souscompte.debit|html_money}{/if}{if $souscompte.credit != 0}{$souscompte.credit|html_money}{/if}
@@ -58,7 +62,7 @@ Total - {$code|get_nom_compte|escape} + {$code|escape} — {$code|get_nom_compte|escape} {if $compte.total > 0}{$compte.total|abs|html_money}{/if} {if $compte.total < 0}{$compte.total|abs|html_money}{/if} @@ -86,4 +90,4 @@

Toutes les opérations sont libellées en {$config.monnaie|escape}.

-{include file="admin/_foot.tpl"} \ No newline at end of file +{include file="admin/_foot.tpl"}