{{-- --}} @if (isset($orders) && count($orders) > 0) @foreach ($orders as $order) {{-- --}} @endforeach @endif
Order ID Customer Name Order Amount (USD) Order Amount (MMK) Order Status Created at Actions
{{ $order->order_number }}{{ $order->customer->full_name }}{{ $order->total_price_usd }} {{ $order->total_price_mmk }} {{ orderStatuses($order->order_status) }} {{ dateInList($order->created_at) }} @canViewOrderDetail($order) View @endcanViewOrderDetail {{-- @canany(['view-order-detail-order', 'status-update-order']) View @endcanany --}}
{!! pageInfo($orders) !!}
{!! $orders->links('pagination::bootstrap-4') !!}