handle the param_detail type Compute More...
Public Member Functions | |
compute ($p_start, $p_end) | |
compute the amount for one detail rapport_advanced.formulaire_param_detail the attribute d_id and dr_id must be set before the call type $cn database connexion More... | |
from_array ($p_array) | |
the p_array contains a row from formulaire_param_detail it will be copied into this->form. More... | |
Static Public Member Functions | |
static | factory ($p_array) |
create an object RAPAV_dd_Formula, RAPAV_dd_Account_Tva or Rapav_dd_compute following the idx type_detail More... | |
handle the param_detail type Compute
Definition at line 937 of file class_rapav_declaration.php.
Rapav_dd_Compute::compute | ( | $p_start, | |
$p_end | |||
) |
compute the amount for one detail rapport_advanced.formulaire_param_detail the attribute d_id and dr_id must be set before the call type $cn database connexion
$p_start | (date) : computed start date not used |
$p_end | (date) computed start date not used |
Definition at line 949 of file class_rapav_declaration.php.
References $amount, $cn, and d_id.
|
staticinherited |
create an object RAPAV_dd_Formula, RAPAV_dd_Account_Tva or Rapav_dd_compute following the idx type_detail
type | $p_array |
if | the type is not known |
Definition at line 843 of file class_rapav_declaration.php.
References $ret.
Referenced by Rapav_Declaration_Param\compute(), and Rapav_Declaration_Param\compute_child().
|
inherited |
the p_array contains a row from formulaire_param_detail it will be copied into this->form.
type | $p_array | match formulaire_param_detail table structure |
Definition at line 880 of file class_rapav_declaration.php.