@extends('layouts.dashboard') @section('title', 'Billing Invoices') @section('header', 'Billing Invoices Management') @section('sidebar') @include('owner.partials.sidebar') @endsection @section('content')

Billing Invoices

Manage and track all billing invoices for your properties

Generate Invoice
@forelse($invoices as $invoice) @empty @endforelse
Invoice Number Customer Contract Amount Issue Date Due Date Status Actions
{{ $invoice->invoice_number }}
{{ $invoice->type ?? 'rent' }}
{{ $invoice->customer->name ?? 'N/A' }}
{{ $invoice->customer->email ?? 'N/A' }}
{{ $invoice->contract->contract_number ?? 'N/A' }}
{{ number_format($invoice->total_amount, 0) }}
{{ $invoice->currency }}
{{ \Carbon\Carbon::parse($invoice->invoice_date)->format('M d, Y') }}
{{ \Carbon\Carbon::parse($invoice->due_date)->format('M d, Y') }}
@if($invoice->status === 'paid') Paid @elseif($invoice->status === 'pending') Pending @elseif($invoice->status === 'overdue') Overdue @else Cancelled @endif

No invoices found

Generate your first invoice to get started

@if(isset($invoices) && $invoices->hasPages())
{{ $invoices->links() }}
@endif
@endsection