@extends('backend.admin-master') @section('site-title') {{__('Order Report')}} @endsection @section('content')
{{__('Order ID')}} | {{__('Package Name')}} | {{__('Package Price')}} | {{__('Payment Status')}} | {{__('Order Status')}} | {{__('Date')}} | @foreach($order_data as $data)
---|---|---|---|---|---|
{{$data->id}} | {{$data->package_name}} | {{amount_with_currency_symbol($data->package_price)}} | @if($data->payment_status == 'pending') {{$data->payment_status}} @else {{$data->payment_status}} @endif | @if($data->status == 'pending') {{$data->status}} @elseif($data->status == 'canceled') {{$data->status}} @elseif($data->status == 'in_progress') {{str_replace('_',' ',$data->status)}} @else {{$data->status}} @endif | {{date_format($data->created_at,'d M Y')}} |