@php use App\Enums\UserRole; // dd($userBank); $route = Auth::user()->role_id === UserRole::TUTOR->value ? route('transactions.tutor.requestWithdraw.store') : (Auth::user()->role_id === UserRole::TEACHER->value ? route('transactions.teacher.requestWithdraw.store') : route('transactions.agency.requestWithdraw.store')); @endphp @if ($errors->any() && $errors->has('money')) @endif