@if (session()->has('success'))
{{ session()->get('success') }}
@endif
@if (session()->has('error'))
{{ session()->get('error') }}
@endif
{!! __('My account') !!} {!! __('My Orders') !!}
{!! __('Welcome') !!} {{ Auth::user()->name }}
@if ($orders->count())
# |
{!! __('Order No') !!} |
{!! __('Date') !!} |
{!! __('Status') !!} |
|
@foreach ($orders as $key => $order)
{{ $loop->index + $orders->firstItem() }} |
{!! $order->order_number !!} |
{{ $order->created_at->format('Y/m/d - h:i') }} {{ __($order->created_at->format('a')) }} |
@php
$status = $order->status ?? 0;
if ($order->publish == -1) {
$status = 9;
}
@endphp
@if (empty($order->publish))
{!! __('Order pending') !!}
@elseif ($order->publish == -1)
{!! __('Canceled') !!}
{!! __('in stage') !!}
{!! transactionOrdr($order->status) !!}
@else
{!! transactionOrdr($order->status) !!}
@endif
|
{!! __('View Order') !!} |
@endforeach
{{ $orders->links() }}
@else
@endif