2024-03-28 14:52:40 +05:30
<! DOCTYPE html data - theme - mode = " light " >
< html lang = " en " data - theme = " light " >
<!-- begin :: Heads -->
< head >
< title >@ yield ( 'title' ) | Jericho Alternatives </ title >
< meta charset = " utf-8 " />
< meta name = " viewport " content = " width=device-width, initial-scale=1 " />
< meta name = " csrf-token " content = " { { csrf_token() }} " >
< link rel = " shortcut icon " href = " { { asset('public/assets/media/FrontendImages/menu-logo.png')}} " />
<!-- begin :: Fonts -->
< link rel = " stylesheet " href = " https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700 " />
<!-- end :: Fonts -->
<!-- begin :: Vendor Stylesheets ( used by this page ) -->
< link href = " { { asset('public/assets/plugins/custom/fullcalendar/fullcalendar.bundle.css')}} " rel = " stylesheet " type = " text/css " />
< link href = " https://cdn.datatables.net/1.13.2/css/jquery.dataTables.min.css " rel = " stylesheet " />
<!-- end :: Vendor Stylesheets -->
<!-- begin :: Global Stylesheets Bundle ( used by all pages ) -->
< link href = " { { asset('public/assets/plugins/global/plugins.bundle.css')}} " rel = " stylesheet " type = " text/css " />
< link rel = " stylesheet " href = " https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css " />
< link href = " { { asset('public/assets/css/style.bundle.css')}} " rel = " stylesheet " type = " text/css " />
< link rel = " stylesheet " href = " { { asset('public/assets/css/style.css')}} " >
<!-- end :: Global Stylesheets Bundle -->
< style >
. smt - btns {
color : #fff !important;
border : 1 px solid #171b2f !important;
background - color : #171b2f !important;
padding : 10 px 20 px ! important ;
border - radius : 5 px ! important ;
}
input {
color : #5E6278 !important;
}
. error {
color : red ;
}
</ style >
@ yield ( 'style' )
</ head >
< body data - kt - name = " metronic " id = " kt_app_body " data - kt - app - layout = " dark-sidebar " data - kt - app - header - fixed = " true " data - kt - app - sidebar - enabled = " true " data - kt - app - sidebar - fixed = " true " data - kt - app - sidebar - hoverable = " true " data - kt - app - sidebar - push - header = " true " data - kt - app - sidebar - push - toolbar = " true " data - kt - app - sidebar - push - footer = " true " data - kt - app - toolbar - enabled = " true " class = " app-default " >
< div class = " d-flex flex-column flex-root app-root " id = " kt_app_root " >
<!-- begin :: Page -->
< div class = " app-page flex-column flex-column-fluid " id = " kt_app_page " >
<!-- begin :: Header -->
< div id = " kt_app_header " class = " app-header " >
<!-- begin :: Header container -->
< div class = " app-container container-fluid d-flex align-items-stretch justify-content-between " >
<!-- begin :: sidebar mobile toggle -->
< div class = " d-flex align-items-center d-lg-none ms-n2 me-2 " title = " Show sidebar menu " >
< div class = " btn btn-icon btn-active-color-primary w-35px h-35px " id = " kt_app_sidebar_mobile_toggle " >
<!-- begin :: Svg Icon | path : icons / duotune / abstract / abs015 . svg -->
< span class = " svg-icon svg-icon-1 " >
< svg width = " 24 " height = " 24 " viewBox = " 0 0 24 24 " fill = " none " xmlns = " http://www.w3.org/2000/svg " >
< path d = " M21 7H3C2.4 7 2 6.6 2 6V4C2 3.4 2.4 3 3 3H21C21.6 3 22 3.4 22 4V6C22 6.6 21.6 7 21 7Z " fill = " currentColor " />
< path opacity = " 0.3 " d = " M21 14H3C2.4 14 2 13.6 2 13V11C2 10.4 2.4 10 3 10H21C21.6 10 22 10.4 22 11V13C22 13.6 21.6 14 21 14ZM22 20V18C22 17.4 21.6 17 21 17H3C2.4 17 2 17.4 2 18V20C2 20.6 2.4 21 3 21H21C21.6 21 22 20.6 22 20Z " fill = " currentColor " />
</ svg >
</ span >
<!-- end :: Svg Icon -->
</ div >
</ div >
<!-- end :: sidebar mobile toggle -->
<!-- begin :: Mobile logo -->
< div class = " flex-grow-1 " >
</ div >
<!-- end :: Mobile logo -->
<!-- begin :: Header wrapper -->
< div class = " d-flex align-items-stretch justify-content-between flex-lg-grow-2 " id = " kt_app_header_wrapper " >
<!-- end :: Menu wrapper -->
<!-- begin :: Navbar -->
< div class = " app-navbar flex-shrink-0 " >
< div class = " app-navbar-item ms-1 ms-lg-3 " >
< a href = " { { route('trail_commission') }} " >
< div class = " btn btn-icon btn-active-light btn-active-color-primary w-md-40px h-md-40px position-relative " >
< div class = " symbol symbol-50px " >
<!-- < i class = " fa-regular fa-wallet pt-2 " style = 'width:22px;height:22px' ></ i > -->
< svg width = " 24 " height = " 24 " viewBox = " 0 0 24 24 " fill = " none " xmlns = " http://www.w3.org/2000/svg " >
< path d = " M11.2929 2.70711C11.6834 2.31658 12.3166 2.31658 12.7071 2.70711L15.2929 5.29289C15.6834 5.68342 15.6834 6.31658 15.2929 6.70711L12.7071 9.29289C12.3166 9.68342 11.6834 9.68342 11.2929 9.29289L8.70711 6.70711C8.31658 6.31658 8.31658 5.68342 8.70711 5.29289L11.2929 2.70711Z " fill = " currentColor " ></ path >
< path d = " M11.2929 14.7071C11.6834 14.3166 12.3166 14.3166 12.7071 14.7071L15.2929 17.2929C15.6834 17.6834 15.6834 18.3166 15.2929 18.7071L12.7071 21.2929C12.3166 21.6834 11.6834 21.6834 11.2929 21.2929L8.70711 18.7071C8.31658 18.3166 8.31658 17.6834 8.70711 17.2929L11.2929 14.7071Z " fill = " currentColor " ></ path >
< path opacity = " 0.3 " d = " M5.29289 8.70711C5.68342 8.31658 6.31658 8.31658 6.70711 8.70711L9.29289 11.2929C9.68342 11.6834 9.68342 12.3166 9.29289 12.7071L6.70711 15.2929C6.31658 15.6834 5.68342 15.6834 5.29289 15.2929L2.70711 12.7071C2.31658 12.3166 2.31658 11.6834 2.70711 11.2929L5.29289 8.70711Z " fill = " currentColor " ></ path >
< path opacity = " 0.3 " d = " M17.2929 8.70711C17.6834 8.31658 18.3166 8.31658 18.7071 8.70711L21.2929 11.2929C21.6834 11.6834 21.6834 12.3166 21.2929 12.7071L18.7071 15.2929C18.3166 15.6834 17.6834 15.6834 17.2929 15.2929L14.7071 12.7071C14.3166 12.3166 14.3166 11.6834 14.7071 11.2929L17.2929 8.70711Z " fill = " currentColor " ></ path >
</ svg >
@ if ( generateCommissionCount ())
< span class = " symbol-badge badge badge-sm badge-circle badge-white badge-outline bg-danger start-100 " > {{ generateCommissionCount ()}} </ span >
@ endif
</ div >
</ div >
</ a >
</ div >
<!-- begin :: Chat -->
< div class = " app-navbar-item ms-1 ms-lg-3 " >
<!-- begin :: Menu wrapper -->
< a href = " { { route('manage_chat') }} " >
< div class = " btn btn-icon btn-active-light btn-active-color-primary w-md-40px h-md-40px position-relative " >
<!-- begin :: Svg Icon | path : icons / duotune / communication / com012 . svg -->
< div class = " symbol symbol-50px " >
< i class = " fa-regular fa-message pt-2 " style = 'width:22px;height:22px' ></ i >
< span class = " symbol-badge badge badge-sm badge-circle badge-white badge-outline bg-danger start-100 " > {{ unreadChats ()}} </ span >
</ div >
</ div >
</ a >
<!-- end :: Menu wrapper -->
</ div >
<!-- begin :: Theme mode -->
<!-- end :: Chat -->
< div class = " app-navbar-item ms-1 ms-lg-3 " >
<!-- begin :: Menu wrapper -->
< div class = " btn btn-icon btn-custom btn-icon-muted btn-active-light btn-active-color-primary w-35px h-35px w-md-40px h-md-40px position-relative " data - kt - menu - trigger = " click " data - kt - menu - attach = " parent " data - kt - menu - placement = " bottom-end " >
<!-- begin :: Svg Icon | path : icons / duotune / communication / com012 . svg -->
<!-- < i class = " fa-regular fa-bell " style = 'width:25px;height:25px' ></ i > -->
< div class = " symbol symbol-50px " >
2024-06-05 13:52:33 +05:30
< i class = " fa-regular fa-bell " title = " { { Auth::user()->unreadNotifications()->count()}} " style = 'width:25px;height:25px' ></ i >
2024-06-04 12:00:48 +05:30
< span class = " symbol-badge badge badge-sm badge-circle badge-white badge-outline bg-danger start-100 " id = " notification_count " > {{ Auth :: user () -> unreadnotifications () -> count ()}} </ span >
2024-03-28 14:52:40 +05:30
</ div >
</ div >
<!-- end :: Menu wrapper -->
<!-- begin :: Menu -->
<!-- notification - start -->
< div class = " menu menu-sub menu-sub-dropdown menu-column w-350px w-lg-375px overflow-auto " data - kt - menu = " true " style = " width:50.5rem !important;height:25rem !important " >
<!-- begin :: Heading -->
< div class = " d-flex flex-column bgi-no-repeat rounded-top " style = " background-color:#1c3b67; " >
<!-- begin :: Title -->
< h3 class = " text-white fw-semibold px-9 mt-10 mb-6 " > Notifications
<!-- < span class = " fs-8 opacity-75 ps-3 " > 24 reports </ span ></ h3 > -->
<!-- end :: Title -->
</ div >
<!-- end :: Heading -->
<!-- begin :: Tab content -->
< div class = " tab " id = " kt_topbar_notifications_1 " role = " tabpanel " >
< ul class = " nav nav-tabs " >
< ul class = " nav nav-tabs " id = " myTab " role = " tablist " >
< li class = " nav-item " role = " presentation " >
< button class = " nav-link active " id = " new-user-tab " data - bs - toggle = " tab " data - bs - target = " #user-tab " type = " button " role = " tab " aria - controls = " user-tab " aria - selected = " true " > New Users </ button >
</ li >
< li class = " nav-item " role = " presentation " >
< button class = " nav-link " id = " submitted-kyc-tab " data - bs - toggle = " tab " data - bs - target = " #kyc-tab " type = " button " role = " tab " aria - controls = " kyc-tab " aria - selected = " false " > Submitted KYC </ button >
</ li >
< li class = " nav-item " role = " presentation " >
< button class = " nav-link " id = " seller-form-tab " data - bs - toggle = " tab " data - bs - target = " #seller-tab " type = " button " role = " tab " aria - controls = " seller-tab " aria - selected = " false " > Seller Forms </ button >
</ li >
< li class = " nav-item " role = " presentation " >
< button class = " nav-link " id = " buyer-form-tab " data - bs - toggle = " tab " data - bs - target = " #buyer-tab " type = " button " role = " tab " aria - controls = " buyer-tab " aria - selected = " false " > Buyer Forms </ button >
</ li >
< li class = " nav-item " role = " presentation " >
< button class = " nav-link " id = " contact-tab " data - bs - toggle = " tab " data - bs - target = " #contact " type = " button " role = " tab " aria - controls = " contact " aria - selected = " false " > Contact Us </ button >
</ li >
< li class = " nav-item " role = " presentation " >
< button class = " nav-link " id = " leads-tab " data - bs - toggle = " tab " data - bs - target = " #leads " type = " button " role = " tab " aria - controls = " leads " aria - selected = " false " > Leads Assigned </ button >
</ li >
2024-04-04 19:13:00 +05:30
< li class = " nav-item " role = " presentation " >
< button class = " nav-link " id = " newleads-tab " data - bs - toggle = " tab " data - bs - target = " #newleads " type = " button " role = " tab " aria - controls = " newleads " aria - selected = " false " > New Leads </ button >
</ li >
2024-03-28 14:52:40 +05:30
</ ul >
</ ul >
<!-- begin :: Items -->
< div class = " scroll-y my-5 px-8 " >
<!-- begin :: Item -->
< div class = " tab-content d-flex flex-stack py-4 " id = " myTabContent " >
< div class = " tab-pane fade show active " id = " user-tab " role = " tabpanel " aria - labelledby = " new-user-tab " >
@ foreach ( getAllAdminNotifications () as $data )
@ if ( array_key_exists ( 'notification_type' , $data -> data ) && $data -> data [ 'notification_type' ] == 'New Users' )
@ include ( 'Admin.notifications' )
@ endif
@ endforeach
</ div >
< div class = " tab-pane fade " id = " kyc-tab " role = " tabpanel " aria - labelledby = " submitted-kyc-tab " >
@ foreach ( getAllAdminNotifications () as $data )
@ if ( array_key_exists ( 'notification_type' , $data -> data ) && $data -> data [ 'notification_type' ] == 'Submitted KYC' )
@ include ( 'Admin.notifications' )
@ endif
@ endforeach
</ div >
< div class = " tab-pane fade " id = " seller-tab " role = " tabpanel " aria - labelledby = " seller-form-tab " >
@ foreach ( getAllAdminNotifications () as $data )
@ if ( array_key_exists ( 'notification_type' , $data -> data ) && $data -> data [ 'notification_type' ] == 'Seller Form' )
@ include ( 'Admin.notifications' )
@ endif
@ endforeach
</ div >
< div class = " tab-pane fade " id = " buyer-tab " role = " tabpanel " aria - labelledby = " buyer-form-tab " >
@ foreach ( getAllAdminNotifications () as $data )
@ if ( array_key_exists ( 'notification_type' , $data -> data ) && $data -> data [ 'notification_type' ] == 'Buyer Form' )
@ include ( 'Admin.notifications' )
@ endif
@ endforeach
</ div >
< div class = " tab-pane fade " id = " contact " role = " tabpanel " aria - labelledby = " contact-tab " >
@ foreach ( getAllAdminNotifications () as $data )
@ if ( array_key_exists ( 'notification_type' , $data -> data ) && $data -> data [ 'notification_type' ] == 'Contact Us' )
@ include ( 'Admin.notifications' )
@ endif
@ endforeach
</ div >
< div class = " tab-pane fade " id = " leads " role = " tabpanel " aria - labelledby = " leads-tab " >
@ foreach ( getAllAdminNotifications () as $data )
@ if ( array_key_exists ( 'notification_type' , $data -> data ) && $data -> data [ 'notification_type' ] == 'Leads Assigned' )
@ include ( 'Admin.notifications' )
@ endif
@ endforeach
</ div >
2024-04-04 19:13:00 +05:30
< div class = " tab-pane fade " id = " newleads " role = " tabpanel " aria - labelledby = " newleads-tab " >
@ foreach ( getAllAdminNotifications () as $data )
@ if ( array_key_exists ( 'notification_type' , $data -> data ) && $data -> data [ 'notification_type' ] == 'New Leads' )
@ include ( 'Admin.notifications' )
@ endif
@ endforeach
</ div >
2024-03-28 14:52:40 +05:30
</ div >
</ div >
<!-- end :: Items -->
</ div >
<!-- end :: Tab content -->
</ div >
<!-- end :: Menu -->
</ div >
<!-- notification - end -->
<!-- begin :: User menu -->
< div class = " app-navbar-item ms-1 ms-lg-9 " id = " kt_header_user_menu_toggle " >
<!-- begin :: Menu wrapper -->
< div class = " cursor-pointer symbol symbol-35px symbol-md-40px " data - kt - menu - trigger = " click " data - kt - menu - attach = " parent " data - kt - menu - placement = " bottom-end " >
<!--< img src = " { { asset('public/assets/media/avatars/300-1.jpg')}} " alt = " user " />-->
@ if ( Auth :: user () -> profile_image != null )
< img alt = " logo " src = " { { Auth::user()->profile_image}} " />
@ else
< img alt = " Logo " src = " { { asset('public/uploads/profile/img/dummy-image.png')}} " />
@ endif
</ div >
<!-- begin :: User account menu -->
< div class = " menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-800 menu-state-bg menu-state-color fw-semibold py-4 fs-6 w-275px " data - kt - menu = " true " >
<!-- begin :: Menu item -->
< div class = " menu-item px-3 " >
< div class = " menu-content d-flex align-items-center px-3 " >
<!-- begin :: Avatar -->
< div class = " symbol symbol-50px me-5 " >
@ if ( Auth :: user () -> profile_image != null )
< img alt = " logo " src = " { { Auth::user()->profile_image}} " />
@ else
< img alt = " Logo " src = " { { asset('public/uploads/profile/img/dummy-image.png')}} " />
@ endif
</ div >
<!-- end :: Avatar -->
<!-- begin :: Username -->
< div class = " d-flex flex-column " >
< div class = " fw-bold d-flex align-items-center fs-5 " > {{ getAdminProfile ()[ 'name' ]}}
<!-- < span class = " badge badge-light-success fw-bold fs-8 px-2 py-1 ms-2 " > Pro </ span > -->
</ div >
< a href = " javascript:void(0) " class = " fw-semibold text-muted text-hover-primary fs-7 " > {{ getAdminProfile ()[ 'email' ]}} </ a >
</ div >
<!-- end :: Username -->
</ div >
</ div >
<!-- end :: Menu item -->
<!-- begin :: Menu separator -->
< div class = " separator my-2 " ></ div >
<!-- end :: Menu separator -->
<!-- begin :: Menu item -->
< div class = " menu-item px-5 " >
< a href = " { { route('view-profile')}} " class = " menu-link px-5 " > My Profile </ a >
</ div >
<!-- end :: Menu item -->
<!-- begin :: Menu item -->
< div class = " menu-item px-5 " >
< a href = " { { route('admin.sign-out') }} " class = " menu-link px-5 " > Sign Out </ a >
</ div >
<!-- end :: Menu item -->
</ div >
<!-- end :: User account menu -->
<!-- end :: Menu wrapper -->
</ div >
<!-- end :: User menu -->
</ div >
<!-- end :: Navbar -->
</ div >
<!-- end :: Header wrapper -->
</ div >
<!-- end :: Header container -->
</ div >