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