master admin module

This commit is contained in:
2024-04-11 17:50:16 +05:45
parent 7e345ef4e3
commit c378522598
9 changed files with 446 additions and 434 deletions

View File

@ -45,8 +45,8 @@ class EmployeeController extends Controller
public function create()
{
$data['title'] = 'Create Employee';
$data['departmentList'] = [];
$data['designationList'] = [];
$data['departmentList'] = $this->adminService->pluckDepartments();
$data['designationList'] = $this->adminService->pluckDesignations();
$data['nationalityList'] = $this->adminService->pluckNationalities();
$data['genderList'] = $this->adminService->pluckGenders();
$data['casteList'] = $this->adminService->pluckCastes();