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

reconcile operation More...

Go to the source code of this file.

Variables

 $bk_card = new Fiche($cn)
 
 $delta =bcsub($end_extrait,$start_extrait)
 
 $diff = 0
 
if(isset($_GET["p_jrn"]) && $jrn_priv=="X") $end_extrait =$http->post("end_extrait", "string",0)
 
 $filter_year = " j_tech_per in (select p_id from parm_periode where p_exercice='" . $g_user->get_exercice() . "')"
 
global $g_failed
 
global $g_succeed
 
global $http
 
 $iextrait = new IText('ext')
 
 $jrn_priv = ($Ledger->id == 0)?"X":$g_user->get_ledger_access($Ledger->id)
 
 $Ledger = new Acc_Ledger_Fin($cn, 0)
 
 $nend_extrait = new INum('end_extrait')
 
 $nstart_extrait = new INum('start_extrait')
 
 $operation
 
 $r ='<th class=" sorttable_sorted">'.'Date '.Icon_Action::infobulle(17).'</th>'
 
 $receipt =new IFile('file_receipt')
 
 $remain_amount =$delta
 
 $saldo = $bk_card->get_solde_detail($filter_year)
 
 $saldo_not_reconcilied = $bk_card->get_solde_detail($filter_year . " and j_grpt in (select jr_grpt_id from jrn where trim(jr_pj_number) ='' or jr_pj_number is null)")
 
 $saldo_reconcilied = $bk_card->get_solde_detail($filter_year . " and j_grpt in (select jr_grpt_id from jrn where trim(jr_pj_number) != '' and jr_pj_number is not null)")
 
 $select_all =new IButton('select_all')
 
 $selected_amount =0
 
 $start_extrait =$http->post("start_extrait","string", 0)
 
 $take_end =new IButton('select_all')
 
 $tot_not_reconcilied = 0
 
 $wLedger = $Ledger->select_ledger('FIN', 3,FALSE)
 
if(!isset($_REQUEST['p_jrn'])) else
 
 for ( $i=0;$i< count( $operation);$i++)
 
$bk_card id = $Ledger->get_bank()
 
if(isNumber($end_extrait)==0) if(isNumber( $start_extrait)==0) if (isset( $_POST[ 'save']))
 
$wLedger javascript = "onchange='this.form.submit()';"
 
$take_end label =_('Reprendre le solde de fin')
 
if(count($operation) >0) return
 
$iextrait value =$http->post('ext','string','')
 

Detailed Description

reconcile operation

Definition in file compta_fin_rec.inc.php.

Variable Documentation

◆ $bk_card

$bk_card = new Fiche($cn)

Definition at line 356 of file compta_fin_rec.inc.php.

◆ $delta

$delta =bcsub($end_extrait,$start_extrait)

◆ $diff

$diff = 0

◆ $end_extrait

if (isset( $_GET["p_jrn"]) &&$jrn_priv=="X") $end_extrait =$http->post("end_extrait", "string",0)

Definition at line 171 of file compta_fin_rec.inc.php.

◆ $filter_year

$filter_year = " j_tech_per in (select p_id from parm_periode where p_exercice='" . $g_user->get_exercice() . "')"

◆ $g_failed

global $g_failed

◆ $g_succeed

global $g_succeed

◆ $http

global $http

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

◆ $iextrait

$iextrait = new IText('ext')

Definition at line 271 of file compta_fin_rec.inc.php.

◆ $jrn_priv

$jrn_priv = ($Ledger->id == 0)?"X":$g_user->get_ledger_access($Ledger->id)

Definition at line 165 of file compta_fin_rec.inc.php.

◆ $Ledger

$Ledger = new Acc_Ledger_Fin($cn, 0)

Definition at line 151 of file compta_fin_rec.inc.php.

◆ $nend_extrait

$nend_extrait = new INum('end_extrait')

Definition at line 278 of file compta_fin_rec.inc.php.

◆ $nstart_extrait

$nstart_extrait = new INum('start_extrait')

Definition at line 274 of file compta_fin_rec.inc.php.

◆ $operation

$operation
Initial value:
= $cn->get_array("select jr_id,jr_internal,
jr_comment,
to_char(jr_date,'DD.MM.YYYY') as fmt_date,
jr_montant,
to_char(jr_date,'YYYYMMDD') as raw_date
from jrn where jr_def_id=$1 and (jr_pj_number is null or jr_pj_number='') order by jr_date", array($Ledger->id))

Definition at line 263 of file compta_fin_rec.inc.php.

Referenced by Acc_Operation\form_clone_operation(), Acc_Account_Ledger\HtmlTable(), Fiche\HtmlTable(), Operation_Exercice\input_row(), Operation_Exercice\input_transfer(), Acc_Ledger_Search\list_operation(), Acc_Ledger_Search\list_operation_to_reconcile(), and PDF_Operation\print_reconcilied_operation().

◆ $r

$r ='<th class=" sorttable_sorted">'.'Date '.Icon_Action::infobulle(17).'</th>'

Definition at line 302 of file compta_fin_rec.inc.php.

◆ $receipt

$receipt =new IFile('file_receipt')

◆ $remain_amount

$remain_amount =$delta

Definition at line 313 of file compta_fin_rec.inc.php.

◆ $saldo

$saldo = $bk_card->get_solde_detail($filter_year)

Definition at line 367 of file compta_fin_rec.inc.php.

Referenced by Acc_Ledger\previous_amount().

◆ $saldo_not_reconcilied

$saldo_not_reconcilied = $bk_card->get_solde_detail($filter_year . " and j_grpt in (select jr_grpt_id from jrn where trim(jr_pj_number) ='' or jr_pj_number is null)")

Definition at line 361 of file compta_fin_rec.inc.php.

◆ $saldo_reconcilied

$saldo_reconcilied = $bk_card->get_solde_detail($filter_year . " and j_grpt in (select jr_grpt_id from jrn where trim(jr_pj_number) != '' and jr_pj_number is not null)")

Definition at line 364 of file compta_fin_rec.inc.php.

◆ $select_all

$select_all =new IButton('select_all')

◆ $selected_amount

$selected_amount =0

Definition at line 312 of file compta_fin_rec.inc.php.

◆ $start_extrait

$start_extrait =$http->post("start_extrait","string", 0)

Definition at line 172 of file compta_fin_rec.inc.php.

◆ $take_end

$take_end =new IButton('select_all')

Definition at line 285 of file compta_fin_rec.inc.php.

◆ $tot_not_reconcilied

$tot_not_reconcilied = 0

Definition at line 309 of file compta_fin_rec.inc.php.

◆ $wLedger

$wLedger = $Ledger->select_ledger('FIN', 3,FALSE)

◆ else

if (!isset( $_REQUEST[ 'p_jrn'])) else
Initial value:
{
$Ledger->id =$http->request("p_jrn","number",0)
global $http

Definition at line 161 of file compta_fin_rec.inc.php.

◆ for

for($i=0; $i< count($operation); $i++) ( )

Definition at line 314 of file compta_fin_rec.inc.php.

◆ id

$bk_card id = $Ledger->get_bank()

Definition at line 357 of file compta_fin_rec.inc.php.

◆ if

if(isNumber( $end_extrait)==0) if(isNumber($start_extrait)==0) if(isset($_POST['save'])) ( isset( $_POST[ 'save'])  )

Definition at line 190 of file compta_fin_rec.inc.php.

◆ javascript

$select_all javascript = "onchange='this.form.submit()';"

Definition at line 252 of file compta_fin_rec.inc.php.

◆ label

$select_all label =_('Reprendre le solde de fin')

Definition at line 286 of file compta_fin_rec.inc.php.

◆ return

if (count( $operation) >0) return

Definition at line 426 of file compta_fin_rec.inc.php.

◆ value

$nend_extrait value =$http->post('ext','string','')

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