phpcompta  Version-6
 All Data Structures Namespaces Files Functions Variables Pages
Variables
constant.php File Reference

Contains all the variable + the javascript and some parameter. More...

Go to the source code of this file.

Variables

global $g_captcha =false
 
global $g_failed ="<span style=\"font-size:18px;color:red\">&#x2716;</span>"
 
global $g_succeed ="<span style=\"font-size:18px;color:green\">&#x2713;</span>"
 
global $version_phpcompta =5205
 
const ACTION '1,5,6,7,8'
 
const ALL 4
 
const ALL_FICHE_DEF_REF 1000
 
const ATTR_DEF_ACCOUNT 5
 
const ATTR_DEF_ACCOUNT_ND 53
 
const ATTR_DEF_ACCOUNT_ND_PERSO 52
 
const ATTR_DEF_ACCOUNT_ND_TVA 50
 
const ATTR_DEF_ACCOUNT_ND_TVA_ND 51
 
const ATTR_DEF_ADRESS 14
 
const ATTR_DEF_BQ_NAME 4
 
const ATTR_DEF_BQ_NO 3
 
const ATTR_DEF_CITY 24
 
const ATTR_DEF_COMPANY 25
 
const ATTR_DEF_CP 15
 
const ATTR_DEF_DEP_PRIV 31
 
const ATTR_DEF_DEPENSE_NON_DEDUCTIBLE 20
 
const ATTR_DEF_EMAIL 18
 
const ATTR_DEF_FAX 26
 
const ATTR_DEF_FIRST_NAME 32
 
const ATTR_DEF_NAME 1
 
const ATTR_DEF_NUMBER_CUSTOMER 30
 
const ATTR_DEF_NUMTVA 13
 
const ATTR_DEF_PAYS 16
 
const ATTR_DEF_PRIX_ACHAT 7
 
const ATTR_DEF_PRIX_VENTE 6
 
const ATTR_DEF_QUICKCODE 23
 
const ATTR_DEF_STOCK 19
 
const ATTR_DEF_TEL 17
 
const ATTR_DEF_TVA 2
 
const ATTR_DEF_TVA_NON_DEDUCTIBLE 21
 
const ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP 22
 
const BADDATE 2
 
const BADPARM 1
 
const CLOSED 0
 
const COMPTA_MAX_YEAR 2100
 
const COMPTA_MIN_YEAR 1990
 
const DBVERSION 106
 
const DBVERSIONREPO 14
 
const DEBUG false
 
const DIFF_AMOUNT 8
 
const ERROR 12
 
const FICHE_TYPE_ACH_MAR 2
 
const FICHE_TYPE_ACH_SER 3
 
const FICHE_TYPE_ADM_TAX 14
 
const FICHE_TYPE_CLIENT 9
 
const FICHE_TYPE_CONTACT 16
 
const FICHE_TYPE_EMPL 25
 
const FICHE_TYPE_FIN 4
 
const FICHE_TYPE_FOURNISSEUR 8
 
const FICHE_TYPE_VENTE 1
 
const FIRST 0
 
const INVALID_ECH 5
 
const JS_INFOBULLE ' <DIV id="bulle" class="infobulle"></DIV> <script type="text/javascript" language="javascript" src="js/infobulle.js"> </script>'
 
const LAST 1
 
const MAX_ARTICLE 12
 
const MAX_CARD_SEARCH 50
 
const MAX_CAT 15
 
const MAX_COMPTE 4
 
const MAX_COMPTE_CARD 4
 
const MAX_FORECAST_ITEM 10
 
const MAX_PREDEFINED_OPERATION 30
 
const MAX_RECONCILE 25
 
const MENU_FACT 1
 
const MENU_FICHE 2
 
const MENU_PARAM 3
 
const NO 0
 
const NO_PERIOD_SELECTED 10
 
const NO_POST_SELECTED 11
 
const NOERROR 0
 
const NOTCENTRALIZED 3
 
const NOTFOUND '--not found--'
 
const NOTPERIODE 3
 
const OPEN 1
 
const PERIODCLOSED 4
 
const RAPPT_ALREADY_USED 6
 
const RAPPT_NOMATCH_AMOUNT 9
 
const RAPPT_NOT_EXIST 7
 
const SITE_UPDATE 'http://www.phpcompta.eu/last_version.txt'
 
const SITE_UPDATE_PLUGIN 'http://www.phpcompta.eu/plugin_last_version.txt'
 
const SQL_LIST_ALL_INVOICE ""
 
const SQL_LIST_UNPAID_INVOICE " (jr_rapt is null or jr_rapt = '') and jr_valid = true "
 
const SQL_LIST_UNPAID_INVOICE_DATE_LIMIT " where (jr_rapt is null or jr_rapt = '') and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') < to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY') and jr_valid = true"
 
const YES 1
 

Detailed Description

Contains all the variable + the javascript and some parameter.

Definition in file constant.php.

Variable Documentation

$g_captcha =false

Definition at line 32 of file constant.php.

$g_failed ="<span style=\"font-size:18px;color:red\">&#x2716;</span>"

Definition at line 32 of file constant.php.

$g_succeed ="<span style=\"font-size:18px;color:green\">&#x2713;</span>"

Definition at line 32 of file constant.php.

$version_phpcompta =5205

Definition at line 26 of file constant.php.

Referenced by Extension\check_version().

const ACTION '1,5,6,7,8'

Definition at line 85 of file constant.php.

const ALL 4
const ALL_FICHE_DEF_REF 1000

Definition at line 101 of file constant.php.

const ATTR_DEF_ACCOUNT 5
const ATTR_DEF_ACCOUNT_ND 53

Definition at line 132 of file constant.php.

Referenced by Acc_Ledger_Purchase\verify().

const ATTR_DEF_ACCOUNT_ND_PERSO 52

Definition at line 131 of file constant.php.

Referenced by Acc_Ledger_Purchase\verify().

const ATTR_DEF_ACCOUNT_ND_TVA 50

Definition at line 129 of file constant.php.

Referenced by Acc_Ledger_Purchase\verify().

const ATTR_DEF_ACCOUNT_ND_TVA_ND 51

Definition at line 130 of file constant.php.

Referenced by Acc_Ledger_Purchase\verify().

const ATTR_DEF_ADRESS 14
const ATTR_DEF_BQ_NAME 4

Definition at line 107 of file constant.php.

Referenced by Document\Replace().

const ATTR_DEF_BQ_NO 3

Definition at line 106 of file constant.php.

Referenced by Document\Replace().

const ATTR_DEF_CITY 24
const ATTR_DEF_COMPANY 25

Definition at line 119 of file constant.php.

Referenced by contact\Summary().

const ATTR_DEF_CP 15
const ATTR_DEF_DEP_PRIV 31

Definition at line 122 of file constant.php.

Referenced by Acc_Ledger_Purchase\insert(), and Acc_Ledger_Purchase\verify().

const ATTR_DEF_DEPENSE_NON_DEDUCTIBLE 20

Definition at line 123 of file constant.php.

Referenced by Acc_Ledger_Purchase\insert(), and Acc_Ledger_Purchase\verify().

const ATTR_DEF_EMAIL 18

Definition at line 117 of file constant.php.

const ATTR_DEF_FAX 26

Definition at line 120 of file constant.php.

const ATTR_DEF_FIRST_NAME 32

Definition at line 127 of file constant.php.

Referenced by Fiche\Display().

const ATTR_DEF_NAME 1
const ATTR_DEF_NUMBER_CUSTOMER 30

Definition at line 121 of file constant.php.

Referenced by Document\Replace().

const ATTR_DEF_NUMTVA 13

Definition at line 111 of file constant.php.

Referenced by Document\Replace().

const ATTR_DEF_PAYS 16

Definition at line 114 of file constant.php.

Referenced by Document\Replace(), and Fiche\Summary().

const ATTR_DEF_PRIX_ACHAT 7

Definition at line 108 of file constant.php.

const ATTR_DEF_PRIX_VENTE 6

Definition at line 109 of file constant.php.

const ATTR_DEF_QUICKCODE 23
const ATTR_DEF_STOCK 19

Definition at line 115 of file constant.php.

Referenced by Stock_Goods\insert_goods(), and Stock_Goods\save().

const ATTR_DEF_TEL 17

Definition at line 116 of file constant.php.

const ATTR_DEF_TVA 2
const ATTR_DEF_TVA_NON_DEDUCTIBLE 21

Definition at line 124 of file constant.php.

Referenced by Acc_Ledger_Purchase\insert(), and Acc_Ledger_Purchase\verify().

const ATTR_DEF_TVA_NON_DEDUCTIBLE_RECUP 22

Definition at line 125 of file constant.php.

Referenced by Acc_Ledger_Purchase\insert(), and Acc_Ledger_Purchase\verify().

const BADDATE 2

Definition at line 70 of file constant.php.

const BADPARM 1

Definition at line 69 of file constant.php.

const CLOSED 0

Definition at line 91 of file constant.php.

Referenced by IPeriod\input().

const COMPTA_MAX_YEAR 2100

Definition at line 62 of file constant.php.

Referenced by Periode\insert(), and isDate().

const COMPTA_MIN_YEAR 1990

Definition at line 63 of file constant.php.

Referenced by isDate().

const DBVERSION 106

Definition at line 50 of file constant.php.

Referenced by Database\apply_patch().

const DBVERSIONREPO 14

Definition at line 52 of file constant.php.

const DEBUG false
const DIFF_AMOUNT 8

Definition at line 76 of file constant.php.

const ERROR 12

Definition at line 82 of file constant.php.

const FICHE_TYPE_ACH_MAR 2

Definition at line 141 of file constant.php.

Referenced by Acc_Ledger\get_detail().

const FICHE_TYPE_ACH_SER 3

Definition at line 142 of file constant.php.

Referenced by Acc_Ledger\get_detail().

const FICHE_TYPE_ADM_TAX 14

Definition at line 140 of file constant.php.

Referenced by Admin\Admin().

const FICHE_TYPE_CLIENT 9

Definition at line 134 of file constant.php.

Referenced by Customer\Customer(), Acc_Ledger\get_detail(), and Fiche\test_me().

const FICHE_TYPE_CONTACT 16

Definition at line 138 of file constant.php.

Referenced by contact\contact().

const FICHE_TYPE_EMPL 25

Definition at line 139 of file constant.php.

const FICHE_TYPE_FIN 4

Definition at line 137 of file constant.php.

Referenced by Bank\__construct().

const FICHE_TYPE_FOURNISSEUR 8

Definition at line 136 of file constant.php.

Referenced by Acc_Ledger\get_detail(), and Supplier\Supplier().

const FICHE_TYPE_VENTE 1

Definition at line 135 of file constant.php.

Referenced by Acc_Ledger\get_detail().

const FIRST 0

Definition at line 81 of file constant.php.

const INVALID_ECH 5

Definition at line 73 of file constant.php.

const JS_INFOBULLE ' <DIV id="bulle" class="infobulle"></DIV> <script type="text/javascript" language="javascript" src="js/infobulle.js"> </script>'

Definition at line 145 of file constant.php.

Referenced by load_all_script().

const LAST 1

Definition at line 80 of file constant.php.

const MAX_ARTICLE 12
const MAX_CARD_SEARCH 50

Definition at line 58 of file constant.php.

const MAX_CAT 15

Definition at line 57 of file constant.php.

Referenced by Anticipation\form_cat_mod(), and Anticipation\form_cat_new().

const MAX_COMPTE 4

Definition at line 55 of file constant.php.

const MAX_COMPTE_CARD 4

Definition at line 61 of file constant.php.

const MAX_FORECAST_ITEM 10

Definition at line 59 of file constant.php.

Referenced by Anticipation\form_item().

const MAX_PREDEFINED_OPERATION 30

Definition at line 60 of file constant.php.

Referenced by Pre_operation\save().

const MAX_RECONCILE 25

Definition at line 64 of file constant.php.

const MENU_FACT 1

Definition at line 96 of file constant.php.

const MENU_FICHE 2

Definition at line 97 of file constant.php.

const MENU_PARAM 3

Definition at line 98 of file constant.php.

const NO 0

Definition at line 89 of file constant.php.

const NO_PERIOD_SELECTED 10

Definition at line 78 of file constant.php.

const NO_POST_SELECTED 11

Definition at line 79 of file constant.php.

const NOERROR 0

Definition at line 68 of file constant.php.

const NOTCENTRALIZED 3

Definition at line 92 of file constant.php.

Referenced by IPeriod\input().

const NOTFOUND '--not found--'
const NOTPERIODE 3

Definition at line 71 of file constant.php.

const OPEN 1
const PERIODCLOSED 4

Definition at line 72 of file constant.php.

const RAPPT_ALREADY_USED 6

Definition at line 74 of file constant.php.

const RAPPT_NOMATCH_AMOUNT 9

Definition at line 77 of file constant.php.

const RAPPT_NOT_EXIST 7

Definition at line 75 of file constant.php.

const SITE_UPDATE 'http://www.phpcompta.eu/last_version.txt'

Definition at line 46 of file constant.php.

const SITE_UPDATE_PLUGIN 'http://www.phpcompta.eu/plugin_last_version.txt'

Definition at line 47 of file constant.php.

Referenced by Extension\check_plugin_version().

const SQL_LIST_ALL_INVOICE ""

Definition at line 152 of file constant.php.

const SQL_LIST_UNPAID_INVOICE " (jr_rapt is null or jr_rapt = '') and jr_valid = true "
const SQL_LIST_UNPAID_INVOICE_DATE_LIMIT " where (jr_rapt is null or jr_rapt = '') and to_date(to_char(jr_ech,'DD.MM.YYYY'),'DD.MM.YYYY') < to_date(to_char(now(),'DD.MM.YYYY'),'DD.MM.YYYY') and jr_valid = true"

Definition at line 158 of file constant.php.

Referenced by Acc_Ledger_Sold\show_unpaid(), and Acc_Ledger_Purchase\show_unpaid().

const YES 1

Definition at line 88 of file constant.php.