noalyss Version-9
Variables
acc_ledger_history_purchase_oneline.php File Reference

display purchase on one line with sum of VAT, Operation, Private exp. More...

Go to the source code of this file.

Variables

 $max =Database::num_row($ret_reconcile)
 
 $nb_data =count($this->data)
 
 $p_col =($nb_other_tax<>0)?"0,1,2,3,4,5,6,7,8,9,10,11":"0,1,2,3,4,5,6,7,8,9,10,11,12"
 
 $ret_reconcile =$this->db->execute('reconcile_date',array($this->data[$i]['jr_id']))
 
 $tot_amount_novat =0
 
 $tot_amount_private =0
 
 $tot_amount_tvac =0
 
 $tot_amount_vat =0
 
 $tot_nonded_amount =0
 
 $tot_nonded_vat =0
 
 $tot_other_tax =0
 
if($max > 0) endfor
 
for( $i=0; $i< $nb_data; $i++)( $i%2==0)?' class endif =nbm($this->data[$i]['other_tax_amount'])
 

Detailed Description

display purchase on one line with sum of VAT, Operation, Private exp.

Todo:
prévoir aussi pour les non assujetti : faire disparaître les montants TVA

Definition in file acc_ledger_history_purchase_oneline.php.

Variable Documentation

◆ $max

$max =Database::num_row($ret_reconcile)

Definition at line 149 of file acc_ledger_history_purchase_oneline.php.

◆ $nb_data

$nb_data =count($this->data)

Definition at line 81 of file acc_ledger_history_purchase_oneline.php.

◆ $p_col

$p_col =($nb_other_tax<>0)?"0,1,2,3,4,5,6,7,8,9,10,11":"0,1,2,3,4,5,6,7,8,9,10,11,12"

◆ $ret_reconcile

$ret_reconcile =$this->db->execute('reconcile_date',array($this->data[$i]['jr_id']))

Definition at line 148 of file acc_ledger_history_purchase_oneline.php.

◆ $tot_amount_novat

$tot_amount_novat =0

Definition at line 82 of file acc_ledger_history_purchase_oneline.php.

◆ $tot_amount_private

$tot_amount_private =0

Definition at line 85 of file acc_ledger_history_purchase_oneline.php.

◆ $tot_amount_tvac

$tot_amount_tvac =0

Definition at line 84 of file acc_ledger_history_purchase_oneline.php.

◆ $tot_amount_vat

$tot_amount_vat =0

Definition at line 83 of file acc_ledger_history_purchase_oneline.php.

◆ $tot_nonded_amount

$tot_nonded_amount =0

Definition at line 87 of file acc_ledger_history_purchase_oneline.php.

◆ $tot_nonded_vat

$tot_nonded_vat =0

Definition at line 86 of file acc_ledger_history_purchase_oneline.php.

◆ $tot_other_tax

$tot_other_tax =0

Definition at line 88 of file acc_ledger_history_purchase_oneline.php.

◆ endfor

if ( $max > 0) endfor

Definition at line 162 of file acc_ledger_history_purchase_oneline.php.

◆ endif

if ( $this->data[$i]['currency_id'] != '0') ( bcadd($this->data[$i]['sum_oc_amount'], $this->data[$i]['sum_oc_vat_amount'], 2), 2)?> <? endif ( ) =nbm($this->data[$i]['other_tax_amount'])

Definition at line 133 of file acc_ledger_history_purchase_oneline.php.