@extends('admin.layouts.app') @section('content') @section('page-name', __('Orders'))
{{ __('Orders Table') }}
{{ $dataTable->table() }}
@if (auth()->user()->hasRole('admin') || auth()->user()->hasPermission('order-update')) @include('admin.orders.update') @endif @if (auth()->user()->hasRole('admin') || auth()->user()->hasPermission('order-view')) @include('admin.orders.orderitems') @endif @endsection @push('scripts') {{ $dataTable->scripts(attributes: ['type' => 'module']) }} @endpush