@include('admin.reports.productsReport.pdf.style')
@lang('admin.products_report')

@lang('admin.company') : {{ $company != null ? $company->name : \Illuminate\Support\Facades\Lang::get('admin.all_companies') }}

@lang('admin.payment_method') : {{ $paymentType != null ? $paymentType->name : \Illuminate\Support\Facades\Lang::get('admin.all_payments') }}
@lang('admin.status') : {{ $status != null ? $status : \Illuminate\Support\Facades\Lang::get('admin.all_status') }}
@lang('admin.time') : {{ $from != null || $to != null ? \Illuminate\Support\Facades\Lang::get('admin.from') . $from . \Illuminate\Support\Facades\Lang::get('admin.to') . $to : \Illuminate\Support\Facades\Lang::get('admin.no_time') }}

@lang('admin.total_sales') : {{ $total }}

@lang('admin.report_details')
@foreach($data as $row) @endforeach
@lang('admin.orderNumber') @lang('admin.company') @lang('admin.status') @lang('admin.order_date') @lang('admin.phone') @lang('admin.ship_cost')
{{ $row->order_number }} {{ $company->name }} {{ $row->status }} {{ date('d-m-Y H:i:s A', strtotime($row->created_at)) }} {{ $row->user->name . ' ' . '(' . $row->user->phone . ')' }} {{ $row->price_ship }}