@extends('layouts.app') @section('title', 'Invoices Report') @section('content')
| No. | Name | Site | Invoice No. | Invoice Date | {{--Due Date | --}}Transaction 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 | |||||||||||