From 4df671bc3fdcf2b103eadae73f936bb2cbb1ac75 Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Wed, 7 May 2025 12:02:48 +0530 Subject: [PATCH] Bug Fix From Ria --- app/Views/attendance.php | 64 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 59 insertions(+), 5 deletions(-) diff --git a/app/Views/attendance.php b/app/Views/attendance.php index d26ae34d..290411a2 100755 --- a/app/Views/attendance.php +++ b/app/Views/attendance.php @@ -1,4 +1,6 @@ $currentday && $datefordropdown == date('M-Y')){ + continue; + } + ?> @@ -414,6 +419,8 @@ $currentday = date('d'); if ($col == $currentday) { $todayflag = 1; } + + foreach ($sundayarray as $in) { if ($in == $col) { $flag = 1; @@ -434,6 +441,7 @@ $currentday = date('d'); //echo $title; } } + $WH = 'WH' . $col; $OT = 'OT' . $col; @@ -451,9 +459,16 @@ $currentday = date('d'); } + + if($col > $currentday && $datefordropdown == date('M-Y')){ + continue; + } + + // echo "
"."empid = $a->EmpID, date = $col, absent = $absent"."
"; // echo "
"."2) all Flags : flag2 = $flag2, flag = $flag2, absent = $absent"."
"; - ?> + + ?> title=" " title="sunday" title="absent" @@ -462,7 +477,7 @@ $currentday = date('d'); id="" " + + + + \ No newline at end of file