@extends('client/layouts/contentNavbarLayout') @section('title') {{ __('client.my_conveyings') }} @endsection @section('page-script') @endsection @section('content')

{{ __('client.my_conveyings') }}

{{ __('client.new_conveying') }}
@include('client.responses.messages')
@if($conveyings) @foreach ($conveyings['data'] as $conveying) @endforeach @endif
{{ __('client.driver') }} {{ __('client.driver_phone') }} {{ __('client.date') }} {{ __('client.departure_address') }} {{ __('client.arrival_address') }} {{ __('client.status') }} {{ __('client.price_et') }} {{ __('client.distance') }}
{{ $conveying['driver'] ? $conveying['driver']['name'] : __('client.not_assigned_yet') }} {{ $conveying['driver'] ? $conveying['driver']['phone'] : __('client.not_assigned_yet') }} {{ 'From ' . Carbon::parse($conveying['from_date'])->format('Y-m-d h:i') . ' to ' }} {{ $conveying['to_date'] ? Carbon::parse($conveying['to_date'])->format('Y-m-d h:i') : __('client.not_yet_determined') }} {{ $conveying['departure_address'] }} {{ $conveying['arrival_address'] }} @include('client.conveying.status', ['status' => $conveying['status']['title'], 'size' => 'small']) {{ $conveying['price_ht'] }} {{ $conveying['distance'] }}
@if($conveyings) @include('client.pagination', ['route' => 'client.conveyings', 'data' => $conveyings]) @endif
@endsection @section('scripts') @endsection