<ul id="menu" class="page-sidebar-menu">

    <li {!! (Request::is('admin/dashboard') ? 'class="active"' : '') !!}>
        <a href="{{ route('admin.dashboard') }}">
            <i class="livicon" data-name="dashboard" data-size="18" data-c="#418BCA" data-hc="#418BCA" data-loop="true"></i>
            <span class="title">Dashboard</span>
        </a>
    </li>
     @if (checkPermission('journal', 'view') || checkPermission('ebook', 'view') || checkPermission('volume', 'view') || checkPermission('ebook_volume', 'view') || checkPermission('issue', 'view') || checkPermission('article', 'view') || checkPermission('chapter', 'view') || checkPermission('subject', 'view') ||
    checkPermission('pharmacy_collection','view') || checkPermission('jmscontent','view') || checkPermission('recenttrend','view') || checkPermission('indexing_agencies','view') || checkPermission('press_release','view') || checkPermission('sdg','view'))
    <li {!! (Request::is('admin/journals') || Request::is('admin/ebook') || Request::is('admin/volumes') || Request::is('admin/ebook_volume') || Request::is('admin/issue') || Request::is('admin/articles') || Request::is('admin/chapters') || Request::is('admin/subject') || Request::is('admin/pharmacy_collection') || Request::is('admin/ratings') || Request::is('admin/form_layouts') || Request::is('admin/formwizard') || Request::is('admin/accordionformwizard') || Request::is('admin/datepicker') || Request::is('admin/advanced_datepickers') || Request::is('admin/jmscontent') || Request::is('admin/recenttrend') || Request::is('admin/indexing_agencies') || Request::is('admin/press_release') || Request::is('admin/sdg')? 'class="active"' : '' ) !!}>

        
        <a href="#">
            <i class="livicon" data-name="pen" data-c="#00bc8c" data-hc="#00bc8c"
               data-size="18" data-loop="true"></i>
            <span class="title">Content Management</span>
            <span class="fa arrow"></span>
        </a>
       
        <ul class="sub-menu">
            @if (checkPermission('subject', 'view'))
            <li {!! (Request::is('admin/subject') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/subject') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Subject
                </a>
            </li>
            @endif

            @if (checkPermission('pharmacy_collection', 'view'))
            <li {!! (Request::is('admin/pharmacy_collection') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/pharmacy_collection') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Pharmacy Collection
                </a>
            </li>
            @endif

            @if (checkPermission('journal', 'view'))
            <li {!! (Request::is('admin/journals') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/journals') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Journal
                </a>
            </li>
            @endif
            @if (checkPermission('ebook', 'view'))
            <li {!! (Request::is('admin/ebook') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/ebook') }}">
                    <i class="fa fa-angle-double-right"></i>
                    eBook
                </a>
            </li>
            @endif
            @if (checkPermission('volume', 'view'))
            <li {!! (Request::is('admin/volumes') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/volumes') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Volume
                </a>
            </li>
            @endif
            @if (checkPermission('ebook_volume', 'view'))
            <li {!! (Request::is('admin/ebook_volume') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/ebook_volume') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Ebook Volume
                </a>
            </li>
            @endif
            @if (checkPermission('issue', 'view'))
            <li {!! (Request::is('admin/issue') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/issue') }}">          
                    <i class="fa fa-angle-double-right"></i>
                    Issue
                </a>
            </li>
            @endif
            @if (checkPermission('article', 'view'))
            <li {!! (Request::is('admin/articles') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/articles') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Article
                </a>
            </li>
            @endif
            @if (checkPermission('chapter', 'view'))
            <li {!! (Request::is('admin/chapters') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/chapters') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Chapter
                </a>
            </li>
            @endif
            @if (checkPermission('JMSContent', 'view'))
            <li {!! (Request::is('admin/jmscontent') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/jmscontent') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Import JMS Content
                </a>
            </li>
            @endif
            @if (checkPermission('RecentTrend', 'view'))
            <li {!! (Request::is('admin/recenttrend') ? 'class="active"' : '' ) !!}>
                <a href="{{ URL::to('admin/recenttrend') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Recent Trend Article
                </a>
            </li>
            @endif
            @if (checkPermission('IndexingAgencies', 'view'))
            <li {!! (Request::is('admin/indexing_agencies') ? 'class="active"' : '' ) !!}>
                <a href="{{ URL::to('admin/indexing_agencies') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Indexing Agencies
                </a>
            </li>
            @endif
            @if (checkPermission('PressRelease', 'view'))
            <li {!! (Request::is('admin/press_release') ? 'class="active"' : '' ) !!}>
                <a href="{{ URL::to('admin/press_release') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Press Release
                </a>
            </li>
            @endif
            @if (checkPermission('SustainableDevelopmentGoals', 'view'))
            <li {!! (Request::is('admin/sdg') ? 'class="active"' : '' ) !!}>
                <a href="{{ URL::to('admin/sdg') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Sustainable Development Goals
                </a>
            </li>
            @endif
            
        </ul>
    </li>
    @endif

    @if (checkPermission('ContentReport', 'view'))
    <li {!! (Request::is('admin/content-report/journal') || Request::is('admin/content-report/ebook') || Request::is('admin/content-report/volume') || Request::is('admin/content-report/ebook_volume') || Request::is('admin/content-report/issue') || Request::is('admin/content-report/article') || Request::is('admin/content-report/chapter')? 'class="active"' : '') !!}>

        
        <a href="#">
            <i class="livicon" data-name="table" data-c="#ffffff" data-hc="#ffffff"
               data-size="18" data-loop="true"></i>
            <span class="title">Content Report</span>
            <span class="fa arrow"></span>
        </a>
       
        <ul class="sub-menu">            
            <li {!! (Request::is('admin/content-report/journal') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content-report/journal') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Journal
                </a>
            </li>
            
            <li {!! (Request::is('admin/content-report/ebook') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content-report/ebook') }}">
                    <i class="fa fa-angle-double-right"></i>
                    eBook
                </a>
            </li>           
            <li {!! (Request::is('admin/content-report/volume') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content-report/volume') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Volume
                </a>
            </li>
            
            <li {!! (Request::is('admin/content-report/ebook_volume') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content-report/ebook_volume') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Ebook Volume
                </a>
            </li>            
            <li {!! (Request::is('admin/content-report/issue') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content-report/issue') }}">          
                    <i class="fa fa-angle-double-right"></i>
                    Issue
                </a>
            </li>           
            <li {!! (Request::is('admin/content-report/article') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content-report/article') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Article
                </a>
            </li>           
            <li {!! (Request::is('admin/content-report/chapter') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content-report/chapter') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Chapter
                </a>
            </li>            
            
        </ul>
    </li>
    @endif

    @if (checkPermission('metadata', 'view'))
    
     <li {!! (Request::is('admin/metadata/issue') || Request::is('admin/metadata/article') || Request::is('admin/metadata/ebook')
    || Request::is('admin/form_layout') || Request::is('admin/validation') || Request::is('admin/formelements') || Request::is('admin/dropdowns')
    || Request::is('admin/radio_checkbox') || Request::is('admin/ratings') || Request::is('admin/form_layouts') || Request::is('admin/formwizard')
    || Request::is('admin/accordionformwizard') || Request::is('admin/datepicker') | Request::is('admin/advanced_datepickers')? 'class="active"' : '') !!}>
        

        <a href="#">
            <i class="livicon" data-name="archive-add" data-c="#F89A14" data-hc="#F89A14" data-size="18"
               data-loop="true"></i>
            <span class="title">Generate Metadata</span>
            <span class="fa arrow"></span>
        </a>
        <ul class="sub-menu">
            <li {!! (Request::is('admin/metadata/issue') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/metadata/issue') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Issue Metadata
                </a>
            </li>
            <li {!! (Request::is('admin/metadata/article') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/metadata/article') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Article Metadata
                </a>
            </li>         
             <li {!! (Request::is('admin/metadata/ebook') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/metadata/ebook') }}">
                    <i class="fa fa-angle-double-right"></i>
                    eBook Metadata
                </a>
            </li>
             <li {!! (Request::is('admin/metadata/ebooks/bentsponix') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/metadata/ebooks/bentsponix') }}">
                    <i class="fa fa-angle-double-right"></i>
                    eBook BENTSPONIX
                </a>
            </li>

        </ul>
    </li>
	@endif

    @if (checkPermission('content_access', 'view'))
      <li {!! (Request::is('admin/content_access_volume') 
    || Request::is('admin/content_access_issue') || Request::is('admin/content_access_article')
    || Request::is('admin/content_access_chapter') ? 'class="active"' : '') !!}>
        <a href="#">
            <i class="livicon" data-name="unlock" data-c="#e9573f" data-hc="#e9573f"
               data-size="18" data-loop="true"></i>
            <span class="title">Content Level Access</span>
            <span class="fa arrow"></span>
        </a>
        <ul class="sub-menu">
            <li {!! (Request::is('admin/content_access_volume') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content_access_volume') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Volume Access
                </a>
            </li>
            <li {!! (Request::is('admin/content_access_issue') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content_access_issue') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Issue Access
                </a>
            </li>
            <li {!! (Request::is('admin/content_access_article') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content_access_article') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Article Access
                </a>
            </li>
            <li {!! (Request::is('admin/content_access_chapter') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/content_access_chapter') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Chapter Access
                </a>
            </li>
        </ul>
    </li>
    @endif 
    @if (checkPermission('user_access', 'view')) 
    <li {!! (Request::is('admin/user_access') || Request::is('admin/useraccess/view') ? 'class="active"' : '' ) !!}>
        <a href="#">
            <i class="livicon" data-name="unlock" data-c="#e9573f" data-hc="#e9573f"
               data-size="18" data-loop="true"></i>
            <span class="title">User Level Access</span>
            <span class="fa arrow"></span>
        </a>
        <ul class="sub-menu">
            
             <li >
                <a href="{{ route('user_access.index', ['section' => 'access_request_list']) }}">
                    <i class="fa fa-angle-double-right"></i>
                    Access Request List
                </a>
            </li>
            
            <li {!! (Request::is('admin/useraccess/view') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/useraccess/view') }}">
                    <i class="fa fa-angle-double-right"></i>
                    User Access (View)
                </a>
            </li>
            
        </ul>
    </li>
    @endif 

    @if (checkPermission('order_web_form', 'view')) 
     <li  {!! (Request::is('admin/web_form_report/printorder') 
    || Request::is('admin/web_form_report/fulltext') 
    || Request::is('admin/web_form_report/rentalorder/list') 
    || Request::is('admin/bundle_offer') 
    || Request::is('admin/web_form_report/journalsubscriptionorder') 
    || Request::is('admin/web_form_report/preorder') ? 'class="active"' : '') !!}>
        <a href="#">
        
            <i class="livicon" data-name="doc-portrait" data-c="#5bc0de" data-hc="#5bc0de"
               data-size="18" data-loop="true"></i>
            <span class="title">Order Via Web Form</span>
            <span class="fa arrow"></span>
        </a>
        <ul class="sub-menu">
          
             <li {!! (Request::is('admin/web_form_report/multiuserorder') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/multiuserorder') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Multi User Order 
                </a>
            </li>
              <li {!! (Request::is('admin/web_form_report/printorder') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/printorder') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Print Version Order 
                </a>
            </li>
           
            <li {!! (Request::is('admin/web_form_report/fulltext') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/fulltext') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Fulltext Inquiry Order Report
                </a>
            </li>

            <li {!! (Request::is('admin/web_form_report/issuepurchase') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/issuepurchase') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Full Issue Purchase Report
                </a>
            </li>

            <li {!! (Request::is('admin/web_form_report/journalsubscriptionorder') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/journalsubscriptionorder') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Journal Subscription Report
                </a>
            </li>

             <li {!! (Request::is('admin/web_form_report/preorder') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/preorder') }}">
                    <i class="fa fa-angle-double-right"></i>
                     Pre Order 
                </a>
            </li>
             <li {!! (Request::is('admin/web_form_report/reprintorder') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/reprintorder') }}">
                    <i class="fa fa-angle-double-right"></i>
                     Reprint Order
                </a>
            </li>
             <li {!! (Request::is('admin/web_form_report/eprintorder') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/eprintorder') }}">
                    <i class="fa fa-angle-double-right"></i>
                     ePrint Order
                </a>
            </li>
             <li {!! (Request::is('admin/web_form_report/rentalorder/list') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/web_form_report/rentalorder/list') }}">
                    <i class="fa fa-angle-double-right"></i>
                     Rental Order
                </a>
            </li>
             <li {!! (Request::is('admin/bundle_offer') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/bundle_offer') }}">
                    <i class="fa fa-angle-double-right"></i>
                     Bundle Offer Order
                </a>
            </li>
        </ul>
    </li>
    @endif   
    
    @if (checkPermission('discipline', 'view')) 
     <li  {!! (Request::is('admin/discipline') 
    || Request::is('admin/discipline-article') 
    || Request::is('admin/discipline-access')
    ? 'class="active"' : '') !!}>
        <a href="#">
        
            <i class="livicon" data-name="external-link" data-c="#A9B6BC" data-hc="#A9B6BC"
            data-size="18" data-loop="true"></i>
            <span class="title">Discipline Management</span>
            <span class="fa arrow"></span>
        </a>
        <ul class="sub-menu">
            <li {!! (Request::is('admin/discipline') ? 'class="active"' : '') !!}>
                
                <a href="{{ URL::to('admin/discipline') }}">
                    <i class="fa fa-angle-double-right"></i>
                    <span class="title">Discipline Listing</span>
                </a>
            </li>
            <li {!! (Request::is('admin/discipline-article') ? 'class="active"' : '') !!}>
                
                <a href="{{ URL::to('admin/discipline-article') }}">
                    <i class="fa fa-angle-double-right"></i>
                    <span class="title">Discipline Article</span>
                </a>
            </li>
            <li {!! (Request::is('admin/discipline-access') ? 'class="active"' : '') !!}>
                
                <a href="{{ URL::to('admin/discipline-access') }}">
                    <i class="fa fa-angle-double-right"></i>
                    <span class="title">Discipline Access</span>
                </a>
            </li>
        </ul>
    </li>
    @endif

    @if (checkPermission('banner', 'view'))
    <li {!! (Request::is('admin/banner') ? 'class="active"' : '') !!}>
        
        <a href="{{ URL::to('admin/banner') }}">
            <i class="livicon" data-name="image" data-c="#00bc8c" data-hc="#00bc8c"
               data-size="18" data-loop="true"></i>
            <span class="title">Banner Management</span>
        </a>
       
    </li>
    @endif
	
    @if (checkPermission('shareable', 'view'))
    <li {!! (Request::is('admin/shareable') ? 'class="active"' : '') !!}>
        
        <a href="{{ URL::to('admin/shareable') }}">
            <i class="livicon" data-name="brush" data-c="#F89A14" data-hc="#F89A14"
               data-size="18" data-loop="true"></i>
            <span class="title">Shareable Link</span>
        </a>
       
    </li>
    @endif

    @if (checkPermission('marcdata', 'view'))
      <li {!! (Request::is('admin/marcdata') 
    || Request::is('admin/marcdata') ? 'class="active"' : '') !!}>
        <a href="{{  URL::to('admin/marcdata/view') }}">
            <i class="livicon" data-name="qrcode" data-c="#ffffff" data-hc="#ffffff"
               data-size="18" data-loop="true"></i>
            <span class="title">MARC Data</span>
        </a>
    </li>
    @endif	

    @if (checkPermission('kbartdata', 'view'))
    <li {!! (Request::is('admin/kbart') || Request::is('admin/kbart') ? 'class="active"' : '' ) !!}>
        <a href="{{  URL::to('admin/kbart/view') }}">
            <i class="livicon" data-name="table" data-c="#418BCA" data-hc="#418BCA" data-size="18" data-loop="true"></i>
            <span class="title">KBart Data</span>
        </a>
    </li>
    @endif  


    @if (checkPermission('users', 'view')) 
	<li {!! (Request::is('admin/users') ? 'class="active"' : '') !!}>
        <a href="{{  URL::to('admin/users') }}">
            <i class="livicon" data-name="users" data-size="18" data-c="#6CC66C" data-hc="#6CC66C" data-loop="true"></i>
            User Management
        </a>
    </li>
    @endif
    @if (checkPermission('campaign', 'view')) 
    <li {!! (Request::is('admin/campaign') ? 'class="active"' : '') !!}>
        <a href="{{  URL::to('admin/campaign') }}">
            <i class="livicon" data-name="map" data-c="#5bc0de" data-hc="#5bc0de" data-size="18" data-loop="true"></i>
            Campaign
        </a>
    </li>
    @endif
    @if (checkPermission('disease', 'view'))
    <li {!! (Request::is('admin/disease') ? 'class="active"' : '') !!}>
        <a href="{{  URL::to('admin/disease') }}">
            <i class="livicon" data-name="lab" data-c="#EF6F6C" data-hc="#EF6F6C" data-size="18" data-loop="true"></i>
            Disease Management
        </a>
    </li>
    @endif
    @if (checkPermission('ipaccess', 'view'))
    <li {!! (Request::is('admin/ipaccess') ? 'class="active"' : '') !!}>
        <a href="{{  URL::to('admin/ipaccess') }}">
            <i class="livicon" data-name="list-ul" data-c="#F89A14" data-hc="#F89A14" data-size="18" data-loop="true"></i>
            Add IPs for Webservices
        </a>
    </li>
    @endif

    @if (checkPermission('reports', 'view')) 
    <li {!! (Request::is('admin/consortia') || Request::is('admin/report/sales') || Request::is('admin/order/list') || Request::is('admin/counter_report') || Request::is('admin/revenue_report/journal') || Request::is('admin/revenue_report/journal_volume') || Request::is('admin/revenue_report/issue') || Request::is('admin/revenue_report/article') || Request::is('admin/revenue_report/ebook_volume') || Request::is('admin/revenue_report/chapter') || Request::is('admin/report/sales') || Request::is('admin/report/downloaded_articles') || Request::is('admin/report/downloaded_chapters') || Request::is('admin/report/downloaded_ebooks')? 'class="active"' : '') !!}>
        <a href="#">
            <i class="livicon" data-name="notebook" data-c="#e9573f" data-hc="#e9573f" data-size="18" data-loop="true"></i>
            <span class="title">Reports</span>
            <span class="fa arrow"></span>
        </a>
        <ul class="sub-menu">

         @if (checkPermission('consortia', 'view'))
        <li {!! (Request::is('admin/consortia') ? 'class="active"' : '') !!}>
            <a href="{{  URL::to('admin/consortia') }}">
                    <i class="livicon" data-name="dawn" data-c="#FDA2F2" data-hc="#FDA2F2" data-size="18" data-loop="true"></i>
                Consortia
            </a>
        </li>
        @endif

         @if (checkPermission('order', 'view'))
        <li {!! (Request::is('admin/order/list') ? 'class="active"' : '') !!}>
            <a href="{{  URL::to('admin/order/list') }}">
                    <i class="livicon" data-name="shopping-cart-in" data-c="#418BCA" data-hc="#418BCA" data-size="18" data-loop="true"></i>
                Orders
            </a>
        </li>
        @endif


         @if (checkPermission('bundle_offer', 'view'))
        <li {!! (Request::is('admin/bundle_offer_report') ? 'class="active"' : '') !!}>
            <a href="{{ URL::to('admin/bundle_offer_report') }}">
                    <i class="livicon" data-name="shopping-cart-in" data-c="#418BCA" data-hc="#418BCA" data-size="18" data-loop="true"></i>
                Bundle Offer Orders
            </a>
        </li>
        @endif

        @if (checkPermission('counter_report', 'view'))
        <li {!! (Request::is('admin/counter_report') ? 'class="active"' : '') !!}>
            <a href="{{  URL::to('admin/counter_report') }}">
                    <i class="livicon" data-name="help" data-c="#1DA1F2" data-hc="#1DA1F2" data-size="18" data-loop="true"></i>
                Counter Report
            </a>
        </li>
        @endif 
        @if (checkPermission('counter_report', 'view'))
        <li {!! (Request::is('admin/counter_report/R5') ? 'class="active"' : '') !!}>
            <a href="{{  URL::to('admin/counter_report/R5') }}">
                    <i class="livicon" data-name="help" data-c="#1DA1F2" data-hc="#1DA1F2" data-size="18" data-loop="true"></i>
                Counter Report R5
            </a>
        </li>
        @endif 

        @if (checkPermission('revenue_report', 'view')) 
        <li  {!! (Request::is('admin/revenue_report/journal') || Request::is('admin/revenue_report/journal_volume') || Request::is('admin/revenue_report/issue') || Request::is('admin/revenue_report/article') || Request::is('admin/revenue_report/ebook_volume') || Request::is('admin/revenue_report/chapter')? 'class="active"' : '') !!}>
            <a href="#">
                    <i class="livicon" data-name="money" data-c="#00bc8c" data-hc="#00bc8c" data-size="18" data-loop="true"></i>
                <span class="title">Revenue Report</span>
                <span class="fa arrow"></span>
            </a>
            <ul class="sub-menu">
            
                <li {!! (Request::is('admin/revenue_report/journal') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/revenue_report/journal') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Journal Report
                    </a>
                </li>
            
                <li {!! (Request::is('admin/revenue_report/journal_volume') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/revenue_report/journal_volume') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Journal Volume
                    </a>
                </li>
                
                <li {!! (Request::is('admin/revenue_report/issue') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/revenue_report/issue') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Issue
                    </a>
                </li>
                
                <li {!! (Request::is('admin/revenue_report/article') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/revenue_report/article') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Article
                    </a>
                </li>
                
                <li {!! (Request::is('admin/revenue_report/ebook_volume') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/revenue_report/ebook_volume') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Ebook Volume
                    </a>
                </li>
                
                <li {!! (Request::is('admin/revenue_report/chapter') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/revenue_report/chapter') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Chapter
                    </a>
                </li>
                
            </ul>
        </li>
        @endif

    @if (checkPermission('sales_report', 'view') || checkPermission('sales', 'view') || checkPermission('year', 'view') || checkPermission('custom', 'view')) 
    <li {!! (Request::is('admin/report/sales')? 'class="active"' : '') !!}>
        <a href="#">
                    <i class="livicon" data-name="barchart" data-c="#EF6F6C" data-hc="#EF6F6C" data-size="18" data-loop="true"></i>
            <span class="title">Sales Reports</span>
            <span class="fa arrow"></span>
        </a>
        <ul class="sub-menu">
            <li {!! (Request::is('admin/report/sales') ? 'class="active"' : '') !!}>
                <a href="{{ URL::to('admin/report/sales') }}">
                    <i class="fa fa-angle-double-right"></i>
                    Sale Summary
                </a>
            </li>
        </ul>
    </li>
    @endif    


        @if (checkPermission('downloaded_report', 'view')) 
        <li  {!! (Request::is('admin/report/downloaded_articles') || Request::is('admin/report/downloaded_chapters') || Request::is('admin/report/downloaded_ebooks')? 'class="active"' : '') !!}>
            <a href="#">
                    <i class="livicon" data-name="sandglass" data-c="#F89A14" data-hc="#F89A14" data-size="18" data-loop="true"></i>
                <span class="title">Downloaded Report</span>
                <span class="fa arrow"></span>
            </a>
            <ul class="sub-menu">

                <li {!! (Request::is('admin/report/downloaded_articles') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/report/downloaded_articles') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Article
                    </a>
                </li>
                
                <li {!! (Request::is('admin/report/downloaded_ebooks') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/report/downloaded_ebooks') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Ebook Volume
                    </a>
                </li>
                
                <li {!! (Request::is('admin/report/downloaded_chapters') ? 'class="active"' : '') !!}>
                    <a href="{{ URL::to('admin/report/downloaded_chapters') }}">
                        <i class="fa fa-angle-double-right"></i>
                        Chapter
                    </a>
                </li>
                
            </ul>
        </li>
        @endif            
        </ul>
    </li>
    @endif          
    @if (checkPermission('MarketingReport', 'view'))
    <li {!! (Request::is('admin/marketing-report/shareable_link_report') ? 'class="active"' : '' ) !!}>
        <a href="#">
            <i class="livicon" data-name="money" data-c="#00bc8c" data-hc="#00bc8c" data-size="18" data-loop="true"></i>
            <span class="title">Marketing Report</span>
            <span class="fa arrow"></span>
        </a>
        <ul class="sub-menu">
            @if (checkPermission('Shareable_link_report', 'view'))
            <li {!! (Request::is('admin/marketing-report/shareable_link_report') ? 'class="active"' : '' ) !!}>
                <a href="{{  URL::to('admin/marketing-report/shareable_link_report') }}">
                    <i class="livicon" data-name="notebook" data-c="#e9573f" data-hc="#e9573f" data-size="18" data-loop="true"></i>
                    Shareable Link Report
                </a>
            </li>
            @endif

            @if (checkPermission('domain_access_report', 'view'))
            <li {!! (Request::is('admin/marketing-report/domain_access_report') ? 'class="active"' : '' ) !!}>
                <a href="{{  URL::to('admin/marketing-report/domain_access_report') }}">
                    <i class="livicon" data-name="notebook" data-c="#e9573f" data-hc="#e9573f" data-size="18" data-loop="true"></i>
                    Domain Access Report
                </a>
            </li>
            @endif

            @if (checkPermission('FreeorOpenAccessArticle', 'view'))
            <li {!! (Request::is('admin/marketing-report/free_openaccess_article_report') ? 'class="active"' : '' ) !!}>
                <a href="{{  URL::to('admin/marketing-report/free_openaccess_article_report') }}">
                    <i class="livicon" data-name="notebook" data-c="#e9573f" data-hc="#e9573f" data-size="18" data-loop="true"></i>
                    Free/Open Access Article Report
                </a>
            </li>
            @endif

            @if (checkPermission('DownloadswithArticleDOI', 'view'))
            <li {!! (Request::is('admin/marketing-report/downloads_with_article_doi') ? 'class="active"' : '' ) !!}>
                <a href="{{  URL::to('admin/marketing-report/downloads_with_article_doi') }}">
                    <i class="livicon" data-name="notebook" data-c="#e9573f" data-hc="#e9573f" data-size="18" data-loop="true"></i>
                    Downloads with Article DOI
                </a>
            </li>
            @endif

        </ul>
    </li>
    @endif
    <!-- Menus generated by CRUD generator -->
    @include('admin/layouts/menu')
</ul>