noalyss Version-9
Variables
ajax_periode.php File Reference

display or save a periode variable received $op, $cn $g_user variable : act More...

Go to the source code of this file.

Variables

 $a_answer =[]
 
 $a_answer ['status'] ="NOK"
 
 $err =0
 
 $http =new HttpInput()
 
 $js_var =$http->request("js_var")
 
catch(Exception $ex) if( $g_user->check_module("PERIODE")==0) switch($act) $jsson
 
 $ledger_id =$http->request("ledger_id", "number")
 
 $periode_id =$http->request("p_id", "number")
 
 try
 

Detailed Description

display or save a periode variable received $op, $cn $g_user variable : act

ledger_id is the SQL id of ledger

p_id is either the SQL id of parm_periode of jrn_periode, depending if ledger_id == 0 or not The answer must be in JSON

Definition in file ajax_periode.php.

Variable Documentation

◆ $a_answer [1/2]

$a_answer =[]

Definition at line 43 of file ajax_periode.php.

◆ $a_answer [2/2]

$a_answer[ 'status'] ="NOK"

Definition at line 44 of file ajax_periode.php.

◆ $err

$err =0

Definition at line 42 of file ajax_periode.php.

◆ $http

$http =new HttpInput()

Definition at line 45 of file ajax_periode.php.

◆ $js_var

$js_var =$http->request("js_var")

Definition at line 55 of file ajax_periode.php.

◆ $jsson

catch(Exception $ex) if($g_user->check_module("PERIODE")==0) switch ( $act) $jsson
Initial value:
=json_encode($a_answer,
JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES|JSON_NUMERIC_CHECK)
$a_answer

Definition at line 277 of file ajax_periode.php.

◆ $ledger_id

$ledger_id =$http->request("ledger_id", "number")

◆ $periode_id

$periode_id =$http->request("p_id", "number")

Definition at line 51 of file ajax_periode.php.

Referenced by Stock\build_tmp_table().

◆ try

try
Initial value:
{
$act=$http->request("act")
$http

Definition at line 46 of file ajax_periode.php.