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

Reminder Tagihan

Kirim pengingat pembayaran via WhatsApp ke penghuni yang belum bayar.

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

Tidak ada tunggakan!

Semua penghuni sudah membayar tagihan mereka tepat waktu.

@else @foreach($invoices as $invoice)
{{ substr($invoice->resident->user->name, 0, 1) }}

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

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

#{{ $invoice->invoice_number }} {{ \Carbon\Carbon::create()->month($invoice->period_month)->translatedFormat('F') }} {{ $invoice->period_year }}

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

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

@csrf
@endforeach
@endif @endsection