@extends(EcommerceHelper::viewPath('customers.master')) @section('title', __('Orders')) @section('content')
@if ($orders->isNotEmpty()) @foreach ($orders as $order) @endforeach @else @endif
{{ __('Order number') }} {{ __('Created at') }} {{ __('Total') }} {{ __('Payment method') }} {{ __('Status') }} {{ __('Actions') }}
{{ $order->code }} {{ $order->created_at->format('d M Y H:i:s') }} {{ __(':price for :total item(s)', ['price' => $order->amount_format, 'total' => $order->products_count]) }} @if(is_plugin_active('payment') && $order->payment->id && $order->payment->payment_channel->label()) {{ $order->payment->payment_channel->label() }} @else — @endif {!! BaseHelper::clean($order->status->toHtml()) !!} {{ __('View') }}
{{ __('No orders yet!') }}
{!! $orders->links() !!}
@stop