@extends('layouts.adminapp') @section('content') @section('head',__('lng.Trip')) {{-- Account Group --}}
{{--

{{__('lng.Trip')}}

--}}
{{__('lng.TripTable')}}
{{__('lng.TripTable')}}
{{-- --}} {{__('lng.CreateNew')}}

{{-- --}} {{-- --}} {{-- --}} @php $si=0; @endphp @foreach($Trips as $Trip) {{-- --}} {{-- --}} {{-- --}} @endforeach
{{__('lng.SiNo')}} {{__('lng.From')}} {{__('lng.To')}} {{__('lng.Customer')}} {{__('lng.Destination')}} {{__('lng.Vehicle')}}{{__('lng.Mobile')}}{{__('lng.Driver')}} {{ __('lng.Cleaner') }}{{__('lng.Source')}}{{__('lng.TripEstimate')}}{{__('lng.Status')}} {{__('lng.Action')}}
{{++$si}} {{$Trip->from}} {{$Trip->to}} {{$Trip->accountledger->title}} {{$Trip->destination}} {{$Trip->vehicle->title}}{{$Trip->accountledger->mobile}}{{$Trip->employee->name}} {{ $Trip->cleaner->name??''}}{{$Trip->source}}{{ $Trip->trip_estimate !== null ? number_format($Trip->trip_estimate, 2) : '' }}{{$Trip->status}} {{--
--}}
@csrf @method('delete')
{{--
--}}
@if($Trip->status=='Trip completed') @else @endif

{{$Trips->count()}} {{__('lng.Items')}}


@endsection