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

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

@include('client.responses.messages')
@csrf

{{ __('conveying.create.date_title') }}

{{ __('conveying.create.departure_contact_title') }}

{{ __('conveying.create.arrival_contact_title') }}

@if($arrival)

{{ __('conveying.create.coming_arrival_contact_title') }}


@else @endif

{{ __('conveying.create.summary_title') }}

{{ __('conveying.create.summary_vehicle') }} :   {{ $departure['vehicle_mark'] . $departure['vehicle_model'] . $departure['vehicle_version'] }}
{{ __('conveying.create.summary_from_date') }} :   {{ Carbon::parse($departure['from_date'])->format('Y-m-d') }}

{{ __('conveying.create.summary_going_conveying_title') }}

{{ __('conveying.create.summary_conveying_from') }} :   {{ $departure['departure_address'] }}
{{ __('conveying.create.summary_conveying_to') }} :   {{ $departure['arrival_address'] }}
{{ __('conveying.create.summary_distance') }} :   {{ $departure['distance'] }}
{{ __('conveying.create.summary_price_excluding_tax') }} :   {{ $departure['price_ht'] }}
@if ($arrival)

{{ __('conveying.create.summary_coming_conveying_title') }}

{{ __('conveying.create.summary_conveying_from') }} :   {{ $arrival['departure_address'] }}
{{ __('conveying.create.summary_conveying_to') }} :   {{ $arrival['arrival_address'] }}
{{ __('conveying.create.summary_distance') }} :   {{ $arrival['distance'] }}
{{ __('conveying.create.summary_price_excluding_tax') }} :   {{ $arrival['price_ht'] }}
@endif

{{ __('conveying.create.summary_total_price_excluding_tax') }} :   @if($arrival) {{ $departure['price_ht'] + $arrival['price_ht'] }} @else {{ $departure['price_ht'] }} @endif
@endsection @section('scripts') @endsection