noalyss Version-9
Variables
export_balance_pdf.php File Reference

Print the balance in pdf format. More...

Go to the source code of this file.

Variables

 $a = $pPeriode->get_date_limit($from_periode)
 
 $array = $bal->get_row($from_periode, $to_periode, $previous)
 
 $b = $pPeriode->get_date_limit($to_periode)
 
 $bal = new Acc_Balance($cn)
 
 $cn = Dossier::connect()
 
if(!empty( $array)) if($is_summary==1) $fDate = date('dmy-Hi')
 empty More...
 
 $from_poste = $http->request("from_poste")
 
 $gDossier = dossier::id()
 
 $http = new HttpInput()
 
 $is_summary = $http->get("summary", "string", 0)
 
foreach($a_sum as $a) $lvl1_old = ''
 
 $lvl2_old = ''
 
 $lvl3_old = ''
 
 $p_filter = $http->request("p_filter", "string")
 
 $per_text = sprintf(_("Du %s au %s" ), $a['p_start'] ,$b['p_end'])
 
if(sizeof($array)==0) $pPeriode = new Periode($cn)
 
 $previous = (isset($_GET['previous_exc'])) ? 1 : 0
 
 $rep = new Database()
 
 $summary_prev_tab = $bal->summary_init()
 
catch(Exception $exc) $summary_tab = $bal->summary_init()
 
 $to_periode = $http->request("to_periode")
 
 $to_poste = $http->request("to_poste")
 
 $tot_opening = 0
 
 $tp_cred = 0
 
 $tp_cred_previous = 0
 
 $tp_deb = 0
 
 $tp_deb_previous = 0
 
 $tp_solc = 0
 
 $tp_solc_previous = 0
 
 $tp_sold = 0
 
 $tp_sold_previous = 0
 
if($previous==1) else
 
switch($p_filter) $bal from_poste = $from_poste
 
$bal jrn = null
 
$bal to_poste = $to_poste
 
 try
 

Detailed Description

Print the balance in pdf format.

Parameters
receivedparameters
e_dateelement 01.01.2003
e_clientelement 3
nb_itemelement 2
e_march0element 11
e_quant0element 1
e_march1element 6
e_quant1element 2
e_commentinvoice number

Definition in file export_balance_pdf.php.

Variable Documentation

◆ $a

$a = $pPeriode->get_date_limit($from_periode)

Definition at line 102 of file export_balance_pdf.php.

◆ $array

$array = $bal->get_row($from_periode, $to_periode, $previous)

Definition at line 91 of file export_balance_pdf.php.

◆ $b

$b = $pPeriode->get_date_limit($to_periode)

◆ $bal

$bal = new Acc_Balance($cn)

Definition at line 44 of file export_balance_pdf.php.

◆ $cn

Definition at line 40 of file export_balance_pdf.php.

◆ $fDate

if(!empty($array)) if ( $is_summary==1) $fDate = date('dmy-Hi')

empty

Definition at line 343 of file export_balance_pdf.php.

◆ $from_poste

$from_poste = $http->request("from_poste")

Definition at line 48 of file export_balance_pdf.php.

◆ $gDossier

$gDossier = dossier::id()

Definition at line 38 of file export_balance_pdf.php.

◆ $http

$http = new HttpInput()

Definition at line 36 of file export_balance_pdf.php.

◆ $is_summary

$is_summary = $http->get("summary", "string", 0)

Definition at line 60 of file export_balance_pdf.php.

◆ $lvl1_old

foreach ( $a_sum as $a) $lvl1_old = ''

Definition at line 153 of file export_balance_pdf.php.

◆ $lvl2_old

$lvl2_old = ''

Definition at line 154 of file export_balance_pdf.php.

◆ $lvl3_old

$lvl3_old = ''

Definition at line 155 of file export_balance_pdf.php.

◆ $p_filter

$p_filter = $http->request("p_filter", "string")

Definition at line 50 of file export_balance_pdf.php.

◆ $per_text

$per_text = sprintf(_("Du %s au %s" ), $a['p_start'] ,$b['p_end'])

Definition at line 104 of file export_balance_pdf.php.

◆ $pPeriode

if (sizeof( $array)==0) $pPeriode = new Periode($cn)

◆ $previous

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

Definition at line 89 of file export_balance_pdf.php.

◆ $rep

$rep = new Database()

Definition at line 41 of file export_balance_pdf.php.

◆ $summary_prev_tab

$summary_prev_tab = $bal->summary_init()

Definition at line 59 of file export_balance_pdf.php.

◆ $summary_tab

catch (Exception $exc) $summary_tab = $bal->summary_init()

Definition at line 58 of file export_balance_pdf.php.

◆ $to_periode

$to_periode = $http->request("to_periode")

Definition at line 47 of file export_balance_pdf.php.

Referenced by Acc_Bilan\display_form().

◆ $to_poste

$to_poste = $http->request("to_poste")

Definition at line 49 of file export_balance_pdf.php.

◆ $tot_opening

$tot_opening = 0

Definition at line 138 of file export_balance_pdf.php.

◆ $tp_cred

$tp_cred = 0

Definition at line 135 of file export_balance_pdf.php.

◆ $tp_cred_previous

$tp_cred_previous = 0

Definition at line 140 of file export_balance_pdf.php.

◆ $tp_deb

$tp_deb = 0

Definition at line 134 of file export_balance_pdf.php.

◆ $tp_deb_previous

$tp_deb_previous = 0

Definition at line 139 of file export_balance_pdf.php.

◆ $tp_solc

$tp_solc = 0

Definition at line 137 of file export_balance_pdf.php.

◆ $tp_solc_previous

$tp_solc_previous = 0

Definition at line 142 of file export_balance_pdf.php.

◆ $tp_sold

$tp_sold = 0

Definition at line 136 of file export_balance_pdf.php.

◆ $tp_sold_previous

$tp_sold_previous = 0

Definition at line 141 of file export_balance_pdf.php.

◆ else

if ( $previous==1) else
Initial value:
{
$pdf = new PDF($cn)
API for creating PDF, unicode, based on tfpdf.
Definition: pdf.class.php:34

Definition at line 110 of file export_balance_pdf.php.

◆ from_poste

switch ( $p_filter) $bal from_poste = $from_poste

Definition at line 86 of file export_balance_pdf.php.

◆ jrn

$bal jrn = null

Definition at line 62 of file export_balance_pdf.php.

◆ to_poste

$bal to_poste = $to_poste

Definition at line 87 of file export_balance_pdf.php.

◆ try

try
Initial value:
{
$from_periode = $http->request("from_periode")

Definition at line 45 of file export_balance_pdf.php.