hr attendance employee active inactive
This commit is contained in:
parent
08d4738cfe
commit
0fe6b4018e
@ -201,7 +201,7 @@ class Monthlypay extends BaseController
|
|||||||
$phpdata = json_decode((string)$jsondata, true);
|
$phpdata = json_decode((string)$jsondata, true);
|
||||||
$date = $this->request->getPost('param2');
|
$date = $this->request->getPost('param2');
|
||||||
$NoofDays = $this->request->getPost('param3');
|
$NoofDays = $this->request->getPost('param3');
|
||||||
$Month_Year = format_date($date);
|
$Month_Year = date('Y-m-d',strtotime($date));
|
||||||
$CreateBy = $this->session->get('userId');
|
$CreateBy = $this->session->get('userId');
|
||||||
// echo 'from COn' . $date;
|
// echo 'from COn' . $date;
|
||||||
// print_r($phpdata);die();[Paid Leave
|
// print_r($phpdata);die();[Paid Leave
|
||||||
|
|||||||
@ -190,7 +190,7 @@ class Monthlypay_model extends Model
|
|||||||
->where('t_employee_details.DateofJoining <= ', $lastdate)
|
->where('t_employee_details.DateofJoining <= ', $lastdate)
|
||||||
->where('t_attendance.Month_Year', $current)
|
->where('t_attendance.Month_Year', $current)
|
||||||
->where('t_employee_details.is_driver', 0)
|
->where('t_employee_details.is_driver', 0)
|
||||||
->where('t_employee_details.IsActive',1)
|
// ->where('t_employee_details.IsActive',1)
|
||||||
->orderBy('t_attendance.EmpID', 'asc');
|
->orderBy('t_attendance.EmpID', 'asc');
|
||||||
$query = $builder->get();
|
$query = $builder->get();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user