diff --git a/include/class/acc_ledger.class.php b/include/class/acc_ledger.class.php index f9b0bc7f5..245073afa 100644 --- a/include/class/acc_ledger.class.php +++ b/include/class/acc_ledger.class.php @@ -35,35 +35,35 @@ require_once NOALYSS_INCLUDE.'/database/operation_currency_sql.class.php'; class Acc_Ledger extends jrn_def_sql { - var $id; /**!< jrn_def.jrn_def_id */ - var $db; /**!< database connextion */ - var $row; /**!< row of the ledger */ - var $ledger_type; /**!< type of the ledger ACH ODS FIN VEN or GL */ - var $nb; /**!< default number of rows by default 10 */ - var $currency_id;/**!< $currency_id (int) SQL:CURRENCY.ID default 0 */ - /**!< is_loaded true the ledger definition is loaded or false, it is not */ + var $id; /*!< jrn_def.jrn_def_id */ + var $db; /*!< database connextion */ + var $row; /*!< row of the ledger */ + var $ledger_type; /*!< type of the ledger ACH ODS FIN VEN or GL */ + var $nb; /*!< default number of rows by default 10 */ + var $currency_id;/*!< $currency_id (int) SQL:CURRENCY.ID default 0 */ + /*!< is_loaded true the ledger definition is loaded or false, it is not */ protected $is_loaded ; var $ledger_name; - var $jr_internal ; /**!< $jr_internal (string) internal number for an operation */ - var $jr_id; /**!< $jr_id (int) SQL : PK JRN.JR_ID */ - var $jrn_def_max_line_deb ; /**!< $jr_id (int) PK.JRN */ - var $jrn_def_id; /**!< $jrn_def_id(INT) jrn_def.jrn_def_id */ - var $jrn_def_name; /**!< $jrn_def_name(string) ledger name */ - var $jrn_def_ech_lib; /**!< $jrn_def_ech_lib (string) text for limit date */ - var $jrn_def_type; /**!< $jrn_def_type(string) type of the ledger ACH,VEN,ODS,FIN */ - var $jrn_def_pj_pref; /**!< $jrn_def_pj_pref(string) prefix for receipt */ - var $jrn_deb_max_line;/**!< $jrn_deb_max_line(int) max rows to display*/ - var $jrn_def_description; /**!< $jrn_def_description(string) ledger description */ - var $jrn_enable; /**!< $jrn_enable (0 or 1)0:ledger not available, 1:ledger available */ - var $jrn_def_negative_amount; /**!< $jrn_def_negative_amount (0-1) 0: ledger use positive or negative amount, 1: ledger should use negative amount */ - var $jrn_def_negative_warning; /**!<$jrn_def_negative_warning (string) string to display if the amount is not positive (see $jrn_def_negative_amount) */ - var $jrn_def_quantity; /**!< $jrn_def_quantity (0-1) 0 no quantity for operations + var $jr_internal ; /*!< $jr_internal (string) internal number for an operation */ + var $jr_id; /*!< $jr_id (int) SQL : PK JRN.JR_ID */ + var $jrn_def_max_line_deb ; /*!< $jr_id (int) PK.JRN */ + var $jrn_def_id; /*!< $jrn_def_id(INT) jrn_def.jrn_def_id */ + var $jrn_def_name; /*!< $jrn_def_name(string) ledger name */ + var $jrn_def_ech_lib; /*!< $jrn_def_ech_lib (string) text for limit date */ + var $jrn_def_type; /*!< $jrn_def_type(string) type of the ledger ACH,VEN,ODS,FIN */ + var $jrn_def_pj_pref; /*!< $jrn_def_pj_pref(string) prefix for receipt */ + var $jrn_deb_max_line;/*!< $jrn_deb_max_line(int) max rows to display*/ + var $jrn_def_description; /*!< $jrn_def_description(string) ledger description */ + var $jrn_enable; /*!< $jrn_enable (0 or 1)0:ledger not available, 1:ledger available */ + var $jrn_def_negative_amount; /*!< $jrn_def_negative_amount (0-1) 0: ledger use positive or negative amount, 1: ledger should use negative amount */ + var $jrn_def_negative_warning; /*!<$jrn_def_negative_warning (string) string to display if the amount is not positive (see $jrn_def_negative_amount) */ + var $jrn_def_quantity; /*!< $jrn_def_quantity (0-1) 0 no quantity for operations * 1 has quantity */ - var $with_concerned; /**!< $with_concerned(bool) : true is operation comes with + var $with_concerned; /*!< $with_concerned(bool) : true is operation comes with another one, */ var $jr_grpt_id ; /**! $jr_grpt_id (int) SQL JRN.JR_GRP_ID group rows of an operations */ - var $pj; /**!< $pj (string) nb receipt of the operation */ + var $pj; /*!< $pj (string) nb receipt of the operation */ /** * @brief construct * @param $p_cn database connexion diff --git a/include/class/anc_group.class.php b/include/class/anc_group.class.php index 11a754775..2e2a30bdf 100644 --- a/include/class/anc_group.class.php +++ b/include/class/anc_group.class.php @@ -30,10 +30,11 @@ require_once NOALYSS_INCLUDE.'/constant.php'; */ class Anc_Group extends Anc_Print { - var $db; - var $ga_id; - var $ga_description; - var $pa_id; + var $db; /*!< $db (Database) Database connexion */ + var $ga_id; /*!< $ga_id (int) PK GROUPE_ANALYTIQUE.GA_ID */ + var $ga_description; /*!< $ga_description (string) name of the group */ + var $pa_id; /*!< $pa_id (int) id PLAN_ANALYTIC.PA_ID */ + var $pa_name; /*!< $pa_name (string) name of the Analytic Axis */ function __construct ( $p_cn ) { diff --git a/include/class/anc_group_operation.class.php b/include/class/anc_group_operation.class.php index 67dc0cab2..e4af001e7 100644 --- a/include/class/anc_group_operation.class.php +++ b/include/class/anc_group_operation.class.php @@ -38,7 +38,7 @@ class Anc_Group_Operation var $a_operation; /*!< array of operations */ var $date; /*!< date of the operations */ var $pa_id; /*!< the concerned pa_id */ - + var $nMaxRow; /*!< $nMaxRow (int) max row to display */ /*!\brief constructor */ function __construct($p_cn,$p_id=0) { diff --git a/include/class/anc_key.class.php b/include/class/anc_key.class.php index ab5c22bc4..037413ebd 100644 --- a/include/class/anc_key.class.php +++ b/include/class/anc_key.class.php @@ -39,6 +39,9 @@ class Anc_Key { private $key; /*! the distribution key */ + protected $a_ledger; + protected $a_activity; + protected $a_row; /** *@brief Return the number of keys available. * Return the number of keys available for the ledger given in parameter diff --git a/include/class/pdfbalance_simple.class.php b/include/class/pdfbalance_simple.class.php index e348977d3..f56be0971 100644 --- a/include/class/pdfbalance_simple.class.php +++ b/include/class/pdfbalance_simple.class.php @@ -29,6 +29,11 @@ class PDFBalance_simple extends PDF { + var $dossier; /*!< $dossier (string) Title */ + var $from_poste ; /*! $from_poste (text) lowest limit (alpha. order)*/ + var $to_poste ; /*! $from_poste (text) highest limit (alpha. order)*/ + var $from ; /*! $from(date dd.mm.yyyy) lowest date */ + var $to; /*! $to (date dd.mm.yyyy) highest date */ /** *@brief set_info(dossier,from poste,to poste, from periode, to periode) *@param $p_from_poste start = poste