@extends('layouts.owner') @section('breadcrumb') Keuangan / Tagihan @endsection @section('content')

Daftar Tagihan

Kelola penagihan bulanan untuk seluruh penghuni aktif.

@csrf
@if($invoices->isEmpty())

Belum ada tagihan di periode ini

Klik tombol "Generate" untuk membuat tagihan otomatis bagi semua penghuni yang aktif.

@else @foreach($invoices as $invoice)

#{{ $invoice->invoice_number }}

{{ $invoice->resident->user->name }}

{{ $invoice->lease->room->property->name }}

Unit {{ $invoice->lease->room->room_number }}

Rp {{ number_format($invoice->total_amount, 0, ',', '.') }}

{{ $invoice->due_date->translatedFormat('d M Y') }}

@endforeach
@endif @endsection