noalyss Version-9
|
Print the crossed balance between 2 plan. More...
Public Member Functions | |
display_csv () | |
Compute the csv export. More... | |
display_form ($p_string='') | |
Compute the form to display. More... | |
display_html () | |
compute the html display More... | |
display_pdf () | |
Display the result in pdf. More... | |
get_request () | |
complete the object with the data in $_REQUEST More... | |
load () | |
load the data from the database More... | |
show_button ($p_string="") | |
Show the button to export in PDF or CSV. More... | |
show_sum ($p_array) | |
add extra lines with sum of each account More... | |
Public Member Functions inherited from Anc_Print | |
__construct ($p_cn) | |
check () | |
display_form ($p_hidden="") | |
Compute the form to display. More... | |
get_request () | |
complete the object with the data in $_REQUEST More... | |
set_sql_filter () | |
Set the filter (account_date) More... | |
Static Public Member Functions | |
static | test_me () |
for testing and debuggind the class it must never be called from production system, it is intended only for developpers More... | |
Additional Inherited Members | |
Data Fields inherited from Anc_Print | |
$db | |
$from | |
$from_poste | |
$to | |
$to_poste | |
Print the crossed balance between 2 plan.
Definition at line 33 of file anc_balance_double.class.php.
Anc_Balance_Double::display_csv | ( | ) |
Compute the csv export.
Definition at line 291 of file anc_balance_double.class.php.
References $array, $csv, $row, and load().
Anc_Balance_Double::display_form | ( | $p_string = '' | ) |
Compute the form to display.
$p_hidden | hidden tag to be included (gDossier,...) |
Reimplemented from Anc_Print.
Definition at line 332 of file anc_balance_double.class.php.
References $poste, $r, db, Icon_Action\icon_magnifier(), HtmlInput\request_to_hidden(), and HtmlInput\submit().
Anc_Balance_Double::display_html | ( | ) |
compute the html display
Definition at line 42 of file anc_balance_double.class.php.
References $array, $diff, $old, $r, $row, $s, $solde, $tot_cred, $tot_deb, h2info(), load(), nbm(), pa_id, show_sum(), td(), and th().
Anc_Balance_Double::display_pdf | ( | ) |
Display the result in pdf.
Definition at line 173 of file anc_balance_double.class.php.
References $array, $fDate, $i, $pa, $pdf, $row, $side, $solde, $tot_cred, $tot_deb, db, from, from_poste, load(), name, nb(), pa_id, show_sum(), to, and to_poste.
Anc_Balance_Double::get_request | ( | ) |
complete the object with the data in $_REQUEST
Reimplemented from Anc_Print.
Definition at line 413 of file anc_balance_double.class.php.
References $_REQUEST.
Anc_Balance_Double::load | ( | ) |
load the data from the database
Definition at line 426 of file anc_balance_double.class.php.
References $a, $array, $count, $row, $sql, db, from_poste, pa_id, and to_poste.
Referenced by display_csv(), display_html(), and display_pdf().
Anc_Balance_Double::show_button | ( | $p_string = "" | ) |
Show the button to export in PDF or CSV.
$p_string | hidden data to include in the form |
Definition at line 375 of file anc_balance_double.class.php.
References $r, from, from_poste, HtmlInput\hidden(), pa_id, HtmlInput\submit(), to, and to_poste.
Anc_Balance_Double::show_sum | ( | $p_array | ) |
add extra lines with sum of each account
$p_array | array returned by load() |
Definition at line 521 of file anc_balance_double.class.php.
References $array, $old, $p_array, $row, $s, $tot_cred, and $tot_deb.
Referenced by display_html(), and display_pdf().
|
static |
for testing and debuggind the class it must never be called from production system, it is intended only for developpers
param
return none
Definition at line 581 of file anc_balance_double.class.php.
References $_GET, $a, $bal, and Dossier\connect().