@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($route->date))}} {{__('texte.representatives_arr.routes.objects.of')}} {{$route->user->name}}

@if(count($route_objects)>0) @foreach($route_objects as $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')}}
{{$route_object->obect->subtype->type->name}} {{$route_object->obect->subtype->name}} {{$route_object->obect->contragent->company_name ?? $route_object->obect->contragent->user->name}} {{$route_object->obect->user->name}} {{$route_object->obect->delivery_address}} {{$route_object->visitation_time!=null ? date("d.m.Y H:i",strtotime($route_object->visitation_time)) : ''}}

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

@endsection