FIX #11746 Unable to modify amount of insurance of a loan

This commit is contained in:
Alexandre SPANGARO 2019-08-26 12:10:19 +02:00
parent 60c3cefc53
commit b00020c4ea

View File

@ -184,6 +184,7 @@ if (empty($reshook))
$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');