@if (\Session::has('error'))
@endif
@php
$orders=\App\Order::where('user_id',Auth::User()->id)->orderBy('id','DESC')->paginate(20)
@endphp
- {!! \Session::get('error') !!}
{{ __('Order Id') }} | {{ __('Payment Method') }} | {{ __('Status') }} | {{ __('Amount') }} | {{ __('Action') }} |
---|---|---|---|---|
{{ $order->id }} | {{ $order->payment_method }} |
@if($order->status == 2)
{{ __('pending') }}
@elseif($order->status == 3)
{{ __('pickup') }}
@elseif($order->status == 1)
{{ __('complete') }}
@elseif($order->status == 0)
{{ __('cancel') }}
@endif
|
{{ strtoupper($currency->value) }} {{ $order->total + $order->shipping }} |
Orders
{{ __('Order Id') }} | {{ __('Payment Method') }} | {{ __('Status') }} | {{ __('Amount') }} | {{ __('Action') }} |
---|---|---|---|---|
{{ $order->id }} | {{ $order->payment_method }} |
@if($order->status == 2)
{{ __('pending') }}
@elseif($order->status == 3)
{{ __(
'pickup') }}
@elseif($order->status == 1)
{{ __('complete') }}
@elseif($order->status == 0)
{{
__('cancel') }}
@endif
|
{{ strtoupper($currency->value) }}{{ $order->total + $order->shipping }} |