|
dolibarr 20.0.5
|
Library for loan module. More...
Go to the source code of this file.
Functions | |
| loan_prepare_head ($object) | |
| Prepare array with list of tabs. | |
| loanCalcMonthlyPayment ($mens, $capital, $rate, $numactualloadterm, $nbterm) | |
| Calculate remaining loan mensuality and interests. | |
Library for loan module.
Definition in file loan.lib.php.
| loan_prepare_head | ( | $object | ) |
Prepare array with list of tabs.
| Object | $object | Object related to tabs |
Definition at line 33 of file loan.lib.php.
References $object, complete_head_from_modules(), Link\count(), dol_dir_list(), dol_sanitizeFileName(), and getDolGlobalString().
| loanCalcMonthlyPayment | ( | $mens, | |
| $capital, | |||
| $rate, | |||
| $numactualloadterm, | |||
| $nbterm ) |
Calculate remaining loan mensuality and interests.
| float | $mens | Value of this mensuality (interests include, set 0 if we don't paid interests for this mensuality) |
| float | $capital | Remaining capital for this mensuality |
| float | $rate | Loan rate |
| int | $numactualloadterm | Actual loan term |
| int | $nbterm | Total number of term for this loan |
Definition at line 102 of file loan.lib.php.
References $object, price(), and price2num().