@php $payments = \App\Models\PaymentDetails::get(); @endphp @if(count($payments)>0) @foreach($payments as $item)
  • $ {{$item->amount??null}} has been credtied in the Account
  • @endforeach @endif