@extends('layouts.app') @section('content')
| # | {{ request()->input('type') }} Name | {{ request()->input('type') }} Code | Total Bookings | {{--Org. Pincode | --}} {{--Dest. Pincode | --}} {{--Subscription | --}} {{--B Type | --}} {{--B Date | --}} {{--Status | --}} {{--Operations | --}}
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index++ }} | @if(request()->input('type') == 'customer'){{ $booking['customer_name'] }} | {{ $booking['customer']['code'] ?? '' }} | {{ $booking['total'] }} | @elseif(request()->input('type') == 'branch'){{ $booking['booking_branch']['branch_name'] ?? '' }} | {{ $booking['booking_branch']['code'] ?? '' }} | {{ $booking['total'] }} | @else{{ $booking['booking_franchisee']['enterprise_name'] ?? '' }} | {{ $booking['booking_franchisee']['code'] ?? '' }} | {{ $booking['total'] }} | @endif