X-Git-Url: https://git.cyclocoop.org/?p=garradin.git;a=blobdiff_plain;f=templates%2Fadmin%2Fcompta%2Foperations%2Fsaisir.tpl;h=ff6efd9dd727c2df062eef3890f97827ed3dde38;hp=30c103ed682669b1974797548712ebf70d4bd9ed;hb=f7ee0ae730f47bfef173c394fa4db71a22dece61;hpb=1ab3343a95ed3ef4958d91dfbf49372dce8a092e diff --git a/templates/admin/compta/operations/saisir.tpl b/templates/admin/compta/operations/saisir.tpl index 30c103e..ff6efd9 100644 --- a/templates/admin/compta/operations/saisir.tpl +++ b/templates/admin/compta/operations/saisir.tpl @@ -6,6 +6,12 @@

{/if} +{if $debug} +

+ {$debug|escape} +

+{/if} + {if $ok}

L'opération numéro {$ok|escape} a été ajoutée. @@ -30,18 +36,32 @@

obligatoire
-
obligatoire
-
{$config.monnaie|escape}
{if is_null($type)} -
obligatoire
-
- {select_compte comptes=$comptes name="compte_debit"} -
-
obligatoire
-
- {select_compte comptes=$comptes name="compte_credit"} -
+
+ 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}
+
{elseif $type === 'virement'}
@@ -98,7 +118,56 @@ -{if $type == Garradin\Compta_Categories::DEPENSES || $type == Garradin\Compta_Categories::RECETTES || $type == 'dette'} +{if is_null($type)} + +{elseif $type == Garradin\Compta_Categories::DEPENSES || $type == Garradin\Compta_Categories::RECETTES || $type == 'dette'}
Catégorie
@@ -140,4 +209,4 @@ -{include file="admin/_foot.tpl"} \ No newline at end of file +{include file="admin/_foot.tpl"}