noalyss Version-9
|
print a listing of financial More...
Public Member Functions | |
__construct (Database $p_cn, Acc_Ledger $p_jrn, $p_from, $p_to) | |
export () | |
print the pdf for a financial ledger More... | |
Footer () | |
Header () | |
Public Member Functions inherited from Print_Ledger | |
__construct (\Database $p_cn, $orientation, $unit, $format, Acc_Ledger $p_ledger, $p_from, $p_to, $p_filter_operation) | |
integer parm_periode.p_id , end periode; More... | |
get_filter_operation () | |
get_from () | |
get_ledger () | |
get_to () | |
set_filter_operation ($filter_operation) | |
Filter the operations ,. More... | |
set_from ($from) | |
set_ledger ($ledger) | |
set_to ($to) | |
Public Member Functions inherited from PDF | |
__construct (Database $p_cn, $orientation='P', $unit='mm', $format='A4') | |
Footer () | |
get_tiers ($p_jr_id, $p_jrn_type) | |
retrieve the client name and quick_code More... | |
Header () | |
set_filter_operation ($filter_operation) | |
setDossierInfo ($dossier="n/a") | |
Public Member Functions inherited from PDF_Core | |
__construct ( $orientation='P', $unit='mm', $format='A4') | |
get_margin_bottom () | |
get_margin_left () | |
get_margin_right () | |
get_margin_top () | |
get_orientation () | |
get_page_size () | |
get_unit () | |
is_fill ($p_step) | |
If the step is even then return 1 and set the backgroup color to blue , otherwise returns 0, and set the background color to white It is use to compute alternated colored row , it the parameter fill in write_cell and cell. More... | |
line_new ($p_step=null) | |
Print all the cell stored and call Ln (new line) More... | |
LongLine ($w, $h, $txt, $border=0, $align='', $fill=false) | |
write_cell ($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') | |
Private Attributes | |
$rap_amount | |
$tp_amount | |
Additional Inherited Members | |
Static Public Member Functions inherited from Print_Ledger | |
static | available_ledger ($get_from_periode) |
find all the active ledger for the exerice of the periode and readable by the current user @global type $g_user More... | |
static | factory (Database $cn, $p_type_export, Acc_Ledger $p_ledger, $p_from, $p_to, $p_filter_operation) |
Create an object Print_Ledger* depending on $p_type_export ( 0 => accounting 1-> one row per operation 2-> detail of item) More... | |
Data Fields inherited from PDF | |
$cn = null | |
$date = "" | |
$dossier = "n/a" | |
$own = null | |
$soc = "" | |
Protected Member Functions inherited from Print_Ledger | |
build_filter_operation () | |
Build a SQL clause to filter operation depending if they are paid, unpaid or no filter. More... | |
Protected Member Functions inherited from PDF_Core | |
print_row () | |
print the current array of cell and reset it , if different colors are set on the same row you have to print it before changing More... | |
Protected Attributes inherited from Print_Ledger | |
$filter_operation | |
print a listing of financial
Definition at line 31 of file print_ledger_fin.class.php.
Print_Ledger_Financial::__construct | ( | Database | $p_cn, |
Acc_Ledger | $p_jrn, | ||
$p_from, | |||
$p_to | |||
) |
Definition at line 36 of file print_ledger_fin.class.php.
References $amount, $p_jrn, Print_Ledger\get_from(), and Print_Ledger\get_ledger().
Print_Ledger_Financial::export | ( | ) |
print the pdf for a financial ledger
Definition at line 98 of file print_ledger_fin.class.php.
References $amount, $i, Print_Ledger\$ledger, $name, $row, cn, DatabaseCore\fetch_result(), Print_Ledger\get_from(), Print_Ledger\get_ledger(), Print_Ledger\get_to(), PDF_Core\line_new(), PDF_Core\LongLine(), nbm(), and PDF_Core\write_cell().
Print_Ledger_Financial::Footer | ( | ) |
Reimplemented from PDF.
Definition at line 73 of file print_ledger_fin.class.php.
References nbm().
Print_Ledger_Financial::Header | ( | ) |
Reimplemented from PDF.
Definition at line 50 of file print_ledger_fin.class.php.
References nbm().
|
private |
Definition at line 33 of file print_ledger_fin.class.php.
|
private |
Definition at line 34 of file print_ledger_fin.class.php.