@extends('admin.layouts.app') @section('title', 'Trips') @section('content') @include('admin.includes.alerts')
TODAY TRIPS
@foreach ($manifestsSummary as $x => $manifest)
  • {{ $manifest->origin }} - {{ $manifest->destination }}
    {{ $manifest->label }}
    {{ $manifest->trip_date }} {{ $manifest->departure }}
    Tickets : {{ $manifest->booked_seats }} Sales : {{ $manifest->collection }} Tsh
    Target : {{ $manifest->percentage }}% Vacancies : {{ $manifest->capacity - $manifest->booked_seats }}
    @if($manifest->status == 0) cancelled @elseif($manifest->status == 1) @if($manifest->boarding_status == "Booking is OPEN") {{ $manifest->boarding_status }} @elseif($manifest->boarding_status == "On Journey") {{ $manifest->boarding_status }} @elseif($manifest->boarding_status == "Booking is CLOSED") {{ $manifest->boarding_status }} @endif @endif
  • @endforeach
    {{--
    --}}
    @endsection