show the state of the repository More...
Go to the source code of this file.
Variables | |
| global | $cn |
| $date_limit = $per->limit_year($per->p_exercice) | |
| global | $g_parameter |
| global | $g_user |
| $iexercice = new ISelect('state_exercice') | |
| $last_day = $per->last_day($date_limit['end']) | |
| $per = new Periode($cn,$g_user->get_periode()) | |
| $presentation = new ISelect("present") | |
| $stock = new Stock($cn) | |
| $iexercice | selected = (isset($_GET['state_exercice']))?$_GET['state_exercice']:$last_day |
| $iexercice | value = $cn->make_array("select max(p_end) as date_end, p_exercice from parm_periode group by p_exercice order by 2 desc") |
show the state of the repository
Definition in file stock_state.inc.php.
| global $cn |
Definition at line 29 of file stock_state.inc.php.
| $date_limit = $per->limit_year($per->p_exercice) |
Definition at line 39 of file stock_state.inc.php.
Referenced by Acc_Ledger_Sold\confirm(), Acc_Ledger_Purchase\confirm(), and Acc_Ledger\confirm().
| global $g_parameter |
Definition at line 29 of file stock_state.inc.php.
| global $g_user |
Definition at line 29 of file stock_state.inc.php.
| $iexercice = new ISelect('state_exercice') |
Definition at line 35 of file stock_state.inc.php.
Referenced by Periode\display_form_periode().
| $last_day = $per->last_day($date_limit['end']) |
Definition at line 40 of file stock_state.inc.php.
Definition at line 37 of file stock_state.inc.php.
Referenced by Anticipation\display(), Periode\find_periode(), Anticipation\form_cat_new(), Acc_Ledger_Fin\insert(), Stock_Goods\record_save(), Acc_Ledger\reverse(), Acc_Ledger\search_form(), and Acc_Ledger_Sold\verify().
| $presentation = new ISelect("present") |
Definition at line 44 of file stock_state.inc.php.
Definition at line 52 of file stock_state.inc.php.
| $presentation selected = (isset($_GET['state_exercice']))?$_GET['state_exercice']:$last_day |
Definition at line 42 of file stock_state.inc.php.
| $presentation value = $cn->make_array("select max(p_end) as date_end, p_exercice from parm_periode group by p_exercice order by 2 desc") |
Definition at line 36 of file stock_state.inc.php.