@extends('layouts.app') @section('page-title', 'Faktur ' . $invoice->invoice_number) @section('content')
Sistem Manajemen Kosan
{{ $invoice->invoice_number }}
Diterbitkan: {{ $invoice->issued_at->format('d M Y') }}
Tagihan Kepada
{{ $invoice->reservation->guest->full_name }}
{{ $invoice->reservation->guest->email }}
{{ $invoice->reservation->guest->phone }}
@if($invoice->reservation->guest->address){{ $invoice->reservation->guest->address }}
@endifDetail Reservasi
| Kode | {{ $invoice->reservation->reservation_code }} |
| Kamar | {{ $invoice->reservation->room->room_number }} ({{ $invoice->reservation->room->roomType->name }}) |
| Check-in | {{ $invoice->reservation->check_in_date->format('d M Y') }} |
| Check-out | {{ $invoice->reservation->check_out_date->format('d M Y') }} |
| Durasi | {{ $invoice->reservation->months }} bulan |
| Deskripsi | Jumlah |
|---|---|
|
Kamar {{ $invoice->reservation->room->room_number }} — {{ $invoice->reservation->room->roomType->name }} {{ $invoice->reservation->months }} bulan × Rp {{ number_format($invoice->reservation->room->roomType->price_per_month, 0, ',', '.') }} |
Rp {{ number_format($invoice->subtotal, 0, ',', '.') }} |
| Biaya Check-in Lebih Awal | Rp {{ number_format($invoice->reservation->early_checkin_fee, 0, ',', '.') }} |
| Biaya Check-out Terlambat | Rp {{ number_format($invoice->reservation->late_checkout_fee, 0, ',', '.') }} |
| Subtotal | Rp {{ number_format($invoice->subtotal, 0, ',', '.') }} |
| Pajak ({{ number_format(config('hotel.tax_rate', 0.11) * 100, 0) }}%) | Rp {{ number_format($invoice->tax, 0, ',', '.') }} |
| Biaya Layanan ({{ number_format(config('hotel.service_charge_rate', 0.10) * 100, 0) }}%) | Rp {{ number_format($invoice->service_charge, 0, ',', '.') }} |
| Diskon | -Rp {{ number_format($invoice->discount, 0, ',', '.') }} |
| Total Keseluruhan | Rp {{ number_format($invoice->grand_total, 0, ',', '.') }} |
Pembayaran Diterima
@foreach($invoice->payments as $payment)Terima kasih telah menginap bersama kami!
{{ config('app.name') }} • {{ config('app.url') }}