@extends('backend.admin-master') @section('style') @endsection @section('site-title') {{__('All Product Orders')}} @endsection @section('content')
@include('backend/partials/message') @if($errors->any())
    @foreach($errors->all() as $error)
  • {{$error}}
  • @endforeach
@endif

{{__('All Product Orders')}}

@foreach($all_orders as $data) @endforeach
{{__('Order ID')}} {{__('Billing Name')}} {{__('Billing Email')}} {{__('Total Amount')}} {{__('Package Gateway')}} {{__('Payment Status')}} {{__('Status')}} {{__('Date')}} {{__('Action')}}
{{$data->id}} {{$data->billing_name}} {{$data->billing_email}} {{site_currency_symbol()}}{{$data->total}} {{ucwords(str_replace('_',' ',$data->payment_gateway))}} @if($data->payment_status == 'pending') {{$data->payment_status}} @else {{$data->payment_status}} @endif @if($data->status == 'pending') {{$data->status}} @elseif($data->status == 'in_progress') {{ucwords(str_replace('_',' ',$data->status))}} @elseif($data->status == 'shipped') {{$data->status}} @elseif($data->status == 'complete') {{$data->status}} @elseif($data->status == 'cancel') {{$data->status}} @endif {{date_format($data->created_at,'d M Y')}} @php $shipping_method = !empty($data->shipping_details->title) ? $data->shipping_details->title : 'not selected'; @endphp @if( $data->payment_status == 'pending')
@csrf
@endif {{__("Update Status")}} @if(($data->payment_gateway == 'cash_on_delivery' || $data->payment_gateway == 'manual_payment') && $data->payment_status == 'pending') {{__('Approve Payment')}} @endif @if( $data->payment_status == 'complete')
@csrf
@endif
@endsection @section('script') @endsection