@extends('layouts.app') @section('link') @endsection @section('style') @endsection @section('content')
@include('shared.messages')

{{__('texte.representatives_arr.routes.objects.objects_list')}} {{date("d.m.Y",strtotime($driver_route->created_at))}} {{__('texte.representatives_arr.routes.objects.of')}} {{$driver_route->driver->name}}

@if(count($driver_route_objects)>0) @foreach($driver_route_objects as $driver_route_object) @endforeach @else @endif
{{__('texte.representatives_arr.routes.objects.type')}} {{__('texte.representatives_arr.routes.objects.subtype')}} {{__('texte.representatives_arr.routes.objects.contragent')}} {{__('texte.representatives_arr.routes.objects.object')}} {{__('texte.representatives_arr.routes.objects.delivery_address')}} {{__('texte.representatives_arr.routes.objects.visited_at')}}
{{$driver_route_object->obect->subtype->type->name}} {{$driver_route_object->obect->subtype->name}} {{$driver_route_object->obect->contragent->company_name ?? $driver_route_object->obect->contragent->driver->name}} {{$driver_route_object->obect->user->name}} {{$driver_route_object->obect->delivery_address}} {{$driver_route_object->visitation_time!=null ? date("d.m.Y H:i",strtotime($driver_route_object->visitation_time)) : ''}}

{{__('texte.representatives_arr.routes.objects.no_objects')}}

@endsection