noalyss Version-9
|
group of object operations, used for misc operation More...
Public Member Functions | |
__construct ($p_cn, $p_id=0) | |
constructor More... | |
add () | |
add several rows More... | |
form ($p_readonly=0) | |
show a form for the operation (several rows) More... | |
get_from_array ($p_array) | |
fill row from $_POST data More... | |
save () | |
save the group of operation but only if the amount is balanced More... | |
show () | |
show the form More... | |
Static Public Member Functions | |
static | test_me () |
Data Fields | |
$a_operation | |
$date | |
$db | |
$id | |
$pa_id | |
group of object operations, used for misc operation
Definition at line 30 of file anc_group_operation.class.php.
Anc_Group_Operation::__construct | ( | $p_cn, | |
$p_id = 0 |
|||
) |
constructor
Definition at line 43 of file anc_group_operation.class.php.
Anc_Group_Operation::add | ( | ) |
add several rows
Definition at line 51 of file anc_group_operation.class.php.
References $amount, $e, $row, db, and record_log().
Anc_Group_Operation::form | ( | $p_readonly = 0 | ) |
show a form for the operation (several rows)
Definition at line 80 of file anc_group_operation.class.php.
References $card, $i, $idx, $label, $max, $p_readonly, $ret, $wDate, ATTR_DEF_ACCOUNT, db, HtmlInput\hidden(), td(), and th().
Referenced by show().
Anc_Group_Operation::get_from_array | ( | $p_array | ) |
fill row from $_POST data
Definition at line 211 of file anc_group_operation.class.php.
Anc_Group_Operation::save | ( | ) |
save the group of operation but only if the amount is balanced
Definition at line 240 of file anc_group_operation.class.php.
References $e, $ex, $i, $oa_group, db, and record_log().
Anc_Group_Operation::show | ( | ) |
show the form
Definition at line 267 of file anc_group_operation.class.php.
References form().
|
static |
Definition at line 271 of file anc_group_operation.class.php.
References $_POST, $a, $b, $cn, $dossier, Dossier\connect(), and id.
Anc_Group_Operation::$a_operation |
array of operations
Definition at line 38 of file anc_group_operation.class.php.
Anc_Group_Operation::$date |
date of the operations
Definition at line 39 of file anc_group_operation.class.php.
Anc_Group_Operation::$db |
database connection
Definition at line 32 of file anc_group_operation.class.php.
Anc_Group_Operation::$id |
oa_group, a group contains several rows of operation_analytique linked by the group id
Definition at line 33 of file anc_group_operation.class.php.
Anc_Group_Operation::$pa_id |
the concerned pa_id
Definition at line 40 of file anc_group_operation.class.php.