@php $surname = DB::table("students")->where("id", Auth::id())->first()->surname; $firstname = DB::table("students")->where("id", Auth::id())->first()->firstname; $reg_no = DB::table("students")->where("id", Auth::id())->first()->reg_no; @endphp

{{ __('Transactions') }}

{{-- transactions list starts --}}

Name: {{$surname}} {{$firstname}}

Reg_no: {{$reg_no}}

@php $i = 0; @endphp @foreach ($bank as $transaction) @endforeach
S/N Time Details Reference Amount Status
{{ $i = $i + 1 }} {{ $transaction->created_at }} {{ $transaction->details }} {{ $transaction->reference }} {{ $transaction->amount }} {{ $transaction->status }} @if($transaction->status == 'success')
@endif
{{-- transactions list ends --}}