From f3cb77fcfd4c0a42b750479614e313fc87df6a8c Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Mon, 10 Jul 2006 21:28:21 +0000 Subject: [PATCH] fix typos and misbehaviours. this has never been able to work ?! git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@425 839d8a87-29fc-0310-9880-83ba4fa771e5 --- modules/trezo.php | 2 +- templates/trezo/gere_operations.tpl | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/modules/trezo.php b/modules/trezo.php index 93dd253..806882d 100644 --- a/modules/trezo.php +++ b/modules/trezo.php @@ -71,7 +71,7 @@ class TrezoModule extends PLModule return PL_OK; } - function handler_op(&$page) + function handler_operation(&$page) { global $globals; diff --git a/templates/trezo/gere_operations.tpl b/templates/trezo/gere_operations.tpl index e65976c..c00a7a9 100644 --- a/templates/trezo/gere_operations.tpl +++ b/templates/trezo/gere_operations.tpl @@ -20,14 +20,12 @@ {* *} {**************************************************************************} - - {if $smarty.request.action eq "edit"}

Gestion des opérations de trésorerie

-
+ + value="{$op_date|date_format:"%d/%m/%Y"}" /> @@ -67,7 +65,7 @@
@@ -41,7 +39,7 @@
Date (DD/MM/YYYY)
Description libre
-retour +retour {elseif $smarty.request.action eq "update" && $op_id} modification de l'opération {elseif $smarty.request.action eq "update"} @@ -108,7 +106,7 @@     -
+
@@ -127,7 +125,7 @@ {$op.debit} {$op.credit} - +
-- 2.1.4