- 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.
21 lines
714 B
PHP
21 lines
714 B
PHP
@extends("administrator.layout.master")
|
|
@section("content")
|
|
@if(auth()->guard('admins')->user()->can("edit customer"))
|
|
<div class="card card-outline card-primary">
|
|
<div class="card-header">
|
|
@include("administrator.pages.block.nav")
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="alert alert-warning" role="alert">
|
|
Feature in development
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@else
|
|
<div class="alert alert-danger alert-dismissible">
|
|
<h5 class="mb-0"><i class="icon fas fa-ban"></i> Access Denied - You are not assigned to any Customer
|
|
management department</h5>
|
|
</div>
|
|
@endif
|
|
@endsection
|