@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')
{{__('texte.references_arr.realisation.client')}} | {{__('texte.references_arr.realisation.object')}} | {{__('texte.references_arr.realisation.in_tons')}} | {{__('texte.references_arr.realisation.total_amount')}} | {{__('texte.references_arr.realisation.count_orders')}} | {{__('texte.references_arr.realisation.visitations')}} |
---|---|---|---|---|---|
{{__('texte.source_type_arr_text')[$agent_realisation->source]}} | |||||
{{$agent_realisation->user_name}} | |||||
{{$agent_realisation->contragent_name}} | {{$agent_realisation->object_name}} | {{number_format($agent_realisation->total_weight,3,'.','')}} | {{number_format($agent_realisation->total_amount,2,'.','')}} | {{$agent_realisation->count_orders}} | {{$agent_realisation->total_visitations}} |
{{__('texte.references_arr.realisation.total_for')}} {{$agent_realisation->user_name}} |
{{number_format($agent_realisations->where('source',$agent_realisation->source)->where('user_id',$agent_realisation->user_id)->sum('total_weight'),3,'.','')}} | {{number_format($agent_realisations->where('source',$agent_realisation->source)->where('user_id',$agent_realisation->user_id)->sum('total_amount'),2,'.','')}} | {{$agent_realisations->where('source',$agent_realisation->source)->where('user_id',$agent_realisation->user_id)->sum('count_orders')}} | {{$agent_realisations->where('source',$agent_realisation->source)->where('user_id',$agent_realisation->user_id)->sum('total_visitations')}} | |
{{__('texte.references_arr.realisation.total_for')}} {{__('texte.source_type_arr_text')[$agent_realisation->source]}} |
{{number_format($agent_realisations->where('source',$agent_realisation->source)->sum('total_weight'),3,'.','')}} | {{number_format($agent_realisations->where('source',$agent_realisation->source)->sum('total_amount'),2,'.','')}} | {{$agent_realisations->where('source',$agent_realisation->source)->sum('count_orders')}} | {{$agent_realisations->where('source',$agent_realisation->source)->sum('total_visitations')}} | |
{{__('texte.references_arr.realisation.total')}} | {{count($agent_realisations)}} | {{number_format($agent_realisations->sum('total_weight'),3,'.','')}} | {{number_format($agent_realisations->sum('total_amount'),2,'.','')}} | {{$agent_realisations->sum('count_orders')}} | {{$agent_realisations->sum('total_visitations')}} |