@extends('layouts.app') @section('title', 'Collection Reports') @push('css') @endpush @section('content')
| No. | Invoice No. | Invoice Date | Account No. | Account Name | Transaction ID | Transaction Date/Time | Payment Type | Site | Item | Amount (RM) | Status | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $payments->firstItem() + $index }} | {{ $payment->invoice_no ?? '--' }} | {{ $payment->invoiced_at?->format('d/m/Y') ?? '--' }} | @if ($payment->payer?->user?->isCorporate()) C @endif {{ $payment->payer->account_no ?? '--' }} | @if ($payment->payer?->user) {{ $payment->payer->name ?? '--' }} @if (is_null($payment->payer->name)) Please update customer info @endif @else -- @endif | {{ $payment->ref_no ?? '--' }} | @if ($payment->ref_no){{ $payment->received_time?->format('d/m/Y \- H:i') ?? '--' }} | @else-- | @endif{{ $payment->type->label() ?? '--' }} | {{ $payment->site->name ?? '--' }} |
@if (isset($payment->items))
|
{{ Number::format($payment->amount, precision: 2) ?? 0 }} | @if ($payment->isPaid()) Paid @else Unpaid @endif | |
| No result | |||||||||||||