This is the screen. On this screen, the user is required to select an adjustment reason for all the entries even though there is only one entry being changed.
In the past, they would add zero to the pay and adjustment and that would keep the notice from showing up. Now it shows regardless. The user is forced to select an adjustment reason not matter what.
@stephenwaite had mentioned in another thread to do something with the delcount. This is the logic that handles the error message to my knowledge. I will have to spend time getting to know how this works before I am able to address the issue to only check the box that is containing a value to make sure that the adjustment reason is added.
PHPStorm is showing that line 123 is always true since the type string and type number have no overlap.
if ((cPay !== 0) || cAdjust !== 0) {
allempty = false;
}
Unresolved variable
ins_done.value
Any input would be great. I am following the IDE for now to correct some of the things the IDE is pointing out