/home/techb158/ileadtechnology.com/SSM/app/Http/Controllers/employee
NameSizeModeActions
AttendanceController.php30420644editdlrm
EmployeeAccountController.php58580644editdlrm
EmployeeController.php95450644editdlrm
EmployeeDesignationController.php66800644editdlrm
EmployeeDocumentController.php68770644editdlrm
EmployeeImportController.php13900644editdlrm
EmployeeQualificationController.php77280644editdlrm
EmployeeTermController.php59720644editdlrm
LeaveAllocationController.php54480644editdlrm
LeaveRequestController.php80250644editdlrm
PayrollController.php71800644editdlrm
PayrollTemplateController.php49420644editdlrm
PayrollTransactionController.php77960644editdlrm
SalaryController.php47260644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Http/Controllers/employee/AttendanceController.php (3042B)
request = $request; $this->repo = $repo; } /** * Used to get pre requisites * @get ("/api/employee/attendance/regular/pre-requisite") * @return Response */ public function preRequisiteRegular() { $this->authorize('preRequisite', Attendance::class); return $this->success($this->repo->preRequisiteRegular()); } /** * Used to get pre requisites of production attendance * @get ("/api/employee/attendance/production/pre-requisite") * @return Response */ public function preRequisiteProduction() { $this->authorize('preRequisite', Attendance::class); return $this->success($this->repo->preRequisiteProduction()); } /** * Used to get attendance * @get ("/api/employee/attendance/regular") * @return Response */ public function listRegular() { $this->authorize('list', Attendance::class); return $this->success($this->repo->listRegular($this->request->all())); } /** * Used to fetch employee and their attendance * @post ("/api/employee/attendance/regular/fetch") * @return Response */ public function fetchRegular() { $this->authorize('preRequisite', Attendance::class); return $this->success($this->repo->fetchRegular($this->request->all())); } /** * Used to fetch employee attendance for production * @post ("/api/employee/attendance/production/fetch") * @return Response */ public function fetchProduction() { $this->authorize('preRequisite', Attendance::class); return $this->success($this->repo->fetchProduction($this->request->all())); } /** * Used to store employees' regular attendance * @post ("/api/employee/attendance/regular") * @return Response */ public function storeRegular() { $this->authorize('create', Attendance::class); $this->repo->storeRegular($this->request->all()); return $this->success(['message' => trans('employee.attendance_updated')]); } /** * Used to store employees' production attendance * @post ("/api/employee/attendance/production") * @return Response */ public function storeProduction() { $this->authorize('create', Attendance::class); $this->repo->storeProduction($this->request->all()); return $this->success(['message' => trans('employee.attendance_updated')]); } }