noalyss Version-9
Variables
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. More...
 
 $div = $http->request('div')
 
global $g_parameter = new Noalyss_Parameter_Folder($cn)
 
global $g_user
 Check if we receive the needed data (jr_id...) More...
 
 $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 :

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

$jr_id = $http->request('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($access=='X') $html
unescape_xml($p_xml)
replace special char

Definition at line 544 of file ajax_ledger.php.

◆ jr_id

$op jr_id = $jr_id

Definition at line 83 of file ajax_ledger.php.

Referenced by Acc_Reconciliation\__construct(), Acc_Operation\__construct(), Acc_Detail\__construct(), PDF_Operation\__construct(), Acc_Operation\__toString(), Acc_Reconciliation\auto_letter(), Acc_Ledger\delete(), Acc_Reconciliation\fill_info(), Acc_Operation\get(), Acc_Detail\get(), Acc_Fin\get(), Acc_Reconciliation\get(), Acc_Operation\get_amount(), Acc_Operation\get_currency_amount(), Acc_Operation\get_info(), Acc_Operation\get_internal(), Acc_Operation\get_jrnx_detail(), Acc_Operation\get_ledger(), Acc_Reconciliation\get_not_reconciled(), Acc_Operation\get_quant(), Acc_Reconciliation\get_reconciled(), Acc_Operation\get_sum_other_tax(), Acc_Ledger_Purchase\insert(), Acc_Ledger_Sale\insert(), Acc_Ledger_Info\insert(), Acc_Operation\insert_jrn(), Acc_Reconciliation\insert_rapt(), Acc_Ledger_Info\load_all(), Acc_Operation\operation_update_comment(), Acc_Operation\operation_update_date_limit(), PDF_Operation\print_acc_writing(), PDF_Operation\print_anc_writing(), PDF_Operation\print_other_tax(), PDF_Operation\print_reconcilied_operation(), Acc_Reconciliation\remove(), Acc_Ledger\reverse(), Acc_Ledger_Info\save_extra(), Acc_Ledger\save_followup(), Acc_Operation\save_info(), Acc_Ledger_Info\search_id_internal(), Acc_Operation\seek_group(), Acc_Operation\seek_internal(), Acc_Operation\set_id(), Acc_Reconciliation\set_jr_id(), Acc_Ledger_Info\set_jrn_id(), Acc_Operation\set_paid(), Acc_Operation\set_pj(), and Acc_Ledger_Info\update().

◆ try

try
Initial value:
{
$action = $http->request('act')
$action
$http
Definition: ajax_ledger.php:34

Definition at line 42 of file ajax_ledger.php.