@extends('frontend.bazar.account.layout.app') @section('user_content')
@foreach($orders as $row) @endforeach
{{ __('Order Id') }} {{ __('Amount') }} {{ __('Payment Mode') }} {{ __('Payment Status') }} {{ __('Order Status') }} {{ __('View') }}
{{ $row->order_no }} {{ amount_format($row->total) }} {{ $row->getway->name ?? '' }} @if($row->payment_status==2) {{ __('Pending') }} @elseif($row->payment_status==1) {{ __('Complete') }} @elseif($row->payment_status==0) {{ __('Cancel') }} @elseif($row->payment_status==3) {{ __('Incomplete') }} @endif @if($row->status=='pending') {{ __('Pending') }} @elseif($row->status=='processing') {{ __('Processing') }} @elseif($row->status=='ready-for-pickup') {{ __('Ready for pickup') }} @elseif($row->status=='completed') {{ __('Completed') }} @elseif($row->status=='archived') {{ __('Archived') }} @elseif($row->status=='canceled') {{ __('Canceled') }} @else {{ $row->status }} @endif
{{ $orders->links('vendor.pagination.bootstrap-4') }}
@endsection