{{ config('app.name') }}

Invoice / Booking Confirmation

Booking Code: {{ $booking->booking_code }}

Customer: {{ $booking->customer?->name }}

Email: {{ $booking->customer?->email }}

Field: {{ $booking->field?->name }}

Date: {{ $booking->booking_date?->format('d M Y') }}

Time: {{ substr((string) $booking->start_time, 0, 5) }} - {{ substr((string) $booking->end_time, 0, 5) }}

@if((float) $booking->discount > 0) @endif
Description Amount
Field booking - {{ $booking->field?->name }} {{ $booking->formatted_price }}
Discount - Rp {{ number_format((float) $booking->discount, 0, ',', '.') }}
Total {{ $booking->formatted_price }}