@extends('layouts.app') @section('title', 'Welcome') @section('content')

Reports Management

Billing Report
{{-- --}} @forelse ($payments as $index => $item) {{-- --}} {{-- --}} @if ($loop->last) @endif @empty @endforelse
No. Site ID Account No.StatusName Date Invoice Amount
{{ $payments->firstItem() + $index }}{{ $index+1 }}{{ $item->site_id ?? '--' }} {{ $item->account_no ?? '--' }}{{ $item->status ?? '--' }}{{ $item->nama_pemilik ?? '--' }} {{ $item->payment_datetime->format('d/m/Y') ?? '--' }} {{ $item->invoice_no }} {{ $item->amount }}
Total {{ number_format($total, 2) }}
Grand Total {{ number_format($grandTotal, 2) }}
- Tiada rekod dijumpai -
{{ $payments->links() }}
@endsection