Author: danydb
Date: 2012-08-24 21:46:38 +0200 (Fri, 24 Aug 2012)
New Revision: 395

Modified:
   tag/rel650/tools/include/tools_exercice.inc.php
Log:
TOOLS : Feedback when adding a new exercice

Modified: tag/rel650/tools/include/tools_exercice.inc.php
===================================================================
--- tag/rel650/tools/include/tools_exercice.inc.php     2012-07-30 18:19:07 UTC 
(rev 394)
+++ tag/rel650/tools/include/tools_exercice.inc.php     2012-08-24 19:46:38 UTC 
(rev 395)
@@ -27,6 +27,7 @@
  *
  */
 require_once 'class_tool_exercice.php';
+global $g_succeed;
 if (isset ($_POST['save']))
 {
        try
@@ -34,6 +35,8 @@
                $exercice=new Tool_Exercice($cn);
                $exercice->fromPost();
                $exercice->save();
+               printf (_("%s Vous avez ajouté %d mois depuis le %d/%d pour 
l'exercice %d 
"),$g_succeed,$_POST['nb_month'],$_POST['from_month'],$_POST['year'],$_POST['p_exercice']);
+               exit();
        }
        catch (Exception $e)
        {



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu

_______________________________________________
Phpcompta  est un logiciel libre de comptabilité en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to