fix bonuses #2
This commit is contained in:
parent
d6675b6ee4
commit
760066dd84
@ -489,7 +489,7 @@ export const prepareCalculationData = ({
|
||||
|
||||
if (evo_coefficient) {
|
||||
preparedValues.ratBonus =
|
||||
evo_coefficient.evo_sot_coefficient || 0 * (preparedValues.rats || 0);
|
||||
(evo_coefficient.evo_sot_coefficient || 0) * (preparedValues.rats || 0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -512,8 +512,8 @@ export const prepareCalculationData = ({
|
||||
|
||||
if (evo_coefficient) {
|
||||
preparedValues.nsibBonus =
|
||||
evo_coefficient.evo_sot_coefficient ||
|
||||
0 * (preparedValues.nsibBrutto || 0);
|
||||
(evo_coefficient.evo_sot_coefficient || 0) *
|
||||
(preparedValues.nsibBrutto || 0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -536,8 +536,8 @@ export const prepareCalculationData = ({
|
||||
|
||||
if (evo_coefficient) {
|
||||
preparedValues.nsBonus =
|
||||
evo_coefficient.evo_sot_coefficient ||
|
||||
0 * insuranceNSRow?.insCost?.value;
|
||||
(evo_coefficient.evo_sot_coefficient || 0) *
|
||||
insuranceNSRow?.insCost?.value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user