@extends('layouts.admin') @section('content')
Dear
Nama : {{ $consultationBooking->receiver_name ?? 'N/A' }}
{{-- Menampilkan info layanan dan tanggal booking --}} @foreach($consultationBooking->services as $service) @if($service->pivot->session_type == 'Offline')Alamat Offline: {{ $service->pivot->offline_address }}
@endifWaktu Konseling: {{ \Carbon\Carbon::parse($service->pivot->booked_date)->format('d F Y') }}
Paket Konseling: {{ $service->title }}
@endforeachNo Hp : {{ optional($consultationBooking->user)->phone_number ?? 'N/A' }}
Invoice No : {{ optional($consultationBooking->invoice)->invoice_no ?? 'N/A' }}
Invoice Date : {{ optional($consultationBooking->invoice)?->invoice_date?->format('d/F/Y') ?? 'N/A' }}
Due Date : {{ optional($consultationBooking->invoice)?->due_date?->format('d/F/Y') ?? 'N/A' }}
Status : {{ ucfirst(optional($consultationBooking->invoice)?->payment_status ?? 'N/A') }}
Session : {{ ucfirst($consultationBooking->session_status ?? 'N/A') }}
Payment Type : {{ $consultationBooking->payment_type ?? 'N/A' }}
| Service Description | Quantity | Unit Price | Amount | Total Line |
|---|---|---|---|---|
|
{{ $service->title }} @if($hoursBooked > 0) {{ $hoursBooked }} Hours - add @endif |
1 |
Rp {{ number_format($basePrice, 0, ',', '.') }}
@if($hoursBooked > 0)
Rp {{ number_format($hourlyPrice, 0, ',', '.') }} @endif |
- |
Rp {{ number_format($basePrice, 0, ',', '.') }}
@if($hoursBooked > 0)
Rp {{ number_format($hourlyPrice * $hoursBooked, 0, ',', '.') }} @endif |
| Discount | 1 | - | Rp {{ number_format($discountAmount, 0, ',', '.') }} | -Rp {{ number_format($discountAmount, 0, ',', '.') }} |
Sub-Total: Rp {{ number_format($subtotal, 0, ',', '.') }}
Total Discount Item: -Rp {{ number_format($totalDiscount, 0, ',', '.') }}
Regards,
Indiegologi Team
Bank SMBC Indonesia - 90110023186
Name: Artwira Mahatavirya Satyagasty
Please Transfer Payment to the Account above before the due date,
And Please Confirm to the following number: 0822 2095 5595