noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
tax_detail-html.php File Reference

display result of tax detail More...

Go to the source code of this file.

Variables

 $aTotaux =array()
 
if( $delta_control !=0) $aTotaux ['amount'] =bcadd($aTotaux['amount'],$item['j_montant'],2)
 
 $aTotaux ['amount_nd_recup'] =bcadd($aTotaux['amount_nd_recup'],$item['qp_nd_tva_recup'],2)
 
 $aTotaux ['amount_nd_tva'] =bcadd($aTotaux['amount_nd_tva'],$item['qp_nd_tva'],2)
 
 $aTotaux ['autoreverse'] =bcadd($aTotaux['autoreverse'],$item['qp_vat_sided'],2)
 
 $aTotaux ['vat_amount'] =bcadd($aTotaux['vat_amount'],$item['vat_amount'],2)
 
foreach($data as $item) $class =($idx%2==0)?'even':'odd'
 
 $control =bcmul($item['tva_rate'],$item['j_montant'],4)
 
global $data
 
 $delta_control =bcsub($control,$item['vat_amount'],2)
 
 $idx =0
 
 $receipt_number =($item['jr_pj_number']=="")?$item['jr_internal']:$item['jr_pj_number']
 
 $w_amount =""
 
foreach(array('amount', 'vat_amount', 'amount_nd_tva', 'amount_nd_recup', 'autoreverse') as $i_tva) endforeach
 

Detailed Description

display result of tax detail

Definition in file tax_detail-html.php.

Variable Documentation

◆ $aTotaux [1/6]

$aTotaux =array()

Definition at line 28 of file tax_detail-html.php.

◆ $aTotaux [2/6]

if ($delta_control !=0) $aTotaux[ 'amount'] =bcadd($aTotaux['amount'],$item['j_montant'],2)

Definition at line 77 of file tax_detail-html.php.

◆ $aTotaux [3/6]

$aTotaux[ 'amount_nd_recup'] =bcadd($aTotaux['amount_nd_recup'],$item['qp_nd_tva_recup'],2)

Definition at line 80 of file tax_detail-html.php.

◆ $aTotaux [4/6]

$aTotaux[ 'amount_nd_tva'] =bcadd($aTotaux['amount_nd_tva'],$item['qp_nd_tva'],2)

Definition at line 79 of file tax_detail-html.php.

◆ $aTotaux [5/6]

$aTotaux[ 'autoreverse'] =bcadd($aTotaux['autoreverse'],$item['qp_vat_sided'],2)

Definition at line 82 of file tax_detail-html.php.

◆ $aTotaux [6/6]

$aTotaux[ 'vat_amount'] =bcadd($aTotaux['vat_amount'],$item['vat_amount'],2)

Definition at line 78 of file tax_detail-html.php.

◆ $class

foreach ( $data as $item) $class =($idx%2==0)?'even':'odd'

Definition at line 52 of file tax_detail-html.php.

◆ $control

$control =bcmul($item['tva_rate'],$item['j_montant'],4)

Definition at line 54 of file tax_detail-html.php.

◆ $data

global $data

Definition at line 26 of file tax_detail-html.php.

◆ $delta_control

$delta_control =bcsub($control,$item['vat_amount'],2)

Definition at line 55 of file tax_detail-html.php.

◆ $idx

$idx =0

Definition at line 49 of file tax_detail-html.php.

◆ $receipt_number

$receipt_number =($item['jr_pj_number']=="")?$item['jr_internal']:$item['jr_pj_number']

Definition at line 53 of file tax_detail-html.php.

◆ $w_amount

$w_amount =""

Definition at line 57 of file tax_detail-html.php.

◆ endforeach

endforeach

Definition at line 31 of file tax_detail-html.php.