noalyss Version-9
|
Public Member Functions | |
__construct ($p_id=-1) | |
display_result () | |
display_row ($data, $row_tr=true) | |
let display one row More... | |
display_total ($with_span=true) | |
display the balance (total) of the operation More... | |
get_operation_exercice_sql () | |
input_transfer () | |
input data for transfering More... | |
set_operation_exercice_sql (Operation_Exercice_SQL $operation_exercice_sql) | |
submit_transfer ($ledger_id) | |
transfer to accountancy More... | |
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. More... | |
Static Public Member Functions | |
static | delete ($aOperation_id) |
static | input_row (Operation_Exercice_Detail_SQL $operation_detail_sql) |
input one row of operation_exercice More... | |
static | input_source () |
input the source of the data : folder, exercice, closing or opening operation More... | |
static | list_draft () |
Protected Attributes | |
$operation_exercice_sql | |
Definition at line 25 of file operation_exercice.class.php.
Operation_Exercice::__construct | ( | $p_id = -1 | ) |
Reimplemented in Operation_Closing, and Operation_Opening.
Definition at line 30 of file operation_exercice.class.php.
References $p_id, and Dossier\connect().
|
static |
Definition at line 289 of file operation_exercice.class.php.
References $cn, and Dossier\connect().
Operation_Exercice::display_result | ( | ) |
Reimplemented in Operation_Closing, and Operation_Opening.
Definition at line 44 of file operation_exercice.class.php.
References $cn, $data, $date, $header, $js, Dossier\connect(), create_script(), display_row(), display_total(), format_date(), Dossier\hidden(), Dossier\id(), 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 153 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 110 of file operation_exercice.class.php.
References $cn, $s, $style, $total, Dossier\connect(), nbm(), and span().
Referenced by display_result().
Operation_Exercice::get_operation_exercice_sql | ( | ) |
Definition at line 298 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 174 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 39 of file operation_exercice.class.php.
Operation_Exercice::input_transfer | ( | ) |
input data for transfering
Definition at line 189 of file operation_exercice.class.php.
References $operation, and $operation_exercice_sql.
|
static |
Definition at line 282 of file operation_exercice.class.php.
Operation_Exercice::set_operation_exercice_sql | ( | Operation_Exercice_SQL | $operation_exercice_sql | ) |
Definition at line 303 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 207 of file operation_exercice.class.php.
References $cn, $e, $ledger, $ledger_id, Dossier\connect(), EXC_DUPLICATE, id, 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 251 of file operation_exercice.class.php.
References $cn, $ledger_id, $nb, and Dossier\connect().
Referenced by submit_transfer().
|
protected |
Definition at line 27 of file operation_exercice.class.php.
Referenced by get_operation_exercice_sql(), input_transfer(), and set_operation_exercice_sql().