|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
display financial operations in HTML , PDF or CSV More...
Inheritance diagram for Acc_Ledger_History_Financial:
Collaboration diagram for Acc_Ledger_History_Financial:Public Member Functions | |
| __construct (Database $cn, $pa_ledger, $p_from, $p_to, $p_mode) | |
| export_accounting_html () | |
| display the accounting | |
| export_detail_html () | |
| display detail of operations m_mode=D | |
| export_extended_html () | |
| display extended details of operation m_mode=E | |
| export_html () | |
| display in HTML following the mode | |
| export_oneline_html () | |
| display in HTML one operation by line | |
| get_data () | |
| To get data. | |
| get_row ($p_limit=-1, $p_offset="") | |
| Get the rows from jrnx and quant* tables. | |
Public Member Functions inherited from Acc_Ledger_History | |
| get_filter_operation () | |
| Filter operation. | |
| get_from () | |
| setter / getter | |
| get_ledger () | |
| setter / getter | |
| get_ledger_type () | |
| get_mode () | |
| setter / getter | |
| get_tiers ($p_jrn_type, $jr_id) | |
| Retrieve the third : supplier for purchase, customer for sale, bank for fin,. | |
| get_tiers_id ($p_jrn_type, $jr_id) | |
| Return the f_id of the tiers , called by get_tiers. | |
| get_to () | |
| setter / getter | |
| has_other_tax () | |
| count the number of addition tax for the ledger | |
| set_a_ledger ($ma_ledger) | |
| setter ma_ledger (array of jrn_def_id) | |
| set_filter_operation ($filter_operation) | |
| Filter operation ,. | |
| set_from ($m_from) | |
| setter m_from (periode id) | |
| set_ledger_type ($ledger_type) | |
| set_m_mode ($m_mode) | |
| Setter. | |
| set_to ($m_to) | |
| setter m_to (periode id) | |
Additional Inherited Members | |
Static Public Member Functions inherited from Acc_Ledger_History | |
| static | factory (Database $cn, $pa_ledger, $p_from, $p_to, $p_mode, $p_paid) |
| Build the right object. | |
Data Fields inherited from Acc_Ledger_History | |
| $db | |
| database connx | |
Protected Member Functions inherited from Acc_Ledger_History | |
| add_additional_tax_info () | |
| add additional info about additional tax. | |
| build_filter_operation () | |
| Build a SQL clause to filter operation depending if they are paid, unpaid or no filter. | |
| prepare_reconcile_date () | |
| Prepare the query for fetching the linked operation @staticvar int $prepare. | |
Protected Attributes inherited from Acc_Ledger_History | |
| $filter_operation | |
| type of ledger VEN , ACH , ODS, FIN | |
| $ledger_type | |
| $m_from | |
| Starting Periode : periode.p_id. | |
| $m_mode | |
| mode of export L : one line, E accounting writing , D : Detail | |
| $m_to | |
| Ending Periode : periode.p_id. | |
| $ma_ledger | |
| Array of ledger id : jrn_def.jrn_def_id. | |
display financial operations in HTML , PDF or CSV
Definition at line 33 of file acc_ledger_history_financial.class.php.
| Acc_Ledger_History_Financial::__construct | ( | Database | $cn, |
| $pa_ledger, | |||
| $p_from, | |||
| $p_to, | |||
| $p_mode ) |
| Database | $cn | |
| array | $pa_ledger | array of jrn_def.jrn_def_id |
| integer | $p_from | periode |
| integer | $p_to | |
| char | $p_mode | E D L or A , for Extended ,Detail , Listing , Accounting |
| Exception | if $pa_ledger is not an array |
Reimplemented from Acc_Ledger_History.
Definition at line 35 of file acc_ledger_history_financial.class.php.
References $cn.
| Acc_Ledger_History_Financial::export_accounting_html | ( | ) |
display the accounting
Reimplemented from Acc_Ledger_History.
Definition at line 43 of file acc_ledger_history_financial.class.php.
References db.
Referenced by export_html().
| Acc_Ledger_History_Financial::export_detail_html | ( | ) |
display detail of operations m_mode=D
Reimplemented from Acc_Ledger_History.
Definition at line 50 of file acc_ledger_history_financial.class.php.
References export_oneline_html().
Here is the call graph for this function:| Acc_Ledger_History_Financial::export_extended_html | ( | ) |
display extended details of operation m_mode=E
Reimplemented from Acc_Ledger_History.
Definition at line 55 of file acc_ledger_history_financial.class.php.
References db.
| Acc_Ledger_History_Financial::export_html | ( | ) |
display in HTML following the mode
Reimplemented from Acc_Ledger_History.
Definition at line 65 of file acc_ledger_history_financial.class.php.
References export_accounting_html(), and export_oneline_html().
Here is the call graph for this function:| Acc_Ledger_History_Financial::export_oneline_html | ( | ) |
display in HTML one operation by line
Reimplemented from Acc_Ledger_History.
Definition at line 89 of file acc_ledger_history_financial.class.php.
References get_row(), and Acc_Ledger_History\prepare_reconcile_date().
Referenced by export_detail_html(), and export_html().
Here is the call graph for this function:| Acc_Ledger_History_Financial::get_data | ( | ) |
To get data.
Definition at line 160 of file acc_ledger_history_financial.class.php.
References $data.
| Acc_Ledger_History_Financial::get_row | ( | $p_limit = -1, | |
| $p_offset = "" ) |
Get the rows from jrnx and quant* tables.
| int | $p_limit | max of rows to returns |
| int | $p_offset | the number of rows to skip |
Reimplemented from Acc_Ledger_History.
Definition at line 103 of file acc_ledger_history_financial.class.php.
References $periode, $sql, db, and sql_filter_per().
Referenced by export_oneline_html().
Here is the call graph for this function: