Refactor views to use new layout structure and update routes for administrator pages
- Changed view extends from "admin.main" to "administrator.layout.master" across multiple files. - Updated route names in admin.php and administrator.php to reflect new structure for user, order, invoice, and other management functionalities. - Adjusted view includes to point to the new directory structure for blocks and components. - Ensured all permission checks remain intact while refactoring the views.
This commit is contained in:
@@ -43,7 +43,7 @@ class GroupController extends Controller
|
||||
public function addGroupInformation()
|
||||
{
|
||||
$title = 'Add New Product Group';
|
||||
return view('admin.product.group', compact('title'));
|
||||
return view('administrator.pages.product.group', compact('title'));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -94,7 +94,7 @@ class GroupController extends Controller
|
||||
|
||||
$title = 'Action Group';
|
||||
|
||||
return view("admin.product.group", compact('title', 'type', 'group', 'group_id'));
|
||||
return view("administrator.pages.product.group", compact('title', 'type', 'group', 'group_id'));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user