X-Git-Url: https://git.cyclocoop.org/?p=garradin.git;a=blobdiff_plain;f=templates%2Fadmin%2Fcompta%2Foperations%2Fmodifier.tpl;h=c992605f74240628735ce3bc784e5967a899d185;hp=9d6e2f2554bf81b8244445108c4192c6da58ebef;hb=f7ee0ae730f47bfef173c394fa4db71a22dece61;hpb=1ab3343a95ed3ef4958d91dfbf49372dce8a092e diff --git a/templates/admin/compta/operations/modifier.tpl b/templates/admin/compta/operations/modifier.tpl index 9d6e2f2..c992605 100644 --- a/templates/admin/compta/operations/modifier.tpl +++ b/templates/admin/compta/operations/modifier.tpl @@ -6,6 +6,12 @@

{/if} +{if $debug} +

+ {$debug|escape} +

+{/if} +
@@ -15,18 +21,32 @@
obligatoire
-
obligatoire
-
{$config.monnaie|escape}
{if is_null($type)} -
obligatoire
-
- {select_compte comptes=$comptes name="compte_debit" data=$operation} -
-
obligatoire
-
- {select_compte comptes=$comptes name="compte_credit" data=$operation} -
+
+ Flux obligatoire + + + + + + + + + {foreach from=$fluxs item="flux" key="flux_n" name="fluxs"} + + + {if !$tpl.foreach.fluxs.last} + + {/if} + + {/foreach} + +
{select_compte comptes=$comptes name="compte" form_name="compte_$flux_n" id="f_compte_$flux_n" data=$flux} {$config.monnaie|escape}
+
{else}
obligatoire
@@ -55,7 +75,56 @@
-{if !is_null($type)} +{if is_null($type)} + +{else}
Catégorie
@@ -97,4 +166,4 @@ -{include file="admin/_foot.tpl"} \ No newline at end of file +{include file="admin/_foot.tpl"}