@extends('layouts.app') @section('content')

{{trans('lang.sos_detail')}}

@csrf @method("PUT")

{{trans('lang.map_view')}}

Details of SOS

{{ $sos->userFirstNom}} {{ $sos->userNom}}
{{ $sos->user_phone}}
@if (file_exists(public_path('assets/images/users'.'/'.$sos->user_photo)) && !empty($sos->user_photo)) image @else image @endif
{{ $sos->driverPreNom}} {{ $sos->driverNom}}
{{ $sos->driver_phone}}
@if (file_exists(public_path('assets/images/driver'.'/'.$sos->driver_photo)) && !empty($sos->driver_photo)) image @else image @endif
{{ $sos->depart_name}}
{{ $sos->destination_name}}
@php $status = ['initiated' => 'initiated', 'completed' => 'completed', 'processing' => 'processing'] @endphp
{{ date('d F Y',strtotime($sos->creer))}} {{ date('h:i A',strtotime($sos->creer))}}
@endsection @section('scripts') @endsection