X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=templates%2Fadmin%2Fcompta%2Fexercices%2Fjournal.tpl;fp=templates%2Fadmin%2Fcompta%2Fexercices%2Fjournal.tpl;h=0eee3ac03069d8a97665cbce1acfb39b03ffc8a7;hb=f7ee0ae730f47bfef173c394fa4db71a22dece61;hp=5e0e7e644c2779b0b23a96b8944beae3e6470c37;hpb=1ab3343a95ed3ef4958d91dfbf49372dce8a092e;p=garradin.git diff --git a/templates/admin/compta/exercices/journal.tpl b/templates/admin/compta/exercices/journal.tpl index 5e0e7e6..0eee3ac 100644 --- a/templates/admin/compta/exercices/journal.tpl +++ b/templates/admin/compta/exercices/journal.tpl @@ -9,26 +9,29 @@
Date | +N° | +Date | Intitulé | -Comptes | -Débit | -Crédit | +Comptes | +Débit | +Crédit | |
---|---|---|---|---|---|---|---|---|---|---|
{$ligne.date|date_fr:'d/m/Y'|escape} | -{$ligne.libelle|escape} | -{$ligne.compte_debit|escape} - {$ligne.compte_debit|get_nom_compte|escape} | +||||||||
{if isset($ligne.date)}{$ligne.id|escape}{/if} | +{if isset($ligne.date)}{$ligne.date|date_fr:'d/m/Y'|escape}{/if} | +{if isset($ligne.date)}{$ligne.libelle|escape}{/if} | +{$ligne.compte|escape} | +{$ligne.compte|get_nom_compte|escape} | + {if $ligne.montant > 0}{$ligne.montant|html_money} | - | ||||
{$ligne.compte_credit|escape} - {$ligne.compte_credit|get_nom_compte|escape} | + {else}- | {$ligne.montant|html_money} | +{$ligne.montant_oppose|html_money} | + {/if}