@extends('admin::layouts.master') @section('title', __('admin/order.list')) @section('content') @if ($errors->has('error')) @endif
{{-- --}}
-
@if (count($orders))
@if (count($orders)) @foreach ($orders as $order) @endforeach @else @endif
{{ __('order.id') }} {{ __('order.number') }} {{ __('order.customer_name') }} {{ __('order.payment_method') }} {{ __('order.status') }} {{ __('order.total') }} {{ __('order.created_at') }} {{ __('order.updated_at') }} {{ __('common.action') }}
{{ $order->id }} {{ $order->number }} {{ sub_string($order->customer_name, 14) }} {{ $order->payment_method_name }} {{ $order->status_format }} {{ currency_format($order->total, $order->currency_code, $order->currency_value) }} {{ $order->created_at }} {{ $order->updated_at }} {{ __('common.view') }}
{{ $orders->withQueryString()->links('admin::vendor/pagination/bootstrap-4') }} @else @endif
@endsection @push('footer') @endpush