@extends('layouts.main') @section('title', __('home.seo.title')) @section('description', __('home.seo.description')) @section('content')
@include('auth.customer.partials.header')
{{ __('customer.orders.0') }}
@if(count($orders) > 0) @foreach($orders as $order) @if($order->status == 'pending') @endif @if($order->status == 'processing') @endif @if($order->status == 'in_progress' && $order->is_shipped == 0) @endif @if($order->status == 'completed') @endif @if( $order->status == 'declined') @endif @if($order->status == 'cancelled') @endif @if($order->status == 'refunded') @endif @if($order->status == 'in_progress' && $order->is_shipped == 1) @endif @endforeach
{{ __('customer.orders.2') }} {{ __('customer.orders.5') }} {{ __('customer.orders.4') }} {{ __('customer.orders.7') }} {{ __('customer.actionsColumn') }}
{{ $order->order_number }} {{ Carbon\Carbon::parse($order->created_at)->format('d/m/Y H:s') }}{!! __('customer.status.0') !!}{!! __('customer.status.1') !!}{!! __('customer.status.2') !!}{!! __('customer.status.3') !!}{!! __('customer.status.4') !!}{!! __('customer.status.5') !!}{!! __('customer.status.6') !!}{!! __('customer.status.7') !!}{{ priceView($order->grand_total)}} {{ __('customer.view') }}
{{$orders->links()}}
@else

{!! __('customer.noOrders') !!}

@endif
@endsection