|
noalyss Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
|
Handle the table payment_method. More...
Collaboration diagram for Acc_Payment:Public Member Functions | |
| __construct ($p_cn, $p_init=0) | |
| blank () | |
| return an html with a form to add a new middle of payment | |
| form () | |
| return a string with a form (into a table) | |
| from_array ($p_array) | |
| convert an array into an Acc_Payment object | |
| get_all () | |
| retrieve all the data for all ledgers | |
| get_info () | |
| get_parameter ($p_string) | |
| get_valide () | |
| retrieve all the data for a ledger but filter on the valid record (jrn and fd not null | |
| load () | |
| select ($p_select, $p_amount, $p_date, $p_comm) | |
| show several lines with radio button to select the payment method we want to use, the $_POST['e_mp'] will be set | |
| set_parameter ($p_string, $p_value) | |
Private Attributes | |
| $cn | |
| Database connection. | |
| $jrn_def_id | |
| $mp_fd_id | |
| $mp_id | |
| $mp_jrn_def_if | |
| $mp_lib | |
| $mp_qcode | |
Static Private Attributes | |
| static | $variable |
Handle the table payment_method.
Definition at line 38 of file acc_payment.class.php.
| Acc_Payment::__construct | ( | $p_cn, | |
| $p_init = 0 ) |
Definition at line 54 of file acc_payment.class.php.
References cn.
| Acc_Payment::blank | ( | ) |
return an html with a form to add a new middle of payment
Definition at line 304 of file acc_payment.class.php.
| Acc_Payment::form | ( | ) |
return a string with a form (into a table)
| none |
Definition at line 157 of file acc_payment.class.php.
References $jrn_def_id, $list, $mp_fd_id, $mp_lib, $mp_qcode, $msg, $qcode, $r, and cn.
| Acc_Payment::from_array | ( | $p_array | ) |
convert an array into an Acc_Payment object
| array | to convert |
Definition at line 293 of file acc_payment.class.php.
| Acc_Payment::get_all | ( | ) |
retrieve all the data for all ledgers
| non |
Definition at line 112 of file acc_payment.class.php.
| Acc_Payment::get_info | ( | ) |
Definition at line 83 of file acc_payment.class.php.
| Acc_Payment::get_parameter | ( | $p_string | ) |
Definition at line 59 of file acc_payment.class.php.
References $idx.
| Acc_Payment::get_valide | ( | ) |
retrieve all the data for a ledger but filter on the valid record (jrn and fd not null
| non |
Definition at line 134 of file acc_payment.class.php.
References $array, $ret, $row, $sql, $t, cn, and jrn_def_id.
Referenced by select().
| Acc_Payment::load | ( | ) |
Definition at line 88 of file acc_payment.class.php.
References $idx, $res, $row, $sql, cn, DatabaseCore\fetch_array(), and DatabaseCore\num_row().
Here is the call graph for this function:| Acc_Payment::select | ( | $p_select, | |
| $p_amount, | |||
| $p_date, | |||
| $p_comm ) |
show several lines with radio button to select the payment method we want to use, the $_POST['e_mp'] will be set
| $p_selected | if the id choose |
| $p_date | date of payment |
| $p_amount | amount already paid |
| $p_comm | label of payment |
Definition at line 213 of file acc_payment.class.php.
References $a, $acompte, $array, $check, $f, $fiche, $http, $p_date, $r, $row, $s, _, cn, and get_valide().
Here is the call graph for this function:| Acc_Payment::set_parameter | ( | $p_string, | |
| $p_value ) |
Definition at line 71 of file acc_payment.class.php.
References $idx.
|
private |
Database connection.
Definition at line 53 of file acc_payment.class.php.
|
private |
Definition at line 51 of file acc_payment.class.php.
Referenced by form().
|
private |
Definition at line 52 of file acc_payment.class.php.
Referenced by form().
|
private |
Definition at line 47 of file acc_payment.class.php.
|
private |
Definition at line 50 of file acc_payment.class.php.
|
private |
Definition at line 48 of file acc_payment.class.php.
Referenced by form().
|
private |
Definition at line 49 of file acc_payment.class.php.
Referenced by form().
|
staticprivate |
Definition at line 40 of file acc_payment.class.php.