noalyss Version-9
Variables
fid.php File Reference

Fid for the ajax request for cards. More...

Go to the source code of this file.

Variables

if(isset($_SESSION[SESSION_KEY. 'isValid']) && $_SESSION[SESSION_KEY. 'isValid']==1) else $a ='{"answer":"unauthorized"}'
 
 $cn =Dossier::connect()
 
 $fLabel =$hi->request("l","string","none")
 
 $fPrice_purchase =$hi->request("b","string","none")
 
 $fPrice_sale =$hi->request("p","string","none")
 
 $fTva_id =$hi->request("t","string","none")
 
global $g_user =new Noalyss_User($cn)
 
if(! isset($_SESSION[SESSION_KEY."g_user"])) $gDossier =dossier::id()
 if not connected, session is expired then exit with a message NOCONX More...
 
 $hi =new HttpInput()
 

Detailed Description

Fid for the ajax request for cards.

See also
fiche_search.php Valid parameter GET are
  • d type = cred, deb, all or filter or any sql where clause if the d starts with [sql]
  • j is the legdger
  • l field for the label
  • t field for the tva_id
  • p field for the price (sale)
  • b field for the price (purchase)
  • FID is the QuickCode
Note
if the j is -1 then all the card are shown

Definition in file fid.php.

Variable Documentation

◆ $a

print $a ='{"answer":"unauthorized"}'

Definition at line 158 of file fid.php.

◆ $cn

Definition at line 48 of file fid.php.

◆ $fLabel

$fLabel =$hi->request("l","string","none")

Definition at line 57 of file fid.php.

◆ $fPrice_purchase

$fPrice_purchase =$hi->request("b","string","none")

Definition at line 60 of file fid.php.

◆ $fPrice_sale

$fPrice_sale =$hi->request("p","string","none")

Definition at line 59 of file fid.php.

◆ $fTva_id

$fTva_id =$hi->request("t","string","none")

Definition at line 58 of file fid.php.

◆ $g_user

$g_user =new Noalyss_User($cn)

Definition at line 49 of file fid.php.

◆ $gDossier

if (! isset( $_SESSION[SESSION_KEY."g_user"])) $gDossier =dossier::id()

if not connected, session is expired then exit with a message NOCONX

Definition at line 46 of file fid.php.

◆ $hi

$hi =new HttpInput()

Definition at line 55 of file fid.php.