%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/dsr_code/resources/views/layouts/include/
Upload File :
Create Path :
Current File : //home/silvzytp/dsr_code/resources/views/layouts/include/sidebar.blade.php

<nav class="page-sidebar" id="sidebar">
    <div id="sidebar-collapse">
        <ul class="side-menu metismenu mt-3">
            @if (Auth::user()->role->slug == 'super-admin')
                <li class="heading">Dashboard</li>
                <li>
                    <a class="active" href="{{ route('super.dashboard') }}"><i class="sidebar-item-icon fa fa-th-large"></i>
                        <span class="nav-label">Dashboard</span>
                    </a>
                </li>

                <li class="heading">System</li>
                <li>
                    <a href="javascript:;"><i class="sidebar-item-icon fa fa-users"></i>
                        <span class="nav-label">Platform Administration</span><i class="fa fa-angle-left arrow"></i></a>
                    <ul class="nav-2-level collapse">
                        <li>
                            <a href="{{ route('super.roles.index') }}">Role</a>
                        </li>
                        <li>
                            <a href="{{ route('super.admins.index') }}">Admin</a>
                        </li>
                        <li>
                            <a href="{{ route('super.managers.index') }}">Manager</a>
                        </li>
                        <li>
                            <a href="{{ route('super.agents.index') }}">Agent</a>
                        </li>
                    </ul>
                </li>

                <li class="heading">Monthly</li>
                <li>
                    <a class="active" href="{{ route('super.monthly-data.index') }}">
                        <i class="sidebar-item-icon fa fa-calendar-check-o"></i>
                        <span class="nav-label">Monthly Data</span>
                    </a>
                </li>

                <li>
                    <a class="active" href="{{ route('super.monthly.index') }}">
                        <i class="sidebar-item-icon fa fa-calendar-plus-o"></i>
                        <span class="nav-label">Monthly Commitment</span>
                    </a>
                </li>

                <li class="heading">Compare</li>
                <li>
                    <a class="active" href="{{ route('super.compare.index') }}">
                        <i class="sidebar-item-icon fa fa-compress"></i>
                        <span class="nav-label">Compare</span>
                    </a>
                </li>
            @else
                <li class="heading">Dashboard</li>
                @permission('app.dashboard')
                <li>
                    <a class="active" href="{{ route('app.dashboard') }}"><i class="sidebar-item-icon fa fa-th-large"></i>
                        <span class="nav-label">Dashboard</span>
                    </a>
                </li>
                @endpermission

                @if (Auth::user()->role->slug == 'admin')
                    <li class="heading">System</li>
                @endif

                @permission('app.managers.index')
                    <li>
                        <a class="active" href="{{ route('app.managers.index') }}">
                            <i class="sidebar-item-icon fa fa-users"></i>
                            <span class="nav-label">Managers</span>
                        </a>
                    </li>
                @endpermission

                @permission('app.agents.index')
                    <li>
                        <a class="active" href="{{ route('app.agents.index') }}">
                            <i class="sidebar-item-icon fa fa-users"></i>
                            <span class="nav-label">Agents</span>
                        </a>
                    </li>
                @endpermission

                <li class="heading">Monthly</li>
                @permission('app.monthly-data.index')
                <li>
                    <a class="active" href="{{ route('app.monthly-data.index') }}">
                        <i class="sidebar-item-icon fa fa-calendar-check-o"></i>
                        <span class="nav-label">Monthly Data</span>
                    </a>
                </li>
                @endpermission

                @permission('app.monthly.index')
                <li>
                    <a class="active" href="{{ route('app.monthly.index') }}">
                        <i class="sidebar-item-icon fa fa-calendar-plus-o"></i>
                        <span class="nav-label">Monthly Commitment</span>
                    </a>
                </li>
                @endpermission

                @permission('app.compare.index')
                <li class="heading">Compare</li>
                <li>
                    <a class="active" href="{{ route('app.compare.index') }}">
                        <i class="sidebar-item-icon fa fa-compress"></i>
                        <span class="nav-label">Compare</span>
                    </a>
                </li>
                @endpermission

                @permission('app.target.index')
                <li class="heading">Target</li>
                <li>
                    <a class="active" href="{{ route('app.targets.index') }}">
                        <i class="sidebar-item-icon fa fa-compress"></i>
                        <span class="nav-label">Sale Targets</span>
                    </a>
                </li>
                @endpermission
            @endif
        </ul>
    </div>
</nav>

Zerion Mini Shell 1.0