noalyss Version-9
|
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 | |
Print the balance in pdf format.
received | parameters |
e_date | element 01.01.2003 |
e_client | element 3 |
nb_item | element 2 |
e_march0 | element 11 |
e_quant0 | element 1 |
e_march1 | element 6 |
e_quant1 | element 2 |
e_comment | invoice number |
Definition in file export_balance_pdf.php.
$a = $pPeriode->get_date_limit($from_periode) |
Definition at line 102 of file export_balance_pdf.php.
$array = $bal->get_row($from_periode, $to_periode, $previous) |
Definition at line 91 of file export_balance_pdf.php.
$b = $pPeriode->get_date_limit($to_periode) |
Definition at line 103 of file export_balance_pdf.php.
Referenced by Acc_Bilan\compute_formula(), Document_modele\myList(), PDF_Operation\print_other_tax(), PDF_Operation\print_purchase(), PDF_Operation\print_sale(), Acc_Compute\test_me(), Acc_Operation\test_me(), Anc_Group_Operation\test_me(), and ICard\test_me().
$bal = new Acc_Balance($cn) |
Definition at line 44 of file export_balance_pdf.php.
$cn = Dossier::connect() |
Definition at line 40 of file export_balance_pdf.php.
empty
Definition at line 343 of file export_balance_pdf.php.
$from_poste = $http->request("from_poste") |
Definition at line 48 of file export_balance_pdf.php.
$gDossier = dossier::id() |
Definition at line 38 of file export_balance_pdf.php.
$http = new HttpInput() |
Definition at line 36 of file export_balance_pdf.php.
$is_summary = $http->get("summary", "string", 0) |
Definition at line 60 of file export_balance_pdf.php.
foreach ( $a_sum as $a) $lvl1_old = '' |
Definition at line 153 of file export_balance_pdf.php.
$lvl2_old = '' |
Definition at line 154 of file export_balance_pdf.php.
$lvl3_old = '' |
Definition at line 155 of file export_balance_pdf.php.
$p_filter = $http->request("p_filter", "string") |
Definition at line 50 of file export_balance_pdf.php.
$per_text = sprintf(_("Du %s au %s" ), $a['p_start'] ,$b['p_end']) |
Definition at line 104 of file export_balance_pdf.php.
Definition at line 101 of file export_balance_pdf.php.
Referenced by Acc_Ledger_Fin\confirm(), Acc_Ledger_Fin\input(), Acc_Ledger_Fin\insert(), and sql_filter_per().
$previous = (isset($_GET['previous_exc'])) ? 1 : 0 |
Definition at line 89 of file export_balance_pdf.php.
$rep = new Database() |
Definition at line 41 of file export_balance_pdf.php.
$summary_prev_tab = $bal->summary_init() |
Definition at line 59 of file export_balance_pdf.php.
catch (Exception $exc) $summary_tab = $bal->summary_init() |
Definition at line 58 of file export_balance_pdf.php.
$to_periode = $http->request("to_periode") |
Definition at line 47 of file export_balance_pdf.php.
Referenced by Acc_Bilan\display_form().
$to_poste = $http->request("to_poste") |
Definition at line 49 of file export_balance_pdf.php.
$tot_opening = 0 |
Definition at line 138 of file export_balance_pdf.php.
$tp_cred = 0 |
Definition at line 135 of file export_balance_pdf.php.
$tp_cred_previous = 0 |
Definition at line 140 of file export_balance_pdf.php.
$tp_deb = 0 |
Definition at line 134 of file export_balance_pdf.php.
$tp_deb_previous = 0 |
Definition at line 139 of file export_balance_pdf.php.
$tp_solc = 0 |
Definition at line 137 of file export_balance_pdf.php.
$tp_solc_previous = 0 |
Definition at line 142 of file export_balance_pdf.php.
$tp_sold = 0 |
Definition at line 136 of file export_balance_pdf.php.
$tp_sold_previous = 0 |
Definition at line 141 of file export_balance_pdf.php.
if ( $previous==1) else |
Definition at line 110 of file export_balance_pdf.php.
switch ( $p_filter) $bal from_poste = $from_poste |
Definition at line 86 of file export_balance_pdf.php.
$bal jrn = null |
Definition at line 62 of file export_balance_pdf.php.
$bal to_poste = $to_poste |
Definition at line 87 of file export_balance_pdf.php.
try |
Definition at line 45 of file export_balance_pdf.php.