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".""; - ?> + + ?>