{{Auth::guard('admin')->user()->full_name}}
@php
if (Auth::guard('admin')->user()->role == 2) {
$merchantGet = \DB::table('merchant')->where('mid',Auth::guard('admin')->user()->mid)->first();
$merchant = ' | '.$merchantGet->merchant_nm;
}else{
$merchant = '';
}
$role = collect(\DB::select("SELECT * FROM groups_admin where id = ?",[Auth::guard('admin')->user()->role]))->first();
@endphp
{{$role->description}} {{($merchant)}}