@extends(isset($input['print']) && $input['print']==1 ? 'layouts.general' : 'layouts.app') @section('link') @if(isset($input) && (!isset($input['print']) || $input['print']==1)) @endif @endsection @section('style') @endsection @section('content')
@include('shared.messages')

{{__('texte.references_arr.free_products.title4')}}
@if(!isset($input['print']) || $input['print']!=1) {{__('texte.references_arr.free_products.references')}} @endif


{{ csrf_field() }}

Общи филтри

@if(!isset($input['print']) || $input['print']!=1)
@endif
@include('references.filters.product_filters') @if(!isset($input['print']) || $input['print']!=1)
@endif
@if(isset($doc_rows) && count($doc_rows) > 0) @foreach($doc_rows as $index=>$doc_row) @if($index==0) @endif @if(isset($doc_rows[$index+1])) @if($doc_rows[$index]->producer!=$doc_rows[$index+1]->producer) @endif @else @endif @endforeach
{{__('texte.references_arr.free_products.group')}} {{__('texte.references_arr.free_products.code')}} {{__('texte.references_arr.free_products.product')}} {{__('texte.references_arr.free_products.price')}} {{__('texte.references_arr.free_products.quantity')}} {{__('texte.references_arr.free_products.tons')}} {{__('texte.references_arr.free_products.hl')}} {{__('texte.references_arr.free_products.amount')}}

{{$doc_row->producer}}

{{$doc_row->category}} {{$doc_row->product_id}} {{$doc_row->name}} {{number_format($doc_row->price,2,'.',' ')}} {{number_format($doc_row->quantity,3,'.',' ')}} {{number_format($doc_row->weight,3,'.',' ')}} {{number_format($doc_row->volume,2,'.',' ')}} {{number_format($doc_row->amount,2,'.',' ')}}
{{$doc_row->producer}} {{number_format($doc_rows->where('producer',$doc_row->producer)->sum('quantity'),3,'.',' ')}} {{number_format($doc_rows->where('producer',$doc_row->producer)->sum('weight'),3,'.',' ')}} {{number_format($doc_rows->where('producer',$doc_row->producer)->sum('volume'),2,'.',' ')}} {{number_format($doc_rows->where('producer',$doc_row->producer)->sum('amount'),2,'.',' ')}}
{{$doc_rows[$index+1]->producer}}
{{$doc_row->producer}} {{number_format($doc_rows->where('producer',$doc_row->producer)->sum('quantity'),3,'.',' ')}} {{number_format($doc_rows->where('producer',$doc_row->producer)->sum('weight'),3,'.',' ')}} {{number_format($doc_rows->where('producer',$doc_row->producer)->sum('volume'),2,'.',' ')}} {{number_format($doc_rows->where('producer',$doc_row->producer)->sum('amount'),2,'.',' ')}}
{{__('texte.references_arr.free_products.total')}} {{number_format($doc_rows->sum('quantity'),3,'.',' ')}} {{number_format($doc_rows->sum('weight'),3,'.',' ')}} {{number_format($doc_rows->sum('volume'),2,'.',' ')}} {{number_format($doc_rows->sum('amount'),2,'.',' ')}}
@endif
@if(!isset($input['print']) || $input['print']!=1) @endif @endsection