@extends('includes.layouts.admin') @section('page-title') Order History @endsection @section('content')

Order History

{{-- --}}
 
{{-- --}} Reset  
 
{{-- --}} @if ($request->has('dateRange')) Report   @else Report   @endif
@forelse ($orders as $index => $order) @php if ($order->cart->package != null) { $package_type = $order->cart->package->package_type; } else { $package_type = $order->getCompanyByOrderId->companie_type; // $package_type = '-'; } $full_pkg_type = '-'; if (stripos($package_type, 'shares') !== false) { $full_pkg_type = 'Limited By Shares'; } if (stripos($package_type, 'Guarantee') !== false) { $full_pkg_type = 'Limited By Guarantee'; } if (stripos($package_type, 'Residents') !== false) { $full_pkg_type = 'Non Residents Package'; } if (stripos($package_type, 'PLC') !== false) { $full_pkg_type = 'Public Limited Company'; } if (stripos($package_type, 'Eseller') !== false) { $full_pkg_type = 'Eseller Package'; } if (stripos($package_type, 'LLP') !== false) { $full_pkg_type = 'LLP Package'; } @endphp @empty @endforelse
Order Id Created At Invoiced Package/Type Company Name Status
{{ $order->order_id }} {{ date('Y-m-d', strtotime($order->created_at)) }} @if (isset($order->transactions[0]->invoice_id)) {{$order->transactions[0]->invoice_id}} @else - @endif {{ $full_pkg_type }} {{strtoupper( $order->company_name) }}
No Record Found.
{{-- @if ($customer->hasPages()) --}} {{-- @endif --}}
@if (Session::has('success'))
{{ Session::get('success') }}
@endif
@endsection @section('scripts') @include('admin.commonScript.script') @endsection