@extends('layouts.admin.app') @section('title', 'Admin | Manage Booking') @section('styles') @endsection @section('content') {{-- CONTAINER --}}
@include('layouts.includes.alert')
avatar

Customer : {{ $booking->user->customer->full_name }}

Service : {{ $booking->service->name }}

Barber : {{ $booking->barber->full_name }}

Date Schedule : {{ formatDate($booking->schedule->date_time_start) }} at {{ formatDate($booking->schedule->date_time_start, 'time') }} - {{ formatDate($booking->schedule->date_time_end, 'time') }}

Customer's Note : {{ $booking->note ?? 'N/A' }}

{{-- Status --}}

Status - {!! handleBookingStatus($booking->status) !!}

@if ($booking->remark)

Remark: {{ $booking->remark }}

@endif @if ($booking->is_online)

Control No : {{ $payment->data->attributes->reference_number }}

Paid Via : {{ ucwords($payment->data->attributes->payment_method_used) }}

@endif
{{-- Only show if booking is thru online --}} {{-- @if ($booking->is_online) @endif --}}
{{-- Check for Approval --}} {{-- @if ($booking->status == 0) --}}
@csrf @method('PUT') @include('layouts.includes.alert')
@csrf @method('PUT') @include('layouts.includes.alert')
{{-- @endif --}}
{{-- End CONTAINER --}} @endsection @section('script') @endsection