phpcompta  Version-6
 All Data Structures Namespaces Files Functions Variables Pages
Variables
compta_fin.inc.php File Reference

this file is to be included to handle the financial ledger More...

Go to the source code of this file.

Variables

 $array =( isset($correct))?$_POST:null
 
 $cn =new Database(dossier::id())
 
global $g_parameter
 
global $g_user
 
 $gDossier =dossier::id()
 
 $jrn_priv =$g_user->get_ledger_access($Ledger->id)
 
 $Ledger =new Acc_Ledger_Fin($cn,0)
 
 $menu_action ="?ledger_type=fin&ac=".$_REQUEST['ac']."&".dossier::get()
 
 else
 
if(empty($def_ledger)) $Ledger id =$def_ledger['jrn_def_id']
 
if(isset($_REQUEST['p_jrn'])&&($jrn_priv==
'X')) if(isset($_POST['save']))
if(isset($_POST['confirm'])) 
if (isset($_POST['correct']))
 

Detailed Description

this file is to be included to handle the financial ledger

Definition in file compta_fin.inc.php.

Variable Documentation

$array =( isset($correct))?$_POST:null

Definition at line 137 of file compta_fin.inc.php.

Definition at line 33 of file compta_fin.inc.php.

global $g_parameter

Definition at line 26 of file compta_fin.inc.php.

global $g_user

Definition at line 26 of file compta_fin.inc.php.

$gDossier =dossier::id()

Definition at line 30 of file compta_fin.inc.php.

$jrn_priv =$g_user->get_ledger_access($Ledger->id)

Definition at line 53 of file compta_fin.inc.php.

$Ledger =new Acc_Ledger_Fin($cn,0)

Definition at line 36 of file compta_fin.inc.php.

$menu_action ="?ledger_type=fin&ac=".$_REQUEST['ac']."&".dossier::get()

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

if (!isset($_POST['e_date'])&&$g_parameter->MY_DATE_SUGGEST=='Y') else
Initial value:
{
$def_ledger=$Ledger->get_first('fin')

Definition at line 45 of file compta_fin.inc.php.

if (empty($def_ledger)) $Ledger id =$def_ledger['jrn_def_id']

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

if (isset($_REQUEST['p_jrn'])&&($jrn_priv== 'X')) if (isset($_POST['save'])) if (isset($_POST['confirm'])) if(isset($_POST['correct']))

Definition at line 124 of file compta_fin.inc.php.