noalyss Version-9
Variables
export_receipt.php File Reference

show an attach of an operation More...

Go to the source code of this file.

Variables

if(Database::num_row($r)==0) $a =Database::fetch_array($r,0)
 
catch(Exception $exc) $cn =Dossier::connect()
 
 $file =fopen($tmp,'r')
 
global $g_user
 
 $http =new HttpInput()
 
 $jrn =$a['jr_def_id']
 
 $new_name =$row['jr_pj_name']
 
 $r =$cn->exec_sql("select jr_def_id from jrn where jr_id=$1",array($jr_id))
 
 $receipt_number =clean_filename($row['jr_pj_number'])
 
 $ret
 
 $row =Database::fetch_array($ret,0)
 
if( $row['jr_pj']==null) $tmp =tempnam($_ENV['TMP'],'document_')
 
 try
 
 while (!feof( $file)) echo fread( $file
 

Detailed Description

show an attach of an operation

Definition in file export_receipt.php.

Variable Documentation

◆ $a

Definition at line 47 of file export_receipt.php.

◆ $cn

catch (Exception $exc) $cn =Dossier::connect()

Definition at line 38 of file export_receipt.php.

◆ $file

$file =fopen($tmp,'r')

Definition at line 101 of file export_receipt.php.

◆ $g_user

global $g_user

Definition at line 49 of file export_receipt.php.

◆ $http

$http =new HttpInput()

Definition at line 27 of file export_receipt.php.

◆ $jrn

$jrn =$a['jr_def_id']

◆ $new_name

$new_name =$row['jr_pj_name']

◆ $r

$r =$cn->exec_sql("select jr_def_id from jrn where jr_id=$1",array($jr_id))

Definition at line 40 of file export_receipt.php.

◆ $receipt_number

$receipt_number =clean_filename($row['jr_pj_number'])

Definition at line 84 of file export_receipt.php.

◆ $ret

$ret
Initial value:
=$cn->exec_sql("select jr_pj,jr_pj_name,jr_pj_type,jr_pj_number from jrn where jr_id=$1",
array($jr_id))
$jr_id
Definition: ajax_ledger.php:44
catch(Exception $exc) $cn

Definition at line 58 of file export_receipt.php.

◆ $row

$row =Database::fetch_array($ret,0)

Definition at line 64 of file export_receipt.php.

◆ $tmp

if ($row[ 'jr_pj']==null) $tmp =tempnam($_ENV['TMP'],'document_')

Definition at line 81 of file export_receipt.php.

◆ try

try
Initial value:
{
$jr_id=$http->get('jr_id',"number")

Definition at line 29 of file export_receipt.php.

◆ while

while(!feof($file)) echo fread($file ( feof $file)

Definition at line 102 of file export_receipt.php.