noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
ajax_ledger.php File Reference

answer to the ajax request for the ledger it means : More...

Go to the source code of this file.

Variables

if($ledger=="") $access = $g_user->get_ledger_access($ledger)
 
global $cn = Dossier::connect()
 if $_SESSION[SESSION_KEY.
 
 $div = $http->request('div')
 
global $g_parameter = new Noalyss_Parameter_Folder($cn)
 
global $g_user
 Check if we receive the needed data (jr_id...)
 
 $gDossier = dossier::id()
 
if($access=='X') $html = var_export($_REQUEST, true)
 
 $http = new HttpInput()
 
 $jr_id = $http->request('jr_id')
 
 $ledger = $op->get_ledger()
 
if($g_user->check_dossier(dossier::id(), true)=='X') $op = new Acc_Operation($cn)
 
if(!headers_sent()) else
 
$op jr_id = $jr_id
 
 try
 

Detailed Description

answer to the ajax request for the ledger it means :

  • detail of an operation (expert, user and analytic view)
  • removal of an operation
  • load a receipt document
  • for reconcialiation
  • update of analytic content

Definition in file ajax_ledger.php.

Variable Documentation

◆ $access

if ( $ledger=="") $access = $g_user->get_ledger_access($ledger)

Definition at line 110 of file ajax_ledger.php.

◆ $cn

catch (Exception $exc) $cn = Dossier::connect()

if $_SESSION[SESSION_KEY.

'g_user'] is not set : echo a warning

Definition at line 39 of file ajax_ledger.php.

◆ $div

$div = $http->request('div')

Definition at line 45 of file ajax_ledger.php.

◆ $g_parameter

$g_parameter = new Noalyss_Parameter_Folder($cn)

Definition at line 39 of file ajax_ledger.php.

◆ $g_user

global $g_user

Check if we receive the needed data (jr_id...)

Definition at line 39 of file ajax_ledger.php.

◆ $gDossier

$gDossier = dossier::id()

Definition at line 46 of file ajax_ledger.php.

◆ $html

switch ( $action) $html = var_export($_REQUEST, true)

Definition at line 129 of file ajax_ledger.php.

◆ $http

$http = new HttpInput()

Definition at line 34 of file ajax_ledger.php.

◆ $jr_id

◆ $ledger

$ledger = $op->get_ledger()

Definition at line 84 of file ajax_ledger.php.

◆ $op

if ( $g_user->check_dossier(dossier::id(), true)=='X') $op = new Acc_Operation($cn)

Definition at line 82 of file ajax_ledger.php.

◆ else

if (!headers_sent()) else
Initial value:
{
echo "HTML" . unescape_xml($html)
if(headers_sent() &&DEBUGNOALYSS > 0) $html
unescape_xml($p_xml)
replace special char

Definition at line 546 of file ajax_ledger.php.

◆ jr_id

◆ try

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

Definition at line 42 of file ajax_ledger.php.