@extends('backend.layouts.main') @section('title', 'Flight Booking List') @section('main-container')
Booking List
@foreach ($tickets as $key=> $value) @endforeach
# Ref-Id Booked By Contact Destinations Passengers Dep/Ret Date Booking Status Trip Total Payment Booking Date Action
{{$key+1}} {{$value->pnr_no}} @if (auth()->user()->hasPermissionTo('manage all bookings')) {{$value['user']['name']}} @else {{$value['user']['name']}} @endif {{ $value->contact_no }} | {{ $value->email }} {{ $value->tripType!='multi' ? $value->destinations : 'Multi' }} {{ count($value->passengers) }} {{ $value->departure_date . ' / ' . $value->return_date}} {{ $value->booking_status }} {{ $value->tripType }} {{$value['total_amount'] .' - '.$value['currency']}} {{ $value->created_at->format('M-d-Y h:i a') }}
Payments Information
@can('manage all bookings') {{-- --}} @endcan @foreach ($tickets as $key=> $value) @can('manage all bookings') {{-- --}} @endcan @endforeach
# Ref-Id Method Status Trx Id PaidActual Price Sale PriceProfit/LossBooking Date
{{$key+1}} {{$value->pnr_no}} {{$value->payment_method}} {{$value['total_amount'] .' - '.$value['currency']}}
{{ $value->payment_status=='pending' ? 'Verification Needed' : 'Verified' }}
{{ $value->trx_id }} {{ $value->paid_amount}}{{ $value->total_amount }} {{ $value->total_amount }} {{ $value->admin_profit .' - '.$value['currency'] }} {{ $value->created_at->format('M-d-Y h:i a') }}
@endsection