diff --git a/app/Config/Routes.php b/app/Config/Routes.php index f06a823c..55454ddb 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -132,6 +132,8 @@ $routes->post('savedepartment', 'Department::savedepartment'); $routes->get('editOlddepartment', 'Department::viewdepartment'); $routes->post('editdepartment', 'Department::editdepartment'); $routes->get('exportdepartment', 'Department::exportdepartment'); +$routes->get('reActivateDepartment', 'Department::reActivateDepartment'); +$routes->get('deleteDepartment', 'Department::deleteDepartment'); $routes->get('batchcard/getHistListing', 'Batchcard::getHistListing'); diff --git a/app/Controllers/Department.php b/app/Controllers/Department.php index ef681f9a..185376e0 100755 --- a/app/Controllers/Department.php +++ b/app/Controllers/Department.php @@ -143,6 +143,16 @@ class Department extends BaseController } + function reActivateDepartment(){ + + } + + + function deleteDepartment(){ + + } + + function viewdepartment($SID = '') { diff --git a/app/Models/Department_model.php b/app/Models/Department_model.php index 57cf407b..339da784 100755 --- a/app/Models/Department_model.php +++ b/app/Models/Department_model.php @@ -131,6 +131,15 @@ function getdepcode() return $res; } + + function reActivateDepartment(){ + + } + + + function deleteDepartment(){ + + } diff --git a/app/Views/departmentListing.php b/app/Views/departmentListing.php index 8d14e2ca..8f26a600 100755 --- a/app/Views/departmentListing.php +++ b/app/Views/departmentListing.php @@ -110,7 +110,7 @@