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:
@@ -9,7 +9,7 @@
|
||||
<td class="fieldlabel">Order #</td>
|
||||
<td class="fieldarea">
|
||||
<strong>{{ $product->Order->id }}</strong> -
|
||||
<a href="{{ route('admin.order.edit', ['id' => $product->order->id]) }}">View Order</a>
|
||||
<a href="{{ route('administrator.pages.order.edit', ['id' => $product->order->id]) }}">View Order</a>
|
||||
</td>
|
||||
<td class="fieldlabel">Registration Date</td>
|
||||
<td class="fieldarea">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<td class="fieldlabel">Order #</td>
|
||||
<td class="fieldarea">
|
||||
<strong>{{ $product->order->id }}</strong> -
|
||||
<a href="{{ route('admin.order.edit', ['id' => $product->order->id]) }}">View Order</a>
|
||||
<a href="{{ route('administrator.pages.order.edit', ['id' => $product->order->id]) }}">View Order</a>
|
||||
</td>
|
||||
<td class="fieldlabel">Registration Date</td>
|
||||
<td class="fieldarea">
|
||||
@@ -425,7 +425,7 @@
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
@include('admin.customer.action.addon')
|
||||
@include('administrator.pages.customer.action.addon')
|
||||
</div>
|
||||
|
||||
@include('admin.customer.form.scripts.vps')
|
||||
@include('administrator.pages.customer.form.scripts.vps')
|
||||
|
||||
Reference in New Issue
Block a user