noalyss Version-9
Variables
compute.php File Reference

respond ajax request, the get contains the value : More...

Go to the source code of this file.

Variables

 $cn =Dossier::connect()
 
foreach(array('t', 'c', 'p', 'q', 'n', 'gDossier') as $a) $http =new HttpInput()
 
 $other_tax_amount =0
 
 $p =noalyss_str_replace(",",".",$p)
 
 $q =noalyss_str_replace(",",".",$q)
 
 $result =["ctl"=>$n,"htva"=>$amount,"tva"=>"NA","tvac"=>$amount, "other_tax"=>$other_tax_amount]
 
 $tax_ac_id =$http->request("other_tax_id","number",-1)
 
if( $t !=-1 &&isNumber($t)==1) $total =new Acc_Compute()
 
 $User =new Noalyss_user($cn)
 
if(isNUmber($p) &&isNumber($q)) else
 

Detailed Description

respond ajax request, the get contains the value :

Definition in file compute.php.

Variable Documentation

◆ $cn

Definition at line 60 of file compute.php.

◆ $http

foreach (array( 't', 'c', 'p', 'q', 'n', 'gDossier') as $a) $http =new HttpInput()

Definition at line 54 of file compute.php.

◆ $other_tax_amount

$other_tax_amount =0

◆ $p

$p =noalyss_str_replace(",",".",$p)

Definition at line 57 of file compute.php.

◆ $q

$q =noalyss_str_replace(",",".",$q)

Definition at line 58 of file compute.php.

◆ $result

$result =["ctl"=>$n,"htva"=>$amount,"tva"=>"NA","tvac"=>$amount, "other_tax"=>$other_tax_amount]

Definition at line 108 of file compute.php.

◆ $tax_ac_id

$tax_ac_id =$http->request("other_tax_id","number",-1)

Definition at line 55 of file compute.php.

◆ $total

if ($t !=-1 &&isNumber( $t)==1) $total =new Acc_Compute()

Definition at line 79 of file compute.php.

Referenced by Operation_Exercice\display_total(), and PDF_Operation\print_other_tax().

◆ $User

$User =new Noalyss_user($cn)

Definition at line 61 of file compute.php.

◆ else

if( $tax_ac_id !=-1) if ($t !=-1 &&isNumber( $t)==1) else
Initial value:

Definition at line 83 of file compute.php.