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

file included to manage all the operations for the ledger of sales More...

Go to the source code of this file.

Variables

 $ac ="ac=".$strac
 
 $acompte =$http->request("acompte", "string",0)
 
 $action_id =$http->get('ag_id',"string","")
 
if(isset($_REQUEST['p_jrn']) && $g_user->check_jrn($http->request("p_jrn","number")) !='W') if(isset( $_POST[ 'view_invoice'])) if(isset($_POST['record'])) $array =(isset($_POST['correct'])||isset ($correct))?$_POST:null
 
 $cn =Dossier::connect()
 
 $comm_payment =$http->request("e_comm_paiement", "string","")
 
 $date_payment =$http->request("mp_date", "string","")
 
if( $g_parameter->MY_PJ_SUGGEST=='Y') $e_date =$http->request("e_date","string","")
 
global $g_parameter
 
 $gDossier =dossier::id()
 
 $http =new HttpInput()
 
 $Ledger =new Acc_Ledger_Sale($cn,0)
 
 $p_msg =""
 
 $post_jrn =$http->post("p_jrn", "string","")
 
 $str_dossier =dossier::get()
 
 $strac =$http->request('ac')
 
 catch (Exception $e)
 
if(isset( $_REQUEST[ 'pre_def'])&&!isset( $_POST[ 'correct']) &&! isset( $correct)) else if(isset($_GET['create_invoice'])) else
 
if(!isset($_REQUEST['p_jrn'])) else if(isset( $_REQUEST[ 'p_jrn'])) else if (isset( $_REQUEST[ 'p_jrn_predef']))
 
 return
 
if($p_msg!="") try
 

Detailed Description

file included to manage all the operations for the ledger of sales

Definition in file compta_ven.inc.php.

Variable Documentation

◆ $ac

$ac ="ac=".$strac

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

◆ $acompte

$acompte =$http->request("acompte", "string",0)

◆ $action_id

$action_id =$http->get('ag_id',"string","")

Definition at line 277 of file compta_ven.inc.php.

◆ $array

if(isset( $_REQUEST[ 'p_jrn']) &&$g_user->check_jrn( $http->request("p_jrn","number")) !='W') if(isset($_POST['view_invoice'])) if (isset( $_POST[ 'record'])) $array =(isset($_POST['correct'])||isset ($correct))?$_POST:null

Definition at line 199 of file compta_ven.inc.php.

◆ $cn

Definition at line 28 of file compta_ven.inc.php.

◆ $comm_payment

$comm_payment =$http->request("e_comm_paiement", "string","")

Definition at line 234 of file compta_ven.inc.php.

◆ $date_payment

$date_payment =$http->request("mp_date", "string","")

Definition at line 233 of file compta_ven.inc.php.

◆ $e_date

if ($g_parameter->MY_PJ_SUGGEST=='Y') $e_date =$http->request("e_date","string","")

◆ $g_parameter

global $g_parameter

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

◆ $gDossier

$gDossier =dossier::id()

Definition at line 27 of file compta_ven.inc.php.

◆ $http

$http =new HttpInput()

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

◆ $Ledger

$Ledger =new Acc_Ledger_Sale($cn,0)

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

◆ $p_msg

$p_msg =""

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

◆ $post_jrn

$post_jrn =$http->post("p_jrn", "string","")

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

◆ $str_dossier

$str_dossier =dossier::get()

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

◆ $strac

$strac =$http->request('ac')

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

◆ catch

catch(Exception $e) ( Exception  $e)

Definition at line 288 of file compta_ven.inc.php.

◆ else

if(isset($_REQUEST['pre_def'])&&!isset($_POST['correct']) &&! isset($correct)) else if (isset( $_GET[ 'create_invoice'])) else
Initial value:
{
echo HtmlInput::hidden("ledger_type", "VEN")
static hidden($p_name, $p_value, $p_id="")

Definition at line 272 of file compta_ven.inc.php.

◆ if

if($e_date=="" && $g_parameter->MY_DATE_SUGGEST=='Y') ( isset( $_REQUEST[ 'p_jrn_predef'])  )

Definition at line 218 of file compta_ven.inc.php.

◆ return

return

Definition at line 316 of file compta_ven.inc.php.

◆ try

if ( $p_msg!="") try
Initial value:
{
$payment=$http->request("e_mp","string", 0)

Definition at line 230 of file compta_ven.inc.php.