@if ($user->payment_history->count())
Date |
Amount |
@php
$c=0;
@endphp
@foreach ($user->payment_history as $o)
@if(! isset($limit) OR $c++ > $limit)
@break;
@endif
{{ $o->payment_date }} |
{{-- @todo Number format should configured by currency --}}
{{ number_format($o->total_amt,2) }} |
@endforeach
@else
No payments recorded
@endif