@extends('layouts.app') @section('content')
{{ _lang('Customer Order Report') }}
{{ csrf_field() }}
@php $date_format = get_option('date_format','Y-m-d'); @endphp @php $currency = currency(); @endphp

{{ _lang('Customer Order Report') }}

{{ isset($date1) ? date($date_format, strtotime($date1)).' '._lang('to').' '.date($date_format, strtotime($date2)) : '---------- '._lang('to').' ----------' }}
@if(isset($report_data)) @foreach($report_data as $report) @endforeach @endif
{{ _lang('Name') }} {{ _lang('Email') }} {{ _lang('Type') }} {{ _lang('Orders') }} {{ _lang('Products') }} {{ _lang('Total Spend') }}
{{ $report->customer_name }} {{ $report->customer_email }} {{ $report->customer_id != NULL ? _lang('Customer') : _lang('Guest') }} {{ $report->total_orders }} {{ $report->total_products }} {!! xss_clean(decimalPlace($report->total, $currency)) !!}
@endsection