@extends('admin.layout') @section('title', 'Detail Invoice #' . $invoice->invoice_number) @section('content')
Informasi lengkap invoice dan booking terkait
| No. Invoice: | {{ $invoice->invoice_number }} |
| Tanggal Invoice: | {{ $invoice->created_at->format('d F Y') }} |
| Tanggal Jatuh Tempo: | @if($invoice->due_date) {{ \Carbon\Carbon::parse($invoice->due_date)->format('d F Y') }} @if($invoice->status !== 'paid' && \Carbon\Carbon::parse($invoice->due_date)->isPast()) Terlambat @endif @else Tidak ditentukan @endif |
| Status: |
| Total Amount: | Rp {{ number_format($invoice->total_amount, 0, ',', '.') }} |
| Dibuat: | {{ $invoice->created_at->format('d F Y H:i') }} |
| Terakhir Update: | {{ $invoice->updated_at->format('d F Y H:i') }} |
| Booking Code: | {{ $invoice->booking->booking_code }} Lihat Semua Booking |
| Nama Tamu: | {{ $invoice->booking->guest_name }} |
| Email: | {{ $invoice->booking->guest_email }} |
| Telepon: | {{ $invoice->booking->guest_phone }} |
| Hotel: | {{ $invoice->booking->room->hotel->name ?? 'N/A' }} |
| Kamar: | {{ $invoice->booking->room->name }} |
| Check-in: | {{ \Carbon\Carbon::parse($invoice->booking->check_in_date)->format('d F Y') }} |
| Check-out: | {{ \Carbon\Carbon::parse($invoice->booking->check_out_date)->format('d F Y') }} |
| Deskripsi | Periode | Jumlah |
|---|---|---|
|
{{ $invoice->booking->room->name }}
{{ $invoice->booking->room->hotel->name ?? 'N/A' }} |
{{ \Carbon\Carbon::parse($invoice->booking->check_in_date)->format('d M Y') }} -
{{ \Carbon\Carbon::parse($invoice->booking->check_out_date)->format('d M Y') }}
{{ \Carbon\Carbon::parse($invoice->booking->check_in_date)->diffInDays(\Carbon\Carbon::parse($invoice->booking->check_out_date)) }} malam |
Rp {{ number_format($invoice->booking->room_total, 0, ',', '.') }} |
|
{{ $service->service_name }}
Layanan Tambahan |
Qty: {{ $service->quantity }} | Rp {{ number_format($service->total_price, 0, ',', '.') }} |
| Total: | Rp {{ number_format($invoice->total_amount, 0, ',', '.') }} | |