@lang('reports.Sales_by_Product/Service_Detail')

@lang('reports.sales_product_detail_sum')

$1200

@lang('reports.filter')

@lang('reports.Sales_by_Product/Service_Detail')

@lang('reports.sales_by_product/service')

@if(request()->get('date_from') || request()->get('date_to'))

@lang('reports.from') {{ request()->get('date_from') ?? '--' }} @lang('reports.to') {{ request()->get('date_to') ?? '--' }}

@endif @php $total_value = 0; @endphp @foreach ($products as $product) @foreach ($product->collection as $collection) @php $total_value += $collection->pivot->total_without_tax - $collection->pivot->discount; @endphp @endforeach @endforeach
@lang('dashboard_warehouses.name') @lang('dashboard_invoices.sku') @lang('reports.Quantity') @lang('dashboard_warehouses.price') @lang('dashboard_invoices.without_tax') @lang('dashboard_invoices.discount') @lang('dashboard_invoices.total') @lang('dashboard_invoices.value')
{{ $product->name . ' ( ' . $product->sale_type . ' )' }} {{ $product->sku }} {{$collection->pivot->quantity}} {{$collection->pivot->price}} {{$collection->pivot->total_without_tax}} {{$collection->pivot->discount}} {{$collection->pivot->total}} {{$collection->pivot->total_without_tax - $collection->pivot->discount}}
@lang('reports.Email')

@lang('reports.Send_report')

@lang('reports.Send_a_report_to_a_prefered_email')

@lang('reports.To')
@lang('reports.CC')
@lang('reports.Subject')
@lang('reports.Body')
@endsection @section('custom_script') @endsection