|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Class for manipulating data to print the balance of account. More...
Collaboration diagram for Acc_Balance:Public Member Functions | |
| __construct ($p_cn) | |
| = 0) | |
| filter_cat ($p_array) | |
| set the $this->jrn to the cat, filter the ledger thanks the type (key in the array) | |
| summary_add ($p_array, $p_accounting, $p_deb, $p_cred) | |
| Add the current amount (d /c) to the right item in the array, in order to compute a summary (1 to 5 , 6 charge and 7 profit ), the return value is an array. | |
| summary_display ($p_array) | |
| Display the summary of result in HTML. | |
| summary_display_pdf ($p_array, $p_pdf) | |
| Display the summary of result in PDF. | |
| summary_init () | |
| create an empty array for computing the summary | |
Data Fields | |
| $db | |
| $from_poste | |
| $jrn | |
| $row | |
| $to_poste | |
| $unsold | |
Class for manipulating data to print the balance of account.
Definition at line 27 of file acc_balance.class.php.
| Acc_Balance::__construct | ( | $p_cn | ) |
= 0)
Definition at line 35 of file acc_balance.class.php.
References db, from_poste, jrn, and to_poste.
| Acc_Balance::filter_cat | ( | $p_array | ) |
set the $this->jrn to the cat, filter the ledger thanks the type (key in the array)
| array | of integer 0->Sale,1->Purchase,2->Financial,3->ODS |
Definition at line 305 of file acc_balance.class.php.
References $array, $e, $f, $p_array, Acc_Ledger\array_cat(), db, and jrn.
Here is the call graph for this function:| Acc_Balance::summary_add | ( | $p_array, | |
| $p_accounting, | |||
| $p_deb, | |||
| $p_cred ) |
Add the current amount (d /c) to the right item in the array, in order to compute a summary (1 to 5 , 6 charge and 7 profit ), the return value is an array.
| array | $p_array | array with the result |
| string | $p_accounting | accounting |
| numeric | $p_deb | |
| numeric | $p_cred |
Definition at line 348 of file acc_balance.class.php.
| Acc_Balance::summary_display | ( | $p_array | ) |
Display the summary of result in HTML.
| array | $p_array |
Definition at line 374 of file acc_balance.class.php.
References $diff, $p_array, $side, _, nbm(), and td().
Here is the call graph for this function:| Acc_Balance::summary_display_pdf | ( | $p_array, | |
| $p_pdf ) |
Display the summary of result in PDF.
| array | $p_array | |
| $p_pdf |
Definition at line 417 of file acc_balance.class.php.
References $diff, $p_array, $side, _, and nbm().
Here is the call graph for this function:| Acc_Balance::summary_init | ( | ) |
| Acc_Balance::$db |
Definition at line 29 of file acc_balance.class.php.
| Acc_Balance::$from_poste |
from_poste filter on the post
Definition at line 32 of file acc_balance.class.php.
| Acc_Balance::$jrn |
< row for ledger idx of a table of ledger create by user->get_ledger
Definition at line 31 of file acc_balance.class.php.
| Acc_Balance::$row |
< database connection
Definition at line 30 of file acc_balance.class.php.
| Acc_Balance::$to_poste |
to_poste filter on the post
Definition at line 33 of file acc_balance.class.php.
| Acc_Balance::$unsold |
Definition at line 34 of file acc_balance.class.php.