Skip to content

Commit

Permalink
[GT-183] Move files to another location
Browse files Browse the repository at this point in the history
  • Loading branch information
Sae126V committed Sep 12, 2023
1 parent 63e13f4 commit 60fed43
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ function view_service_type()
$params['AllowMonitoringException'] = $serviceType->getAllowMonitoringException();
$params['Services'] = $serv->getServices($params['ID']);

show_view("admin/view_service_type.php", $params, $params['Name']);
show_view("service_type/view_service_type.php", $params, $params['Name']);
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ function show_all(){
$serviceTypes = \Factory::getServiceTypeService()->getServiceTypes();
$params['ServiceTypes']= $serviceTypes;

show_view('admin/view_service_types.php', $params, 'Service Types');
show_view('service_type/view_service_types.php', $params, 'Service Types');
}
4 changes: 2 additions & 2 deletions htdocs/web_portal/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,12 +452,12 @@ function Draw_Page($Page_Type) {
break;
case "Service_Types":
rejectIfNotAuthenticated();
require_once __DIR__.'/controllers/admin/view_service_types.php';
require_once __DIR__.'/controllers/service_type/view_service_types.php';
show_all();
break;
case "Service_Type":
rejectIfNotAuthenticated();
require_once __DIR__.'/controllers/admin/view_service_type.php';
require_once __DIR__.'/controllers/service_type/view_service_type.php';
view_service_type();
break;
case "Admin_Edit_Service_Type":
Expand Down

0 comments on commit 60fed43

Please sign in to comment.