%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/ccd-ind-code/resources/views/layouts/include/
Upload File :
Create Path :
Current File : //home/silvzytp/ccd-ind-code/resources/views/layouts/include/sidebar.blade.php

<!-- START: Main Menu-->
<div class="sidebar">
    <div class="site-width">
        <!-- START: Menu-->
        <ul id="side-menu" class="sidebar-menu">
            @if (Auth::user()->role->slug == 'super-admin')
                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('super.dashboard') }}"><i class="icon-home"></i> Dashboard</a></li>
                    </ul>
                </li>

                <li class="dropdown">
                    <ul>
                        <li class="dropdown"><a href="#"><i class="icon-list"></i>Platform Administration</a>
                            <ul class="sub-menu">
                                <li>
                                    <a href="{{ route('super.roles.index') }}"><i class="icon-bell"></i> Role</a>
                                </li>
                                <li>
                                    <a href="{{ route('super.admins.index') }}"><i class="icon-bell"></i> Admin</a>
                                </li>
                                <li>
                                    <a href="{{ route('super.managers.index') }}"><i class="icon-bell"></i> Manager</a>
                                </li>
                                <li>
                                    <a href="{{ route('super.agents.index') }}"><i class="icon-bell"></i> Agent</a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>

                <li class="dropdown">
                    <ul>
                        <li class="dropdown"><a href="#"><i class="icon-call-out"></i>Callings</a>
                            <ul class="sub-menu">
                                <li>
                                    <a href="{{ route('super.status.index') }}"><i class="icon-bell"></i> Status</a>
                                </li>
                                <li>
                                    <a href="{{ route('super.sub-status.index') }}"><i class="icon-bell"></i> Sub Status</a>
                                </li>
                                <li>
                                    <a href="{{ route('super.callings.index') }}"><i class="icon-bell"></i> Calling List</a>
                                </li>
                                <!--<li>-->
                                <!--    <a href="{{ route('super.callings.create') }}"><i class="icon-bell"></i> Add New Calling</a>-->
                                <!--</li>-->
                            </ul>
                        </li>
                    </ul>
                </li>

                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('super.compare.index') }}"><i class="icon-chart"></i> Compare</a></li>
                    </ul>
                </li>
                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('super.file.compare.index') }}"><i class="icon-chart"></i> File Compare</a></li>
                    </ul>
                </li>
                
            @else
                @permission('app.dashboard')
                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('app.dashboard') }}"><i class="icon-home"></i> Dashboard</a></li>
                    </ul>
                </li>
                @endpermission


                @permission('app.managers.index')
                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('app.managers.index') }}"><i class="icon-people"></i> Managers</a></li>
                    </ul>
                </li>
                @endpermission

                @permission('app.agents.index')
                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('app.agents.index') }}"><i class="icon-people"></i> Agents</a></li>
                    </ul>
                </li>
                @endpermission

                @if (Gate::allows('app.callings.index') || Gate::allows('app.status.index') || Gate::allows('app.sub-status.index'))
                    <li class="dropdown">
                        <ul>
                            <li class="dropdown">
                                <a href="#"><i class="icon-call-out"></i>Callings</a>
                                <ul class="sub-menu">
                                    @permission('app.status.index')
                                    <li>
                                        <a href="{{ route('app.status.index') }}"><i class="icon-bell"></i> Status</a>
                                    </li>
                                    @endpermission

                                    @permission('app.sub-status.index')
                                    <li>
                                        <a href="{{ route('app.sub-status.index') }}"><i class="icon-bell"></i> Sub Status</a>
                                    </li>
                                    @endpermission

                                    @permission('app.callings.index')
                                    <li>
                                        <a href="{{ route('app.callings.index') }}"><i class="icon-bell"></i> Calling List</a>
                                    </li>
                                    @endpermission
                                </ul>
                            </li>
                        </ul>
                    </li>
                @endif
                
                @if(auth()->user()->role_id == 3)
                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('app.import.callings.get-data') }}"><i class="fas fa-file-import"></i>Import Calling</a></li>
                    </ul>
                </li>
                @endif

                @permission('app.compare.index')
                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('app.compare.index') }}"><i class="icon-chart"></i> Compare</a></li>
                    </ul>
                </li>
                
                @if(Auth::user()->role->slug == 'admin')
                <li class="dropdown active">
                    <ul>
                        <li><a href="{{ route('app.file.compare.index') }}"><i class="icon-chart"></i> File Compare</a></li>
                    </ul>
                </li>
                @endif
                @endpermission
                
             
            @endif
        </ul>
    </div>
</div>


Zerion Mini Shell 1.0