noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
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 |
display result of tax detail
Definition in file tax_detail-html.php.
$aTotaux =array() |
Definition at line 28 of file tax_detail-html.php.
if ($delta_control !=0) $aTotaux[ 'amount'] =bcadd($aTotaux['amount'],$item['j_montant'],2) |
Definition at line 77 of file tax_detail-html.php.
$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[ 'amount_nd_tva'] =bcadd($aTotaux['amount_nd_tva'],$item['qp_nd_tva'],2) |
Definition at line 79 of file tax_detail-html.php.
$aTotaux[ 'autoreverse'] =bcadd($aTotaux['autoreverse'],$item['qp_vat_sided'],2) |
Definition at line 82 of file tax_detail-html.php.
$aTotaux[ 'vat_amount'] =bcadd($aTotaux['vat_amount'],$item['vat_amount'],2) |
Definition at line 78 of file tax_detail-html.php.
foreach ( $data as $item) $class =($idx%2==0)?'even':'odd' |
Definition at line 52 of file tax_detail-html.php.
$control =bcmul($item['tva_rate'],$item['j_montant'],4) |
Definition at line 54 of file tax_detail-html.php.
global $data |
Definition at line 26 of file tax_detail-html.php.
$delta_control =bcsub($control,$item['vat_amount'],2) |
Definition at line 55 of file tax_detail-html.php.
$idx =0 |
Definition at line 49 of file tax_detail-html.php.
$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 ="" |
Definition at line 57 of file tax_detail-html.php.
endforeach |
Definition at line 31 of file tax_detail-html.php.