noalyss Version-9
|
Detail Operation ACC + ANC , it will use Acc_Operation and Anc_Operation. More...
Public Member Functions | |
__construct ($p_cn, $pjr_id) | |
download_pdf () | |
export_pdf ($p_option) | |
export operation into a PDF More... | |
get_pdf () | |
get_pdf_filename () | |
export the PDF to a file and returns the filename @retun String filename More... | |
unlink () | |
unlink the file if exists More... | |
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='') | |
Data Fields | |
$cn | |
Data Fields inherited from PDF | |
$cn = null | |
$date = "" | |
$dossier = "n/a" | |
$own = null | |
$soc = "" | |
Private Member Functions | |
print_acc_writing () | |
print_anc_detail ($p_j_id, $pa_plan) | |
print_anc_header ($pa_plan) | |
print_anc_writing () | |
print_info () | |
print info (jrn_info) More... | |
print_ledger_name () | |
return the name of the ledger of the operation More... | |
print_operation_info () | |
Write basic information about the operation : date , ledger , receipt , comment , document name if any. More... | |
print_operation_quant () | |
For SALE and PURCHASE , print the customer or supplier and calls a function for the detail (VAT , quantity ...) More... | |
print_other_tax () | |
print_purchase () | |
print_reconcilied_operation () | |
print reconcilied operations More... | |
print_sale () | |
print_section ($p_section) | |
str_vat ($p_tva_id) | |
returns a string with info about tva More... | |
Private Attributes | |
$acc_detail | |
Acc_Operation object. More... | |
$jr_id | |
jrn.jr_id operation More... | |
Additional Inherited Members | |
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... | |
Detail Operation ACC + ANC , it will use Acc_Operation and Anc_Operation.
Definition at line 33 of file pdf_operation.class.php.
PDF_Operation::__construct | ( | $p_cn, | |
$pjr_id | |||
) |
Definition at line 39 of file pdf_operation.class.php.
References $acc_detail, cn, and jr_id.
PDF_Operation::download_pdf | ( | ) |
Definition at line 548 of file pdf_operation.class.php.
PDF_Operation::export_pdf | ( | $p_option | ) |
export operation into a PDF
Array | $p_option | containing [acc anc] or a combination |
Definition at line 503 of file pdf_operation.class.php.
References cn, print_acc_writing(), print_anc_writing(), print_operation_info(), print_operation_quant(), and print_reconcilied_operation().
PDF_Operation::get_pdf | ( | ) |
Definition at line 536 of file pdf_operation.class.php.
References $pdf.
PDF_Operation::get_pdf_filename | ( | ) |
export the PDF to a file and returns the filename @retun String filename
Definition at line 543 of file pdf_operation.class.php.
Referenced by unlink().
|
private |
Definition at line 299 of file pdf_operation.class.php.
References $deb, $i, $nb, $obj, $row, $str, $width, cn, jr_id, nbm(), and print_section().
Referenced by export_pdf().
|
private |
Definition at line 372 of file pdf_operation.class.php.
References $e, $i, $nb_operation, $width, cn, nbm(), and print_anc_header().
Referenced by print_anc_writing().
|
private |
Definition at line 360 of file pdf_operation.class.php.
References $i, $nb, and $width.
Referenced by print_anc_detail().
|
private |
Definition at line 468 of file pdf_operation.class.php.
References $a_plan, $nb, cn, jr_id, print_anc_detail(), and print_section().
Referenced by export_pdf().
|
private |
print info (jrn_info)
Definition at line 57 of file pdf_operation.class.php.
References $a_type, $label, and cn.
Referenced by print_operation_info().
|
private |
return the name of the ledger of the operation
Definition at line 50 of file pdf_operation.class.php.
Referenced by print_operation_info().
|
private |
Write basic information about the operation : date , ledger , receipt , comment , document name if any.
Definition at line 75 of file pdf_operation.class.php.
References $currency, cn, nb(), nbm(), print_info(), and print_ledger_name().
Referenced by export_pdf().
|
private |
For SALE and PURCHASE , print the customer or supplier and calls a function for the detail (VAT , quantity ...)
Definition at line 126 of file pdf_operation.class.php.
References $fiche, $tiers, cn, print_purchase(), print_sale(), and print_section().
Referenced by export_pdf().
|
private |
Definition at line 279 of file pdf_operation.class.php.
References $a, $amount, $b, $total, $width, Additional_Tax\get_by_operation(), jr_id, and nbm().
Referenced by print_purchase(), and print_sale().
|
private |
Definition at line 223 of file pdf_operation.class.php.
References $a, $b, $fiche, $fiche_id, $i, $nb, $row, $str, $width, cn, nbm(), print_other_tax(), and str_vat().
Referenced by print_operation_quant().
|
private |
print reconcilied operations
Definition at line 342 of file pdf_operation.class.php.
References $jr_id, $op, $operation, $pdf, cn, jr_id, and print_section().
Referenced by export_pdf().
|
private |
Definition at line 172 of file pdf_operation.class.php.
References $a, $b, $fiche, $fiche_id, $i, $nb, $row, $str, $width, cn, nbm(), print_other_tax(), and str_vat().
Referenced by print_operation_quant().
|
private |
Definition at line 274 of file pdf_operation.class.php.
Referenced by print_acc_writing(), print_anc_writing(), print_operation_quant(), and print_reconcilied_operation().
|
private |
returns a string with info about tva
integer | $p_tva_id | id of TVA_RATE (tva_rate.tva_id) |
Definition at line 161 of file pdf_operation.class.php.
Referenced by print_purchase(), and print_sale().
PDF_Operation::unlink | ( | ) |
unlink the file if exists
Definition at line 554 of file pdf_operation.class.php.
References $file, get_pdf_filename(), and unlink().
Referenced by unlink().
|
private |
Acc_Operation object.
Definition at line 35 of file pdf_operation.class.php.
Referenced by __construct().
PDF_Operation::$cn |
Definition at line 38 of file pdf_operation.class.php.
|
private |
jrn.jr_id operation
Definition at line 36 of file pdf_operation.class.php.
Referenced by print_reconcilied_operation().
|
private |
Definition at line 37 of file pdf_operation.class.php.
Referenced by get_pdf(), and print_reconcilied_operation().