{{--
@if ($newPayments->isNotEmpty()) @foreach ($newPayments as $payment)
{{ $payment->customer->name }} submitted payment for {{ $payment->course->title }}.
Review
@endforeach @else
No new payments at the moment.
@endif
--}}
@if ( count($newPayments) > 0)
@foreach ($newPayments as $payment) {{ $loop->iteration }} {{ Str::limit($payment->customer->username, 5) }} {{ Str::limit($payment->course->course_name, 10) }} {{ $payment->course->price }} {{ $payment->payment_status }} @endforeach
@endif {{-- @if (!empty($newPayments)) @foreach ($newPayments as $payment) @endforeach
# អតិថិជន ទិញវគ្គសិក្សា តម្លែ ស្ថានភាព
{{ $loop->iteration }} {{ Str::limit($payment->customer->username, 5) }} {{ Str::limit($payment->course->course_name, 10) }} {{ $payment->course->price }} {{ $payment->payment_status }}
@else
No new payments at the moment.
@endif --}} {{-- --}}