noalyss Version-9
|
Handle the table payment_method. More...
Public Member Functions | |
__construct ($p_cn, $p_init=0) | |
blank () | |
return an html with a form to add a new middle of payment More... | |
form () | |
return a string with a form (into a table) More... | |
from_array ($p_array) | |
convert an array into an Acc_Payment object More... | |
get_all () | |
retrieve all the data for all ledgers More... | |
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 More... | |
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 More... | |
set_parameter ($p_string, $p_value) | |
Private Attributes | |
$jrn_def_id | |
$mp_fd_id | |
$mp_jrn_def_if | |
$mp_lib | |
$mp_qcode | |
Static Private Attributes | |
static | $variable |
Handle the table payment_method.
Definition at line 36 of file acc_payment.class.php.
Acc_Payment::__construct | ( | $p_cn, | |
$p_init = 0 |
|||
) |
Definition at line 53 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 303 of file acc_payment.class.php.
Acc_Payment::form | ( | ) |
return a string with a form (into a table)
none |
Definition at line 156 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 292 of file acc_payment.class.php.
Acc_Payment::get_all | ( | ) |
retrieve all the data for all ledgers
non |
Definition at line 111 of file acc_payment.class.php.
Acc_Payment::get_info | ( | ) |
Definition at line 82 of file acc_payment.class.php.
References $variable.
Acc_Payment::get_parameter | ( | $p_string | ) |
Definition at line 58 of file acc_payment.class.php.
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 133 of file acc_payment.class.php.
References $array, $ret, $row, $sql, cn, and jrn_def_id.
Referenced by select().
Acc_Payment::load | ( | ) |
Definition at line 87 of file acc_payment.class.php.
References $idx, $res, $row, $sql, $variable, cn, DatabaseCore\fetch_array(), and DatabaseCore\num_row().
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 212 of file acc_payment.class.php.
References $a, $acompte, $array, $check, $f, $fiche, $http, $p_date, $r, $row, $s, cn, get_valide(), HtmlInput\hidden(), and id.
Acc_Payment::set_parameter | ( | $p_string, | |
$p_value | |||
) |
Definition at line 70 of file acc_payment.class.php.
|
private |
Definition at line 50 of file acc_payment.class.php.
Referenced by form().
|
private |
Definition at line 51 of file acc_payment.class.php.
Referenced by form().
|
private |
Definition at line 49 of file acc_payment.class.php.
|
private |
Definition at line 47 of file acc_payment.class.php.
Referenced by form().
|
private |
Definition at line 48 of file acc_payment.class.php.
Referenced by form().
|
staticprivate |
Definition at line 39 of file acc_payment.class.php.