@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.sales_report') }}
@forelse ($report as $data) @empty @endforelse
{{ trans('report::admin.table.date') }} {{ trans('report::admin.table.orders') }} {{ trans('report::admin.table.products') }} {{ trans('report::admin.table.subtotal') }} {{ trans('report::admin.table.shipping') }} {{ trans('report::admin.table.discount') }} {{ trans('report::admin.table.tax') }} {{ trans('report::admin.table.total') }}
{{ $data->start_date->toFormattedDateString() }} - {{ $data->end_date->toFormattedDateString() }} {{ $data->total_orders }} {{ $data->total_products }} {{ $data->sub_total->format() }} {{ $data->shipping_cost->format() }} {{ $data->discount->format() }} {{ $data->tax->format() }} {{ $data->total->format() }}
{{ trans('report::admin.no_data') }}
{!! $report->links() !!}
@endsection