noalyss Version-9
Variables
stock_state.inc.php File Reference

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")
 

Detailed Description

show the state of the repository

Definition in file stock_state.inc.php.

Variable Documentation

◆ $cn

global $cn

Definition at line 29 of file stock_state.inc.php.

◆ $date_limit

$date_limit =$per->limit_year($per->p_exercice)

◆ $g_parameter

global $g_parameter

Definition at line 29 of file stock_state.inc.php.

◆ $g_user

global $g_user

Definition at line 29 of file stock_state.inc.php.

◆ $iexercice

$iexercice =new ISelect('state_exercice')

Definition at line 34 of file stock_state.inc.php.

◆ $last_day

$last_day =$per->last_day($date_limit['end'])

Definition at line 39 of file stock_state.inc.php.

◆ $per

$per =new Periode($cn,$g_user->get_periode())

◆ $presentation

$presentation =new ISelect("present")

Definition at line 43 of file stock_state.inc.php.

◆ $stock

$stock =new Stock($cn)

Definition at line 51 of file stock_state.inc.php.

◆ selected

$presentation selected =(isset($_GET['state_exercice']))?$_GET['state_exercice']:$last_day

Definition at line 41 of file stock_state.inc.php.

◆ value

$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 35 of file stock_state.inc.php.