@extends($active_theme)
@section('title')
{{__('user.All Order')}}
@endsection
@section('frontend-content')
@include('user.inc.profile_header')
@include('user.inc.sideber')
{{__('user.SN')}} |
{{__('user.Date')}} |
{{__('user.Customer')}} |
{{__('user.Order Id')}} |
{{__('user.Amount')}} |
{{__('user.Status')}} |
{{__('user.Payment')}} |
{{__('user.Action')}} |
@foreach ($orders as $index => $order)
{{ ++$index }} |
{{ Carbon\Carbon::parse($order->created_at)->format('d F, Y') }} |
{{ $order->user->name}} |
{{ $order->order_id }} |
{{ $setting->currency_icon }}{{ round($order->total_amount) }} |
@if ($order->order_status == 1)
{{__('user.Complete')}} |
@elseif ($order->order_status == 0)
{{__('user.Pending')}} |
@endif
@if($order->payment_status == 'success')
{{__('user.Success')}} |
@else
{{__('user.Pending')}} |
@endif
|
@endforeach
@endsection