From 8b175379c1517d66a2c3c049b9cc8cbe66a65fbd Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Wed, 21 May 2025 09:12:22 +0530 Subject: [PATCH] OT calculation issue : GWM --- app/Views/attendance.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Views/attendance.php b/app/Views/attendance.php index f996905d..5157bd9f 100755 --- a/app/Views/attendance.php +++ b/app/Views/attendance.php @@ -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; + + } }