|
|
@@ -425,11 +425,11 @@ const rouMaxAdjust = (events) => {
|
|
|
}
|
|
|
|
|
|
if (innerRouSubsidyValue) {
|
|
|
- if (events['ior_rac_05'] === undefined) {
|
|
|
+ if (events['ior_rac_05'] === undefined && events['ior_mh']) {
|
|
|
events['ior_mh'].s = events['ior_mh']?.v ?? 0;
|
|
|
events['ior_mh'].v = fixFloat(events['ior_mh'].s + innerRouSubsidyValue, 3);
|
|
|
}
|
|
|
- if (events['ior_rah_05'] === undefined) {
|
|
|
+ if (events['ior_rah_05'] === undefined && events['ior_mc']) {
|
|
|
events['ior_mc'].s = events['ior_mc']?.v ?? 0;
|
|
|
events['ior_mc'].v = fixFloat(events['ior_mc'].s + innerRouSubsidyValue, 3);
|
|
|
}
|