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

Reports Management

Invoicing Reports
Reset

RM {{ number_format($total, 2) }}

{{-- --}} @forelse ($payments as $payment) {{-- --}} {{-- --}} {{-- --}} {{-- --}} @empty @endforelse
No. Name Site Invoice No. Invoice DateDue DateTransaction Date Amount Status
{{ $payments->firstItem() * $loop->iteration }} @if ($payment->payer?->user) {{ $payment->payer->name ?? '--' }} @else -- @endif {{ $payment->site?->full_name ?? '--' }} {{ $payment->invoice_no ?? '--' }} {{ $payment->invoiced_at?->format('d/m/Y') }}10/{{ $payment->items[0]->due->format('m/Y') ?? '--' }}{{ $payment->received_time?->format('d/m/Y H:iA') ?? '--' }} {{ $payment->amount ?? '--' }} @if ($payment->status->value == 1) Paid @else Unpaid @endif {{ $item->status }}{{ $item->start_date->format('d/m/Y') ?? '--' }}{{ $item->end_date->format('d/m/Y') ?? '--' }}
No record found
@endsection @push('css') @endpush @push('js') @endpush