hotfix for date string on contract graphic changes
This commit is contained in:
parent
3ebc3388dd
commit
c26aaf2f29
@ -657,14 +657,14 @@ export default class Options extends React.Component
|
||||
number_planpayment: options.number_planpayment.value,
|
||||
};
|
||||
|
||||
if(number_paydate !== null) { selected.number_paydate = moment(number_paydate).format("YYYY-MM-DD 00:00:00"); }
|
||||
if(number_paydate !== null) { selected.number_paydate = moment(number_paydate).format("YYYY-MM-DD"); }
|
||||
if(period_new !== null) { selected.period_new = period_new; }
|
||||
if(fix_last_payment_available !== null) { selected.fix_last_payment_available = fix_last_payment_available; }
|
||||
if(date_offset_type !== null) { selected.date_offset_type = date_offset_type; }
|
||||
if(sum !== null) { selected.sum = sum; }
|
||||
if(insurance_price_result !== null) { selected.insurance_price_result = insurance_price_result; }
|
||||
//if(early_redemption_change !== null) { selected.early_redemption_change = early_redemption_change; }
|
||||
if(datefrom !== null) { selected.datefrom = moment(datefrom).format("YYYY-MM-DD 00:00:00"); }
|
||||
if(datefrom !== null) { selected.datefrom = moment(datefrom).format("YYYY-MM-DD"); }
|
||||
|
||||
const v = {};
|
||||
for(let i in variants.types) { v[ variants.types[i].name ] = variants.types[i].value; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user