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

to write into the ledgers ODS a new operation More...

Go to the source code of this file.

Variables

 $cn =Dossier::connect()
 
 $default_currency =new Acc_Currency($cn,0)
 
 $e_date =$http->request("e_date","string","")
 
 $first_ledger =$ledger->get_first('ODS')
 
global $g_parameter
 
global $g_user
 
global $http
 
< tr id="row_currency">< td style="border:1px solid "><?=$default_currency-> get_code()?></td >< td style $iconcerned =new IConcerned('jrn_concerned')
 
 $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(isset($_GET['action']) &&! isset($_POST['correct']) &&! isset($correct)) $p_msg =(isset($p_msg))?$p_msg:""
 
 $p_post =$_POST
 
 $style =' style="display:inline-block;width: 15rem;text-align: right"'
 
$iconcerned amount_id ="totalDeb"
 
$ledger id = ($ledger->id == -1) ? $first_ledger['jrn_def_id'] : $id_ledger
 
 if ($g_user->check_jrn( $ledger->id)=='X')
 

Detailed Description

to write into the ledgers ODS a new operation

Definition in file operation_ods_new.inc.php.

Variable Documentation

◆ $cn

Definition at line 32 of file operation_ods_new.inc.php.

◆ $default_currency

$default_currency =new Acc_Currency($cn,0)

◆ $e_date

$e_date =$http->request("e_date","string","")

Definition at line 139 of file operation_ods_new.inc.php.

◆ $first_ledger

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

Definition at line 38 of file operation_ods_new.inc.php.

◆ $g_parameter

global $g_parameter

Definition at line 31 of file operation_ods_new.inc.php.

◆ $g_user

global $g_user

Definition at line 31 of file operation_ods_new.inc.php.

◆ $http

global $http

Definition at line 31 of file operation_ods_new.inc.php.

◆ $iconcerned

<tr id="row_currency"><td style="border:1px solid "><?=$default_currency-> get_code ()?></td> <td style $iconcerned ( ) =new IConcerned('jrn_concerned')

Definition at line 125 of file operation_ods_new.inc.php.

Referenced by Follow_Up\display().

◆ $id_ledger

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

Definition at line 35 of file operation_ods_new.inc.php.

◆ $id_predef

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

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

◆ $ledger

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

Definition at line 37 of file operation_ods_new.inc.php.

◆ $p_msg

if (isset( $_GET[ 'action']) &&! isset( $_POST[ 'correct']) &&! isset( $correct)) $p_msg =(isset($p_msg))?$p_msg:""

Definition at line 76 of file operation_ods_new.inc.php.

◆ $p_post

$p_post =$_POST

Definition at line 59 of file operation_ods_new.inc.php.

Referenced by Acc_Ledger\test_me().

◆ $style

$style =' style="display:inline-block;width: 15rem;text-align: right"'

Definition at line 89 of file operation_ods_new.inc.php.

◆ amount_id

$iconcerned amount_id ="totalDeb"

◆ id

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

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

◆ if

if($e_date=="" && $g_parameter->MY_DATE_SUGGEST=='Y') ( $g_user->  check_jrn $ledger->id = ='X')

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