@push('styles') .table td { border-top: 1px solid #e3e6f0; padding: 1.5rem 0.5rem; } .progress { border-radius: 10px; overflow: hidden; } .progress-bar { font-size: 0.75rem; font-weight: 600; } .table th:nth-child(4), .table td:nth-child(4) { width: 20%; } /* Nama Tamu */ .table th:nth-child(5), .table td:nth-child(5) { width: 15%; } /* Hotel */ .table th:nth-child(6), .table td:nth-child(6) { width: 12%; } /* Total */ .table th:nth-child(7), .table td:nth-child(7) { width: 8%; } /* Aksi */ @endpush @extends('admin.layout') @section('title', 'Manajemen Invoice') @section('content')
Kelola semua invoice dan tagihan hotel
|
Total Invoice |
Total Pendapatan |
Sudah Dibayar |
Belum Dibayar |
|---|---|---|---|
{{ number_format($stats['total_invoices']) }}Invoice |
Rp {{ number_format($stats['total_amount'], 0, ',', '.') }}Semua invoice |
Rp {{ number_format($stats['paid_amount'], 0, ',', '.') }}Invoice lunas |
Rp {{ number_format($stats['pending_amount'], 0, ',', '.') }}Menunggu pembayaran |
| No. Invoice | Tanggal | Booking | Tamu | Total | Status | Aksi |
|---|---|---|---|---|---|---|
|
{{ $invoice->invoice_number }}
|
{{ $invoice->created_at->format('d/m/Y') }} | {{ $invoice->booking->booking_code ?? 'N/A' }} |
{{ $invoice->booking->guest_name ?? 'N/A' }}
|
Rp {{ number_format($invoice->total_amount, 0, ',', '.') }}
|
{{ $status['text'] }} |
Belum ada invoice yang dibuat untuk kriteria pencarian ini.