noalyss Version-9
|
this class aims to compute different amount More...
Public Member Functions | |
__construct () | |
compute_nd () | |
Compute the no deductible part of the amount, it reduce also the vat. More... | |
compute_nd_vat () | |
compute_ndded_vat () | |
compute_perso () | |
compute_vat () | |
convert_euro () | |
convert_euro_vat () | |
correct () | |
display () | |
get_info () | |
get_parameter ($p_string) | |
set_parameter ($p_string, $p_value) | |
verify ($p_obj=null) | |
! More... | |
Static Public Member Functions | |
static | test_me () |
Data Fields | |
$check | |
Private Attributes | |
$order | |
Static Private Attributes | |
static | $variable |
this class aims to compute different amount
This class compute without decimal error the following amount
Definition at line 55 of file acc_compute.class.php.
Acc_Compute::__construct | ( | ) |
Definition at line 81 of file acc_compute.class.php.
Acc_Compute::compute_nd | ( | ) |
Compute the no deductible part of the amount, it reduce also the vat.
Definition at line 138 of file acc_compute.class.php.
Referenced by Acc_Ledger_Purchase\compute_no_deductible().
Acc_Compute::compute_nd_vat | ( | ) |
Definition at line 151 of file acc_compute.class.php.
References compute_vat().
Referenced by Acc_Ledger_Purchase\compute_no_deductible().
Acc_Compute::compute_ndded_vat | ( | ) |
Definition at line 162 of file acc_compute.class.php.
References compute_vat().
Referenced by Acc_Ledger_Purchase\compute_no_deductible().
Acc_Compute::compute_perso | ( | ) |
Definition at line 173 of file acc_compute.class.php.
Referenced by Acc_Ledger_Purchase\compute_no_deductible().
Acc_Compute::compute_vat | ( | ) |
Definition at line 127 of file acc_compute.class.php.
Referenced by compute_nd_vat(), and compute_ndded_vat().
Acc_Compute::convert_euro | ( | ) |
Definition at line 89 of file acc_compute.class.php.
References $amount.
Acc_Compute::convert_euro_vat | ( | ) |
Definition at line 95 of file acc_compute.class.php.
Acc_Compute::correct | ( | ) |
Definition at line 185 of file acc_compute.class.php.
Acc_Compute::display | ( | ) |
Definition at line 224 of file acc_compute.class.php.
Acc_Compute::get_info | ( | ) |
Definition at line 123 of file acc_compute.class.php.
References $variable.
Acc_Compute::get_parameter | ( | $p_string | ) |
Definition at line 101 of file acc_compute.class.php.
Acc_Compute::set_parameter | ( | $p_string, | |
$p_value | |||
) |
Definition at line 111 of file acc_compute.class.php.
|
static |
Definition at line 231 of file acc_compute.class.php.
Acc_Compute::verify | ( | $p_obj = null | ) |
!
verify that all the amount are positive or null otherwise throw a exception and the sum of amount + vat must equal to the sum of all the amount of the current object so you have to copy the object before computing anything and pass it as parameter
compare | with a object copied before computing, if null there is no comparison |
Definition at line 206 of file acc_compute.class.php.
Acc_Compute::$check |
Definition at line 78 of file acc_compute.class.php.
|
private |
Definition at line 74 of file acc_compute.class.php.
|
staticprivate |
Definition at line 57 of file acc_compute.class.php.