Public Member Functions | |
__construct () | |
listing ($p_all=false) | |
display the list of material More... | |
add_card () | |
display a button to add a material More... | |
from_array ($p_array) | |
all the data are in the array : we construct an object with data from the array More... | |
input () | |
show a form to modify data More... | |
verify_post () | |
Verify that all data are correct. More... | |
update () | |
we save into the two tables amortissement and amortissement_detail More... | |
add () | |
we save into the two tables amortissement and amortissement_detail, the table amortissement_detail is filled via a trigger More... | |
set_material ($f) | |
print_detail ($p_code) | |
Display the detail of a card. More... | |
Private Attributes | |
$amortissement | |
$amortissement_detail | |
$amortissement_histo | |
Definition at line 30 of file class_am_card.php.
Am_Card::__construct | ( | ) |
Definition at line 40 of file class_am_card.php.
Am_Card::add | ( | ) |
we save into the two tables amortissement and amortissement_detail, the table amortissement_detail is filled via a trigger
Definition at line 321 of file class_am_card.php.
Am_Card::add_card | ( | ) |
Am_Card::from_array | ( | $p_array | ) |
all the data are in the array : we construct an object with data from the array
Definition at line 74 of file class_am_card.php.
References $am, $cn, $fiche, and $id.
Am_Card::input | ( | ) |
show a form to modify data
Definition at line 153 of file class_am_card.php.
References $array, $cn, $cred_span, $deb_span, $p_amount, $p_card, $p_card_cred, $p_card_deb, $p_cred, $p_date, $p_deb, $p_number, $p_year, and $select_type.
Am_Card::listing | ( | $p_all = false | ) |
display the list of material
Definition at line 46 of file class_am_card.php.
Am_Card::print_detail | ( | $p_code | ) |
Display the detail of a card.
Definition at line 336 of file class_am_card.php.
References $a, $array, $cn, $cred_span, $deb_span, $p_amount, $p_card_cred, $p_card_deb, $p_cred, $p_date, $p_deb, $p_number, and $p_year.
Am_Card::set_material | ( | $f | ) |
Definition at line 325 of file class_am_card.php.
Am_Card::update | ( | ) |
we save into the two tables amortissement and amortissement_detail
Definition at line 288 of file class_am_card.php.
References $cn, and jr_internal.
Am_Card::verify_post | ( | ) |
Verify that all data are correct.
Check that op_concerned has an internal and only one
Definition at line 231 of file class_am_card.php.
References $cn, $error_msg, $p_card, and if.
|
private |
Definition at line 33 of file class_am_card.php.
|
private |
Definition at line 35 of file class_am_card.php.
|
private |
Definition at line 38 of file class_am_card.php.