noalyss Version-9
Variables
export_fiche_balance_pdf.php File Reference

Called by impress->category, export in PDF the history of a category or balance of card. More...

Go to the source code of this file.

Variables

 $allcard =(isset($_GET['allcard']))?1:0
 
 $cat = $http->get("cat")
 
 $cn =Dossier::connect()
 
for($e=0; $e< count($afiche); $e++) $fDate =date('dmy-Hi')
 
 $gDossier =dossier::id()
 
 $histo = $http->get("histo")
 
 $http =new HttpInput()
 
 $name =$cn->get_value('select fd_label from fiche_def where fd_id=$1',array($cat))
 
 $pdf =new PDF($cn)
 
if($histo==4|| $histo==5) else
 
 exit
 

Detailed Description

Called by impress->category, export in PDF the history of a category or balance of card.

Definition in file export_fiche_balance_pdf.php.

Variable Documentation

◆ $allcard

$allcard =(isset($_GET['allcard']))?1:0

Definition at line 51 of file export_fiche_balance_pdf.php.

◆ $cat

$cat = $http->get("cat")

Definition at line 38 of file export_fiche_balance_pdf.php.

◆ $cn

Definition at line 32 of file export_fiche_balance_pdf.php.

◆ $fDate

for ( $e=0;$e< count( $afiche);$e++) $fDate ( ) =date('dmy-Hi')

Definition at line 289 of file export_fiche_balance_pdf.php.

◆ $gDossier

$gDossier =dossier::id()

Definition at line 31 of file export_fiche_balance_pdf.php.

◆ $histo

$histo = $http->get("histo")

Definition at line 39 of file export_fiche_balance_pdf.php.

Referenced by HtmlInput\card_detail().

◆ $http

$http =new HttpInput()

Definition at line 36 of file export_fiche_balance_pdf.php.

◆ $name

$name =$cn->get_value('select fd_label from fiche_def where fd_id=$1',array($cat))

Definition at line 41 of file export_fiche_balance_pdf.php.

◆ $pdf

$pdf =new PDF($cn)

Definition at line 43 of file export_fiche_balance_pdf.php.

◆ else

if ( $histo==4||$histo==5) else
Initial value:
{
if ($allcard == 1)
{
$afiche = $cn->get_array("select fd_id from vw_fiche_def where ad_id=" . ATTR_DEF_ACCOUNT . " order by fd_label asc");
}
else
{
$afiche[0] = array('fd_id' => $http->request('cat'));
}
$fic=new Fiche($cn)
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition: fiche.class.php:38
const ATTR_DEF_ACCOUNT
Definition: constant.php:215
$afiche[0]
Definition: fiche.inc.php:482

Definition at line 154 of file export_fiche_balance_pdf.php.

◆ exit

exit

Definition at line 291 of file export_fiche_balance_pdf.php.