OT calculation issue : GWM

This commit is contained in:
Gowtham M 2025-05-21 09:12:22 +05:30
parent a30f939c8c
commit 8b175379c1

View File

@ -913,10 +913,14 @@ $(document).ready(function () {
}
} else {
if (str1 == 'T')
{
var text = value.textContent.trim();
var current = (text === '' || isNaN(parseFloat(text))) ? 0 : parseFloat(value.textContent);
totalOTHrs = totalOTHrs + current;
}
}