@php $LoggedUser = Auth::user()->name; $IsAdmin = Auth::user()->IsAdmin; $LoggedUser = ucwords($LoggedUser); $profile=Auth::user()->ProfilePic; $userId=Auth::user()->RefId; $UserTitle = Auth::user()->UserTitle; if($UserTitle == ''){ $UserTitle = "User"; } $UserTitle = ucwords($UserTitle); $siteurl=$_SERVER['HTTP_HOST']; $url=explode(".",$siteurl); $InstanceName=$url[0]; //$InstanceName = ucwords($InstanceName); $result=DB::table('InboundEmailConfiguration')->where('DeletedStatus',0)->orderby('CreatedDate','desc')->get("EmailId")->first(); $EmailId=$result->EmailId; $roleId="0c9b7578-91b7-4514-be00-ea381158cdeb";//call executive $userPrimaryRole=DB::table('UserRoleAssociation')->where('UserID',$userId)->where('RoleID',$roleId)->where('PrimaryRole',1)->get(["UserRoleAssociationId"])->first(); try { $userPrimaryRole=$userPrimaryRole->UserRoleAssociationId; } catch(\Exception $e) { $userPrimaryRole=""; } @endphp
logo
  • logo logo Link
  • BPM360
  • Dashboard
    • Dashboard
    • UserWise Dashboard
  • @if($IsAdmin == 1)
  • Admin
    • Admin Panel
  • @endif @if($IsAdmin == 1)
  • Import
    • Import
  • Search
    • Search
  • @endif
  • E-Mail
    • E-Mail
    • E-mail Tickets
    • @if($IsAdmin == 1)
    • Templates
    • @endif
  • @if($userPrimaryRole)
  • Agent Call
    • Agent Calls
  • @endif
  • Calendar
    • View Calendar
  • @if($InstanceName == "crm")
  • Invoice
    • Place Order
  • @endif