<?php if(Auth::user()->hasRole('admin_marshal') || Auth::user()->hasRole('admin')): ?>

    <?php
        $admin_list_all_client = App\Helpers\Helper::active_class('listAll/client', '');
        $admin_create_client = App\Helpers\Helper::active_class('create/client', '');
        $admin_list_all_marshal = App\Helpers\Helper::active_class('listAll/sitemarshal', '');
        $admin_create_marshal = App\Helpers\Helper::active_class('create/sitemarshal', '');
        $admin_list_all_vendor = App\Helpers\Helper::active_class('listAll/vendor', '');
        $admin_create_vendor = App\Helpers\Helper::active_class('create/vendor', '');
        $admin_existing_map = App\Helpers\Helper::active_class('existingMap', '');
        $admin_existing_map_action = App\Helpers\Helper::active_class('existingMap/*', '');
        $admin_map_table_form = App\Helpers\Helper::active_class('mapTableForm', '');
        $admin_events = App\Helpers\Helper::active_class('events/*', '');
        $admin_concern = App\Helpers\Helper::active_class('all/concern', '');
        $admin_view_concern = App\Helpers\Helper::active_class('view/concern/*', '');
        $admin_notifications = App\Helpers\Helper::active_class('all/notifications', '');
    ?>

    <!-- Admin Marshal -->
    <!-- #1 -->
    <li <?php echo $admin_list_all_client; ?> <?php echo $admin_create_client; ?>>
        <a href="#">
            <i class="metismenu-icon fa fa-user"></i>Client<i class="metismenu-state-icon pe-7s-angle-down caret-left"></i>
        </a>
        <ul style="padding: 0 0 0 2rem;">
            <li class="py-1">
                <a href="<?php echo e(url('listAll/client')); ?>" <?php echo $admin_list_all_client; ?>>
                    <i class="metismenu-icon"></i>Existing Client
                </a>
            </li>
            <li class="py-1">
                <a href="<?php echo e(url('create/client')); ?>" <?php echo $admin_create_client; ?>>
                    <i class="metismenu-icon"></i>Add New Client
                </a>
            </li>
        </ul>
    </li>
    <!-- #2 -->
    <li <?php echo $admin_list_all_marshal; ?> <?php echo $admin_create_marshal; ?>>
        <a href="#">
            <i class="metismenu-icon fa fa-vcard"></i>Team FK<i class="metismenu-state-icon pe-7s-angle-down caret-left"></i>
        </a>
        <ul style="padding: 0 0 0 2rem;">
            <li class="py-1">
                <a href="<?php echo e(url('listAll/sitemarshal')); ?>" <?php echo $admin_list_all_marshal; ?>>
                    <i class="metismenu-icon"></i>Existing Team FK
                </a>
            </li>
            <li class="py-1">
                <a href="<?php echo e(url('create/sitemarshal')); ?>" <?php echo $admin_create_marshal; ?>>
                    <i class="metismenu-icon"></i>Add New Team FK
                </a>
            </li>
        </ul>
    </li>
    <!-- #3 -->
    <li <?php echo $admin_list_all_vendor; ?> <?php echo $admin_create_vendor; ?>>
        <a href="#">
            <i class="metismenu-icon fa fa-user-circle"></i>Vendor<i class="metismenu-state-icon pe-7s-angle-down caret-left"></i>
        </a>
        <ul style="padding: 0 0 0 2rem;">
            <li class="py-1">
                <a href="<?php echo e(url('listAll/vendor')); ?>" <?php echo $admin_list_all_vendor; ?>>
                    <i class="metismenu-icon"></i>Existing Vendor
                </a>
            </li>
            <li class="py-1">
                <a href="<?php echo e(url('create/vendor')); ?>" <?php echo $admin_create_vendor; ?>>
                    <i class="metismenu-icon"></i>Add New Vendor
                </a>
            </li>
        </ul>
    </li>
    <!-- #4 -->
    <li <?php echo $admin_existing_map; ?> <?php echo $admin_existing_map_action; ?> <?php echo $admin_map_table_form; ?>>
        <a href="#">
            <i class="metismenu-icon fa fa-users"></i>Mapping<i class="metismenu-state-icon pe-7s-angle-down caret-left"></i>
        </a>
        <ul style="padding: 0 0 0 2rem;">
            <li class="py-1">
                <a href="<?php echo e(url('existingMap')); ?>" <?php echo $admin_existing_map; ?> <?php echo $admin_existing_map_action; ?>>
                    <i class="metismenu-icon"></i>Existing Mapping
                </a>
            </li>
            <li class="py-1">
                <a href="<?php echo e(url('mapTableForm')); ?>" <?php echo $admin_map_table_form; ?>>
                    <i class="metismenu-icon"></i>Add New Mapping
                </a>
            </li>
        </ul>
    </li>
    <!-- #4 -->
    <li>
        <a href="<?php echo e(url('events/noList')); ?>" <?php echo $admin_events; ?>>
            <i class="metismenu-icon fa fa-podcast"></i>Event/ODC
        </a>
    </li>
    <!-- #5 -->
    <li>
        <a href="<?php echo e(url('all/concern')); ?>" <?php echo $admin_concern; ?> <?php echo $admin_view_concern; ?>>
            <i class="metismenu-icon fa fa-question-circle"></i>View Concern
        </a>
    </li>
    <!-- #6 -->
    <li>
        <a href="<?php echo e(url('all/notifications')); ?>">
            <i class="metismenu-icon fa fa-bell"></i>Notification
        </a>
    </li>
    <!-- #7 -->
    <li>
        <a href="<?php echo e(url('reports')); ?>">
            <i class="metismenu-icon fa fa-bar-chart"></i>Reports
        </a>
    </li>
    <!-- #8 -->
    <!-- <li>
        <a href="#">
            <i class="metismenu-icon fa fa-newspaper"></i>Generate Invoice
        </a>
    </li> -->
    <!-- #9 -->
   <li>
        <a href="<?php echo e(url('allClientsAIFeeds/client')); ?>">
            <i class="metismenu-icon fa fa-video-camera"></i>AI Feeds
        </a>
    </li>

<?php elseif(Auth::user()->hasRole('site_marshal') || Auth::user()->hasRole('sitemarshal')): ?>

    <?php
        $marshal_client_list = App\Helpers\Helper::active_class('sitemarshal/client_list', '');
        $marshal_mapped_vendor = App\Helpers\Helper::active_class('sitemarshal/mapped/vendor/*', '');
        $marshal_vendor_list = App\Helpers\Helper::active_class('sitemarshal/vendor_list', '');
        $marshal_mapped_client = App\Helpers\Helper::active_class('sitemarshal/mapped/client/*', '');
        $marshal_menus = App\Helpers\Helper::active_class('sitemarshal/menus', '');
        $marshal_feedbacks = App\Helpers\Helper::active_class('sitemarshal/feedbacks', '');
        $marshal_concerns = App\Helpers\Helper::active_class('sitemarshal/concerns', '');
        $marshal_concern_all = App\Helpers\Helper::active_class('sitemarshal/concerns/*', '');
        $marshal_associat_events = App\Helpers\Helper::active_class('sitemarshal/events', '');
        $marshal_docs = App\Helpers\Helper::active_class('sitemarshal/submit/documents/new', '');
        $marshal_mapped_role = App\Helpers\Helper::active_class('sitemarshal/mapped/roles', '');
    ?>

    

    <!-- Site Marshal -->
    <!-- #1 -->
    <li>
        <a href="<?php echo e(url('sitemarshal/client_list')); ?>" <?php echo $marshal_client_list; ?> <?php echo $marshal_mapped_vendor; ?>>
            <i class="metismenu-icon fa fa-users"></i>Your Clients
        </a>
    </li>
    <!-- #2 -->
    <li>
        <a href="<?php echo e(url('sitemarshal/vendor_list')); ?>" <?php echo $marshal_vendor_list; ?> <?php echo $marshal_mapped_client; ?>>
            <i class="metismenu-icon fa fa-address-card"></i>Your Vendor
        </a>
    </li>
    <!-- #3 -->
    <li>
        <a href="<?php echo e(url('sitemarshal/menus')); ?>" <?php echo $marshal_menus; ?>>
            <i class="metismenu-icon fa fa-list"></i>Menus
        </a>
    </li>
    <!-- #4 -->
<!--    <li class="py-1">
        <a href="<?php echo e(url('sitemarshal/feedbacks')); ?>" <?php echo $marshal_feedbacks; ?>>
            <i class="metismenu-icon fa fa-commenting"></i>Feedback
        </a>
    </li>-->
    <!-- #5 -->
    <li class="py-1">
        <a href="<?php echo e(url('sitemarshal/concerns')); ?>" <?php echo $marshal_concerns; ?> <?php echo $marshal_concern_all; ?>>
            <i class="metismenu-icon fa fa-question-circle"></i>View Concern
        </a>
    </li>
    <!-- #6 -->
    <li class="py-1">
        <a href="<?php echo e(url('sitemarshal/events')); ?>" <?php echo $marshal_associat_events; ?>>
            <i class="metismenu-icon fa fa-podcast"></i>Event
        </a>
    </li>
    <!-- #7 -->
    <li>
        <a href="<?php echo e(url('sitemarshal/submit/documents/new')); ?>" <?php echo $marshal_docs; ?>>
            <i class="metismenu-icon fa fa-files-o"></i>Edit Documents
        </a>
    </li> 
    <!-- #8 -->
    <li>
        <a href="<?php echo e(url('sitemarshal/client_list')); ?>">
            <i class="metismenu-icon fa fa-video-camera"></i>AI Feeds
        </a>
    </li>

<?php elseif(Auth::user()->hasRole('vendor')): ?>

    <?php
        $vendor_docs = App\Helpers\Helper::active_class('vendor/submit/documents/new', '');
        $vendor_concern_all = App\Helpers\Helper::active_class('vendor/concerns', '');
        $vendor_concern = App\Helpers\Helper::active_class('vendor/concerns/*', '');
        $vendor_event = App\Helpers\Helper::active_class('vendor/event', '');
        $vendor_event_all = App\Helpers\Helper::active_class('vendor/event/*', '');
        $vendor_view_clients = App\Helpers\Helper::active_class('vendor/view/clients', '');
        $vendor_view_client_all = App\Helpers\Helper::active_class('vendor/view/clients/*', '');
        $vendor_feed = App\Helpers\Helper::active_class('vendor/view/feedback', '');
        $vendor_client_detail = App\Helpers\Helper::active_class('vendor/client_detail/*', '');
        $vendor_notification = App\Helpers\Helper::active_class('vendor/notifications', '');
        
        $vendor_view_marshal = App\Helpers\Helper::active_class('vendor/view/marshal', '');
        $vendor_view_marshal_all = App\Helpers\Helper::active_class('vendor/view/marshal/*', '');
        $vendor_marshal_detail = App\Helpers\Helper::active_class('vendor/marshal_detail/*', '');
    ?>

    <!-- Vendor -->
    <!-- #1 -->
<!--    <li <?php echo $vendor_view_clients; ?> <?php echo $vendor_view_client_all; ?> <?php echo $vendor_client_detail; ?>>
        <a href="#">
            <i class="metismenu-icon fa fa-users"></i>View Clients<i class="metismenu-state-icon pe-7s-angle-down caret-left"></i>
        </a>
        <ul style="padding:0 0 0 2rem;">
            <li class="py-1">
                <a href="<?php echo e(url('vendor/view/clients')); ?>" <?php echo $vendor_view_clients; ?> <?php echo $vendor_view_client_all; ?> <?php echo $vendor_client_detail; ?>>
                    <i class="metismenu-icon"></i>Menu
                </a>
            </li>
        </ul>
    </li>-->
    
    <li>
        <a href="<?php echo e(url('vendor/view/clients')); ?>" <?php echo $vendor_view_clients; ?> <?php echo $vendor_view_client_all; ?> <?php echo $vendor_client_detail; ?>>
            <i class="metismenu-icon fa fa-users"></i>View Clients
        </a>
    </li>
    <li>
        <a href="<?php echo e(url('vendor/view/marshal')); ?>" <?php echo $vendor_view_marshal; ?> <?php echo $vendor_view_marshal_all; ?> <?php echo $vendor_marshal_detail; ?>>
            <i class="metismenu-icon fa fa-users"></i>View Marshal
        </a>
    </li>
    <!-- #2 -->
    <li>
        <a href="<?php echo e(url('vendor/notifications')); ?>" <?php echo $vendor_notification; ?>>
            <i class="metismenu-icon fa fa-bell"></i>Notification
        </a>
    </li>
    <!-- #3 -->
    <li>
        <a href="<?php echo e(url('vendor/concerns')); ?>" <?php echo $vendor_concern; ?> <?php echo $vendor_concern_all; ?>>
            <i class="metismenu-icon fa fa-list"></i>View Concerns
        </a>
    </li>
    <!-- #5 -->
    <li>
        <a href="<?php echo e(url('vendor/event')); ?>" <?php echo $vendor_event; ?> <?php echo $vendor_event_all; ?>>
            <i class="metismenu-icon fa fa-podcast"></i>Event/ODC
        </a>
    </li>
    <!-- #6 -->
    <li>
        <a href="<?php echo e(url('vendor/submit/documents/new')); ?>" <?php echo $vendor_docs; ?>>
            <i class="metismenu-icon fa fa-files-o"></i>Documents
        </a>
    </li>
    <!-- #7 -->
    <li>
        <a href="<?php echo e(url('vendor/aiFeedsClientList')); ?>">
            <i class="metismenu-icon fa fa-video-camera"></i>AI Feeds
        </a>
    </li>

<?php elseif(Auth::user()->hasRole('client')): ?>

    <?php
        $client_marshals = App\Helpers\Helper::active_class('client/marshal', '');
        $client_marshal_detail = App\Helpers\Helper::active_class('client/marshal_detail', '');

        $client_vendors = App\Helpers\Helper::active_class('client/view/vendor', '');
        $client_vendor_detail = App\Helpers\Helper::active_class('client/view/vendor/detail/*', '');

        $client_exist_concern = App\Helpers\Helper::active_class('client/existing/concern', '');
        $client_raise_concern = App\Helpers\Helper::active_class('client/raise/concern', '');
        $client_view_concern = App\Helpers\Helper::active_class('client/view/concern/*', '');
        $client_exist_event = App\Helpers\Helper::active_class('client/existing/event', '');
        $client_view_vendor_menus = App\Helpers\Helper::active_class('client/view/vendorMenus', '');
        $client_book_event = App\Helpers\Helper::active_class('client/book/event', '');
        $client_event = App\Helpers\Helper::active_class('client/event/*', '');
        $client_feedback = App\Helpers\Helper::active_class('client/feedback', '');
        $client_view_vendor_documents = App\Helpers\Helper::active_class('client/view/vendorDocuments', '');
        
        $client_notification = App\Helpers\Helper::active_class('client/notifications', '');
        
    ?>

    <!-- Client -->
    <!-- #1 -->
    <li>
        <a href="<?php echo e(url('client/marshal')); ?>" <?php echo $client_marshals; ?> <?php echo $client_marshal_detail; ?>>
            <i class="metismenu-icon fa fa-address-card"></i>Your Marshal
        </a>
    </li>
    <!-- #2 -->
    <li class="py-1">
        <a href="<?php echo e(url('client/view/vendor')); ?>" <?php echo $client_vendors; ?> <?php echo $client_vendor_detail; ?>>
            <i class="metismenu-icon fa fa-user"></i>Your Vendor
        </a>
    </li>
    <!-- #3 -->
    <li>
        <a href="<?php echo e(url('client/existing/concern')); ?>" <?php echo $client_exist_concern; ?> <?php echo $client_raise_concern; ?> <?php echo $client_view_concern; ?>>
            <i class="metismenu-icon fa fa-question-circle"></i>Raise a Concern
        </a>
    </li>
    <!-- #4 -->
    <li class="py-1">
        <a href="<?php echo e(url('client/view/vendorMenus')); ?>" <?php echo $client_view_vendor_menus; ?>>
            <i class="metismenu-icon fa fa-list"></i>Menu
        </a>
    </li>
    <!-- #5 -->
   <li>
        <a href="<?php echo e(url('client/aiFeedsVendorList')); ?>">
            <i class="metismenu-icon fa fa-video-camera"></i>AI Feeds
        </a>
    </li>
    <!-- #6 -->
    <li>
        <a href="<?php echo e(url('client/existing/event')); ?>" <?php echo $client_exist_event; ?> <?php echo $client_book_event; ?> <?php echo $client_event; ?>>
            <i class="metismenu-icon fa fa-podcast"></i>Book an Event/ODC
        </a>
    </li>
    <!-- #7 -->
<!--    <li>
        <a href="<?php echo e(url('client/feedback')); ?>" <?php echo $client_feedback; ?>>
            <i class="metismenu-icon fa fa-commenting"></i>Feedback
        </a>
    </li>-->
    <!-- #8 -->
    <li>
        <a href="<?php echo e(url('client/notifications')); ?>" <?php echo $client_notification; ?>>
            <i class="metismenu-icon fa fa-bell"></i>Notification
        </a>
    </li>
    <!-- #8 -->
    <!-- <li>
        <a href="#">
            <i class="metismenu-icon fa fa-bar-chart"></i>Report
        </a>
    </li> -->

<?php endif; ?><?php /**PATH C:\xampp7.4\htdocs\foodycraft\resources\views/components/componentHelpers/sidecontent.blade.php ENDPATH**/ ?>