@extends(auth()->user()->hasRole('Търговски представител') || auth()->user()->hasRole('Външен търговски представител') ? 'layouts.app_mobile' : 'layouts.app') @section('link') @endsection @section('style') @endsection @section('content')
@include('shared.messages')
@if(auth()->user()->hasRole('Търговски представител'))

{{__('texte.representatives_arr.routes.daily_route.daily_route_of')}}{{$representative->name}} {{__('texte.representatives_arr.routes.daily_route.for')}} {{date("d.m.Y")}}

@endif
@if(isset($daily_route))

{{__('texte.representatives_arr.routes.daily_route.daily_route_for')}} {{date("d.m.Y")}}

{{__('texte.representatives_arr.routes.daily_route.note')}}: {{$daily_route->note}}

@elseif(auth()->user()->hasRole('Търговски представител'))

{{__('texte.representatives_arr.routes.daily_route.no_daily_route')}}

@endif
@if(auth()->user()->hasRole('Търговски представител')) {{__('texte.representatives_arr.routes.daily_route.all_objects')}} @endif {{__('texte.representatives_arr.routes.daily_route.orders')}}
@if(isset($daily_route)) @if(count($route_objects)>0)
@foreach($route_objects as $route_object) @endforeach @else

{{__('texte.representatives_arr.routes.daily_route.no_objects_added')}}

@endif @endif
@endsection