noalyss Version-10
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)
 
$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 108 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 127 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.

◆ jr_id

$op jr_id = $jr_id

Definition at line 83 of file ajax_ledger.php.

Referenced by Acc_Detail\__construct(), Acc_Operation\__construct(), Acc_Reconciliation\__construct(), PDF_Operation\__construct(), Acc_Operation\__toString(), Acc_Reconciliation\auto_letter(), Noalyss\XMLDocument\XMLInvoice\build_data(), Acc_Ledger\create_document(), Acc_Ledger\delete(), Acc_Reconciliation\fill_info(), Acc_Detail\get(), Acc_Fin\get(), Acc_Operation\get(), Acc_Reconciliation\get(), Acc_Operation\get_amount(), Acc_Operation\get_currency_amount(), Acc_Ledger\get_id(), Acc_Operation\get_info(), Acc_Operation\get_internal(), Acc_Operation\get_jrnx_detail(), Acc_Operation\get_ledger(), Acc_Operation\get_quant(), Acc_Operation\get_sum_other_tax(), Acc_Ledger_Fin\insert(), Acc_Ledger_Info\insert(), Acc_Ledger_Purchase\insert(), Acc_Ledger_Sale\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_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(), Tag_Operation\tag_cell(), Acc_Ledger_Info\update(), Acc_Ledger\update_paid(), and Acc_Operation\update_receipt().

◆ try

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

Definition at line 42 of file ajax_ledger.php.