@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.date')}} | {{__('texte.references_arr.realisation.number')}} | {{__('texte.references_arr.realisation.type')}} | {{__('texte.references_arr.realisation.in_tons')}} | {{__('texte.references_arr.realisation.total_amount')}} | {{__('texte.references_arr.realisation.count_documents')}} | {{__('texte.references_arr.realisation.deliveries')}} |
---|---|---|---|---|---|---|---|---|
{{$driver_realisation->driver_name ?? __('texte.references_arr.realisation.undefined')}} | ||||||||
{{$driver_realisation->contragent_name}} | {{$driver_realisation->object_name}} | {{date('d.m.Y',strtotime($driver_realisation->date))}} | {{$driver_realisation->number}} | {{$driver_realisation->title}} | {{number_format($driver_realisation->total_weight,3,'.','')}} | {{number_format($driver_realisation->total,2,'.','')}} | ||
{{__('texte.references_arr.realisation.total_for')}} {{$driver_realisation->object_name}}: | {{number_format($driver_realisations->where('driver_id',$driver_realisation->driver_id)->where('object',$driver_realisation->object)->sum('total_weight'),3,'.','')}} | {{number_format($driver_realisations->where('driver_id',$driver_realisation->driver_id)->where('object',$driver_realisation->object)->sum('total'),2,'.','')}} | {{count($driver_realisations->where('driver_id',$driver_realisation->driver_id)->where('object',$driver_realisation->object))}} | {{$driver_realisation->total_visitations ?? 0}} | ||||
{{__('texte.references_arr.realisation.total_for')}} {{$driver_realisation->driver_name ?? __('texte.references_arr.realisation.undefined')}}: | {{number_format($driver_realisations->where('driver_id',$driver_realisation->driver_id)->sum('total_weight'),3,'.','')}} | {{number_format($driver_realisations->where('driver_id',$driver_realisation->driver_id)->sum('total'),2,'.','')}} | {{count($driver_realisations->where('driver_id',$driver_realisation->driver_id))}} | {{$driver_realisations->where('driver_id',$driver_realisation->driver_id)->unique('object')->sum('total_visitations')}} | ||||
{{__('texte.references_arr.realisation.total')}}: | {{number_format($driver_realisations->sum('total_weight'),3,'.','')}} | {{number_format($driver_realisations->sum('total'),2,'.','')}} | {{count($driver_realisations)}} | {{$driver_realisations->where('total_visitations','!=',0)->unique('object')->sum('total_visitations')}} |