phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5300 - phpcompta/trunk/html/admin/sql/patch


From: phpcompta-dev
Subject: [Phpcompta-dev] r5300 - phpcompta/trunk/html/admin/sql/patch
Date: Wed, 22 May 2013 00:07:29 +0200 (CEST)

Author: danydb
Date: 2013-05-22 00:07:29 +0200 (Wed, 22 May 2013)
New Revision: 5300

Modified:
   phpcompta/trunk/html/admin/sql/patch/upgrade106.sql
Log:
task #0000848: Creation d un trigger pour empecher periode qui se chevauchent

Modified: phpcompta/trunk/html/admin/sql/patch/upgrade106.sql
===================================================================
--- phpcompta/trunk/html/admin/sql/patch/upgrade106.sql 2013-05-21 21:59:49 UTC 
(rev 5299)
+++ phpcompta/trunk/html/admin/sql/patch/upgrade106.sql 2013-05-21 22:07:29 UTC 
(rev 5300)
@@ -47,7 +47,7 @@
 begin
 if periode_exist(to_char(NEW.p_start,'DD.MM.YYYY'),NEW.p_id) <> -1 then
        nPeriode:=periode_exist(to_char(NEW.p_start,'DD.MM.YYYY'),NEW.p_id) ;
-        raise info 'Overlap periode start % periode %',NEW.p_start,a;
+        raise info 'Overlap periode start % periode %',NEW.p_start,nPeriode;
        return null;
 end if;
 



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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]