@extends('layouts.admin') @section('title', 'Bookings') @section('page-title', 'Bookings') @section('content')
{{ $bookings->total() }} total bookings
| ID | Student | Counselor | Date & Time | Type | Fee | Payment | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| #{{ $booking->id }} |
{{ substr($booking->user->name ?? 'U',0,1) }}
{{ $booking->user->name ?? 'N/A' }}
|
{{ $booking->counselor->user->name ?? 'N/A' }} |
{{ optional($booking->booking_date)->format('d M Y') }}
{{ $booking->booking_time }}
|
{{ ucfirst($booking->meeting_type ?? 'online') }} | PKR {{ number_format($booking->fee) }} | {{ ucfirst($booking->payment_status ?? 'unpaid') }} | {{ ucfirst($booking->status) }} | {{-- FIXED FORM --}} |
| No bookings found | ||||||||