hr attendance employee active inactive

This commit is contained in:
VE10-Sanjeev 2025-05-15 04:42:35 +00:00
parent 08d4738cfe
commit 0fe6b4018e
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ class Monthlypay extends BaseController
$phpdata = json_decode((string)$jsondata, true);
$date = $this->request->getPost('param2');
$NoofDays = $this->request->getPost('param3');
$Month_Year = format_date($date);
$Month_Year = date('Y-m-d',strtotime($date));
$CreateBy = $this->session->get('userId');
// echo 'from COn' . $date;
// print_r($phpdata);die();[Paid Leave

View File

@ -190,7 +190,7 @@ class Monthlypay_model extends Model
->where('t_employee_details.DateofJoining <= ', $lastdate)
->where('t_attendance.Month_Year', $current)
->where('t_employee_details.is_driver', 0)
->where('t_employee_details.IsActive',1)
// ->where('t_employee_details.IsActive',1)
->orderBy('t_attendance.EmpID', 'asc');
$query = $builder->get();