@extends('layouts.finance') @section('title', 'Factory Payout Detail') @section('subtitle', 'Bank credits recorded as Factory Payout') @section('content') @php $displayCurrency = 'PKR'; $fmt = fn($usd) => $metrics->moneyIn($usd, 'USD', $displayCurrency); $rowCount = $rows->count(); $latestDate = $rows->max(fn($row) => $row['date']?->toDateString()); @endphp
| Date | Account | Received From | Description | Reference | Amount | PKR Equivalent | View |
|---|---|---|---|---|---|---|---|
| {{ $row['date']?->format('d M Y') ?: '-' }} | {{ $row['account'] ?: '-' }} | {{ $row['counterparty'] ?: '-' }} | {{ $row['description'] ?: '-' }} | {{ $row['reference'] ?: '-' }} | {{ $metrics->money($row['amount'], $row['currency']) }} | {{ $fmt($row['amount_usd']) }} | @if($row['transaction']) Open @else - @endif |
| No factory payout rows found for this period. | |||||||