noalyss Version-9
Variables
compta_ods.inc.php File Reference

to write directly into the ledgers,the stock and the tables quant_purchase and quant_sold are not changed by this More...

Go to the source code of this file.

Variables

 $cn = Dossier::connect()
 
 $def = -1
 show a form for quick_writing More...
 
 $first_ledger = $ledger->get_first('ODS')
 
global $g_user
 
global $http
 
 $id_ledger = $http->request('p_jrn', 'number', $id_predef)
 
 $id_predef = $http->request('p_jrn_predef', 'number', -1)
 
 $ledger = new Acc_Ledger($cn, $id_ledger)
 
if($g_user->check_jrn($ledger->id)=='X') $p_msg = ""
 
if(empty($first_ledger)) $ledger id = ($ledger->id == -1) ? $first_ledger['jrn_def_id'] : $id_ledger
 
if(!isset($_POST['summary']) &&!isset($_POST['save'])) elseif(isset( $_POST[ 'summary'])) elseif(isset($_POST['save'])) return
 
$ledger with_concerned = true
 

Detailed Description

to write directly into the ledgers,the stock and the tables quant_purchase and quant_sold are not changed by this

Definition in file compta_ods.inc.php.

Variable Documentation

◆ $cn

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

◆ $def

$def = -1

show a form for quick_writing

Definition at line 52 of file compta_ods.inc.php.

Referenced by Acc_Ledger\input(), Acc_Ledger_Purchase\input(), Acc_Ledger_Sale\input(), and MenuAdmin().

◆ $first_ledger

$first_ledger = $ledger->get_first('ODS')

Definition at line 43 of file compta_ods.inc.php.

◆ $g_user

global $g_user

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

◆ $http

global $http

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

◆ $id_ledger

$id_ledger = $http->request('p_jrn', 'number', $id_predef)

Definition at line 40 of file compta_ods.inc.php.

◆ $id_predef

$id_predef = $http->request('p_jrn_predef', 'number', -1)

Definition at line 39 of file compta_ods.inc.php.

◆ $ledger

$ledger = new Acc_Ledger($cn, $id_ledger)

Definition at line 42 of file compta_ods.inc.php.

◆ $p_msg

if ( $g_user->check_jrn( $ledger->id)=='X') $p_msg = ""

Definition at line 60 of file compta_ods.inc.php.

◆ id

if (empty( $first_ledger)) $ledger id = ($ledger->id == -1) ? $first_ledger['jrn_def_id'] : $id_ledger

Definition at line 49 of file compta_ods.inc.php.

◆ return

if(!isset( $_POST[ 'summary']) &&!isset( $_POST[ 'save'])) elseif(isset($_POST['summary'])) elseif (isset( $_POST[ 'save'])) return

Definition at line 142 of file compta_ods.inc.php.

◆ with_concerned

$ledger with_concerned = true

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

Referenced by Acc_Ledger\confirm().