noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Special operations end or start of exercice. More...
Public Member Functions | |
__construct ($p_id=-1) | |
display_result () | |
display_row ($data, $row_tr=true) | |
let display one row | |
display_total ($with_span=true) | |
display the balance (total) of the operation | |
get_operation_exercice_sql () | |
input_transfer () | |
input data for transfering | |
set_operation_exercice_sql (Operation_Exercice_SQL $operation_exercice_sql) | |
submit_transfer ($ledger_id) | |
transfer to accountancy | |
transform ($ledger_id) | |
Transform the data in table OPERATION_EXERCICE and OPERATION_EXERCICE_DETAIL into an array usable by Acc_Ledger, the result will be stored into the global variable $oe_data @globals $oe_data array with the data transformed. | |
Static Public Member Functions | |
static | delete ($aOperation_id) |
static | input_row (Operation_Exercice_Detail_SQL $operation_detail_sql) |
input one row of operation_exercice | |
static | input_source () |
input the source of the data : folder, exercice, closing or opening operation | |
static | list_draft () |
Protected Attributes | |
$operation_exercice_sql | |
Special operations end or start of exercice.
Definition at line 29 of file operation_exercice.class.php.
Operation_Exercice::__construct | ( | $p_id = -1 | ) |
Reimplemented in Operation_Closing, and Operation_Opening.
Definition at line 34 of file operation_exercice.class.php.
References $p_id.
|
static |
Definition at line 293 of file operation_exercice.class.php.
References $cn, and $operation_id.
Operation_Exercice::display_result | ( | ) |
Reimplemented in Operation_Closing, and Operation_Opening.
Definition at line 48 of file operation_exercice.class.php.
References $cn, $data, $date, $header, $js, _, create_script(), display_row(), display_total(), format_date(), and th().
Operation_Exercice::display_row | ( | $data, | |
$row_tr = true ) |
let display one row
$data | array row of operation_exercice_detail [oed_id, oe_id, oed_poste, oed_qcode oed_label oed_amount oed_debit] |
Definition at line 157 of file operation_exercice.class.php.
References $data, _, h, Icon_Action\modify(), nbm(), print, and td().
Referenced by display_result().
Operation_Exercice::display_total | ( | $with_span = true | ) |
display the balance (total) of the operation
bool | $with_span | if yes add the span wrapper , otherwise doesn't add it |
Definition at line 114 of file operation_exercice.class.php.
References $cn, $s, $style, $total, _, nbm(), and span().
Referenced by display_result().
Operation_Exercice::get_operation_exercice_sql | ( | ) |
Definition at line 302 of file operation_exercice.class.php.
References $operation_exercice_sql.
|
static |
input one row of operation_exercice
$data | array row of operation_exercice_detail [oed_id, oe_id, oed_poste, oed_qcode oed_label oed_amount oed_debit] |
Definition at line 178 of file operation_exercice.class.php.
References $operation, Data_SQL\get_cn(), and Data_SQL\getp().
|
static |
input the source of the data : folder, exercice, closing or opening operation
Definition at line 43 of file operation_exercice.class.php.
Operation_Exercice::input_transfer | ( | ) |
input data for transfering
Definition at line 193 of file operation_exercice.class.php.
References $operation, $operation_exercice_sql, and _.
|
static |
Definition at line 286 of file operation_exercice.class.php.
Operation_Exercice::set_operation_exercice_sql | ( | Operation_Exercice_SQL | $operation_exercice_sql | ) |
Definition at line 307 of file operation_exercice.class.php.
References $operation_exercice_sql.
Operation_Exercice::submit_transfer | ( | $ledger_id | ) |
transfer to accountancy
$ledger_id | int the ledger id (jrn_def_id) |
Definition at line 211 of file operation_exercice.class.php.
References $cn, $e, $ledger, $ledger_id, _, EXC_DUPLICATE, and transform().
Operation_Exercice::transform | ( | $ledger_id | ) |
Transform the data in table OPERATION_EXERCICE and OPERATION_EXERCICE_DETAIL into an array usable by Acc_Ledger, the result will be stored into the global variable $oe_data @globals $oe_data array with the data transformed.
$ledger_id |
Exception |
Definition at line 255 of file operation_exercice.class.php.
References $cn, $ledger_id, and $nb.
Referenced by submit_transfer().
|
protected |
Definition at line 31 of file operation_exercice.class.php.
Referenced by get_operation_exercice_sql(), input_transfer(), and set_operation_exercice_sql().