@extends('layouts.master') @section('title', 'my operation | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('basic.my operation')) @section('css') {{-- leaflet --}} @endsection @section('fixedcontent') @if (Session::has('success'))
@endif @if (Session::has('error_delete')) @endif @endsection @section('content'){{ __('basic.last update') }}: {{ date('d M Y | h:i A', strtotime($last_update_track->last_update_date)) }}
@endif| {{ __('basic.date') }} | {{ __('basic.address') }} | {{ __('basic.patient') }} | {{ __('basic.driver') }} | {{ __('basic.vehicle') }} | {{ __('basic.status') }} | {{ __('basic.worker') }} | {{ __('basic.note') }} | {{ __('basic.handle') }} |
|---|---|---|---|---|---|---|---|---|
|
{{ __('basic.start') . ": " }}
{{ date('d M Y | h:i A', strtotime($item->start_date)) }}
{{ __('basic.end') . ": " }} {{ date('d M Y | h:i A', strtotime($item->end_date)) }} |
{{ $item->address }} | {{ $item->traveler->full_name }} | {{ $item->driver->full_name }} | {{ $item->vehicle->name }} | @if ($item->status == 1) @php $text_color = 'not_accepted-color-btn'; $msg = __('basic.not accepted'); @endphp @elseif ($item->status == 2) @php $text_color = 'pend-color-btn'; $msg = __('basic.accepted'); @endphp @elseif ($item->status == 3) @php $text_color = 'prog-color-btn'; $msg = __('basic.on way to client'); @endphp @elseif ($item->status == 4) @php $text_color = 'active-color-btn'; $msg = __('basic.arrived to client'); @endphp @elseif ($item->status == 5) @php $text_color = 'active-color-btn'; $msg = __('basic.trip start'); @endphp @elseif ($item->status == 6) @php $text_color = 'done-color-btn'; $msg = __('basic.trip ended'); @endphp @elseif ($item->status == 7) @php $text_color = 'cancel-color-btn'; $msg = __('basic.field to arrived'); @endphp @elseif ($item->status == 8) @php $text_color = 'cancel-color-btn'; $msg = __('basic.canceled'); @endphp @endif {{ $msg }} | {{ $item->worker->full_name }} | {{ $item->note }} | {{ __('basic.update') }} |