@php $count = 1; @endphp @foreach ($other_payment_history as $key => $value) @php $count++; @endphp @endforeach
ID Payment Voucher Date Voucher Ref. No. Amount
{{ $count }} {{ date('Y-m-d', strtotime($value->settlement_date)) }} {{ $value->other_payment_no }} {{ number_format($value->amount, 2) }}