@extends('report::admin.reports.layout') @section('filters') @include('report::admin.reports.filters.from') @include('report::admin.reports.filters.to') @include('report::admin.reports.filters.status') @include('report::admin.reports.filters.group')
@endsection @section('report_result')
{{ trans('report::admin.filters.report_types.customers_order_report') }}
@forelse ($report as $data) @empty @endforelse
{{ trans('report::admin.table.date') }} {{ trans('report::admin.table.customer_name') }} {{ trans('report::admin.table.customer_email') }} {{ trans('report::admin.table.customer_group') }} {{ trans('report::admin.table.orders') }} {{ trans('report::admin.table.products') }} {{ trans('report::admin.table.total') }}
{{ $data->start_date->toFormattedDateString() }} - {{ $data->end_date->toFormattedDateString() }} {{ $data->customer_full_name }} {{ $data->customer_email }} {{ is_null($data->customer_id) ? trans('report::admin.table.guest') : trans('report::admin.table.registered') }} {{ $data->total_orders }} {{ $data->total_products }} {{ $data->total->format() }}
{{ trans('report::admin.no_data') }}
{!! $report->links() !!}
@endsection