@extends('admin.layouts.admin') @section('content')

Booking Payment Details

Back to List
Booking Details
@if($payment->booking)
Start Time: {{ $payment->booking->start_time->format('M d, Y h:i A') }}
End Time: {{ $payment->booking->end_time->format('M d, Y h:i A') }}
Booking Date: {{ $payment->booking->booking_date->format('M d, Y h:i A') }}
Status: {{ ucfirst($payment->booking->status) }}
Booking Type: {{ ucfirst(str_replace('_', ' ', $payment->booking->booking_type)) }}
Total Amount: ${{ number_format($payment->booking->total_amount, 2) }}
@if($payment->booking->extras)
Guests: {{ $payment->booking->extras['guests'] ?? 'N/A' }}
Special Requests: {{ Str::limit($payment->booking->extras['special_requests'] ?? 'N/A', 25) }}
@endif
@else

No booking details available

@endif
Studio Information
@if($payment->studio)
Name: {{ $payment->studio->name }}
Description: {{ Str::limit($payment->studio->description ?? 'N/A', 30) }}
Price: ${{ number_format($payment->studio->price, 2) }}
Booking Type: {{ ucfirst(str_replace('_', ' ', $payment->studio->booking_type)) }}
Max Guests: {{ $payment->studio->no_guest ?? 'N/A' }}
Availability: {{ $payment->studio->is_available ? 'Available' : 'Not Available' }}
@else

No studio information available

@endif
Payment Information
Amount: ${{ number_format($payment->amount, 2) }}
Status: {{ ucfirst(str_replace('-', ' ', $payment->status)) }}
Currency: {{ strtoupper($payment->currency) }}
Payment Date: {{ $payment->created_at->format('M d, Y h:i A') }}
@if($payment->payment_intent_id)
Transaction ID: {{ substr($payment->payment_intent_id, 0, 8) }}...
@endif
User Information
@if($payment->user) @else

No user information available

@endif
@if(!empty($payment->metadata))
Additional Metadata
@endif
@endsection