Merge pull request #11748 from aspangaro/10.0_p6
FIX #11746 Unable to modify amount of insurance of a loan
This commit is contained in:
commit
be93cd839f
@ -179,11 +179,12 @@ if (empty($reshook))
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$object->datestart = $datestart;
|
$object->datestart = $datestart;
|
||||||
$object->dateend = $dateend;
|
$object->dateend = $dateend;
|
||||||
$object->capital = $capital;
|
$object->capital = $capital;
|
||||||
$object->nbterm = GETPOST("nbterm", 'int');
|
$object->nbterm = GETPOST("nbterm", 'int');
|
||||||
$object->rate = price2num(GETPOST("rate", 'alpha'));
|
$object->rate = price2num(GETPOST("rate", 'alpha'));
|
||||||
|
$object->insurance_amount = price2num(GETPOST('insurance_amount', 'int'));
|
||||||
|
|
||||||
$accountancy_account_capital = GETPOST('accountancy_account_capital');
|
$accountancy_account_capital = GETPOST('accountancy_account_capital');
|
||||||
$accountancy_account_insurance = GETPOST('accountancy_account_insurance');
|
$accountancy_account_insurance = GETPOST('accountancy_account_insurance');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user