@php use App\Models\Wallet; $walletBalance = Wallet::where('user_id', Auth::id()) ->where('currency', 'NAIRA')->first() @endphp @extends('layouts.app') @section('content') @include('inc.h') @include('inc.s') @if (session('success'))
{{ session('success') }}
@elseif (session('error'))
{{ session('error') }}
@endif
Fund Wallet || Your Wallet Balance: N{{ $walletBalance->amount }}

Adding funds to {{ $user->name }}'s wallet.

@csrf
@endsection