70 lines
1.8 KiB
PHP
70 lines
1.8 KiB
PHP
<?
|
|
|
|
|
|
/*
|
|
* This file is part of WCOMPTA.
|
|
*
|
|
* WCOMPTA is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* WCOMPTA is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with WCOMPTA; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
// Auteur Dany De Bontridder ddebontridder@yahoo.fr
|
|
// $Revision$
|
|
|
|
// securite correspond a la table
|
|
// action
|
|
define ("ENCJRN",1);
|
|
define("FACT",2);
|
|
define ("FICHE",3);
|
|
define ("IMP",4);
|
|
define("FORM",5);
|
|
define ("MPCMN",6);
|
|
define ("GJRN",7);
|
|
define ("PARM",8);
|
|
define ("SECU",9);
|
|
define ("CENTRALIZE",10);
|
|
define ("VEN",11);
|
|
define ("BQE",12);
|
|
define ("ODS",13);
|
|
define ("ACH",14);
|
|
|
|
// Erreur
|
|
define ("NOERROR",0);
|
|
define ("BADPARM",1);
|
|
define ("BADDATE",2);
|
|
define ("NOTPERIODE",3);
|
|
define ("PERIODCLOSED",4);
|
|
define ("INVALID_ECH",5);
|
|
define ("RAPPT_ALREADY_USED",6);
|
|
define ("RAPPT_NOT_EXIST",7);
|
|
define ("DIFF_AMOUNT",8);
|
|
define ("RAPPT_NOMATCH_AMOUNT",9);
|
|
define ("NO_PERIOD_SELECTED",10);
|
|
define ("NO_POST_SELECTED",11);
|
|
define ("LAST",1);
|
|
define ("FIRST",0);
|
|
define ("ERROR",12);
|
|
|
|
//valeurs standardd
|
|
define ("YES",1);
|
|
define ("NO",0);
|
|
define ("OPEN",1);
|
|
define ("CLOSED",0);
|
|
define ("NOTCENTRALIZED",3);
|
|
|
|
// Pour les ShowMenuComptaLeft
|
|
define ("MENU_FACT",1);
|
|
define ("MENU_FICHE",2);
|
|
define ("MENU_PARAM",3);
|
|
?>
|