<div class="user-profile">

    <!-- User profile image -->

    <!-- <div class="profile-img"> 

        <img src="<?php echo e(asset('/images/users/flag.png')); ?>" alt="user" />
        <div class="notify setpos"> <span class="heartbit"></span> <span class="point"></span> </div>

    </div> -->


    <!-- User profile text-->

    <div class="profile-text">

        <h5>Welcome to <?php echo e(config('app.name', 'Laravel')); ?> !</h5>
        <h3>Log Out</h3>
        <a href="<?php echo e(route('logout')); ?>"
                               onclick="event.preventDefault();
                                             document.getElementById('logout-form').submit();" class="" data-toggle="tooltip" title="Log out"><i class="mdi mdi-power"></i></a>

        <div class="dropdown-menu animated flipInY">

            <!-- text-->

            <a href="#" class="dropdown-item"><i class="ti-user"></i> </a>

            <!-- text-->

            <a href="#" class="dropdown-item"><i class="ti-wallet"></i> </a>

            <div class="dropdown-divider"></div>

            <!-- text-->

            <a href="<?php echo e(route('logout')); ?>" class="dropdown-item"><i class="fa fa-power-off"></i> Log Out</a>

            <!-- text-->

        </div>

    </div>

</div>

<nav class="sidebar-nav">

    <ul id="sidebarnav">

        <li class="nav-devider"></li>
        
        <li class="nav-small-cap"><?php echo e(config('app.name', 'Laravel')); ?></li>

        <li><a class="has-arrow waves-effect waves-dark" href="<?php echo url('dashboard'); ?>" aria-expanded="false">

                <i class="mdi mdi-home"></i>

                <span class="hide-menu">Home</span>

            </a>

            <ul aria-expanded="false" class="collapse">
                <li><a href="<?php echo url('dashboard'); ?>" >Dashboard</a></li>
            </ul>

        </li>       

        <li> <a class="has-arrow waves-effect waves-dark" href="#" aria-expanded="false">

                <i class="mdi mdi-food"></i>

                <span class="hide-menu"><?php echo e(trans('lang.food_plural')); ?></span>

            </a>

            <ul aria-expanded="false" class="collapse">

                <li><a href="<?php echo url('foods'); ?>"><?php echo e(trans('lang.food_plural')); ?></a></li>

            </ul>

        </li>

        <li> <a class="has-arrow waves-effect waves-dark" href="#" aria-expanded="false">

                <i class="mdi mdi-reorder-horizontal"></i>

                <span class="hide-menu"><?php echo e(trans('lang.order_plural')); ?></span>

            </a>

            <ul aria-expanded="false" class="collapse">

                <li><a href="<?php echo url('orders'); ?>"><?php echo e(trans('lang.order_plural')); ?></a></li>

                <li><a href="<?php echo url('placedOrders'); ?>"><?php echo e(trans('lang.placed_orders')); ?></a></li>

                <li><a href="<?php echo url('acceptedOrders'); ?>"><?php echo e(trans('lang.accepted_orders')); ?></a></li>
                
                <li><a href="<?php echo url('rejectedOrders'); ?>"><?php echo e(trans('lang.rejected_orders')); ?></a></li>

                <li><a href="<?php echo url('orderReview'); ?>"><?php echo e(trans('lang.order_review')); ?></a></li>

            </ul>

        </li>
            <li><a class="has-arrow waves-effect waves-dark" href="<?php echo url('coupons'); ?>" aria-expanded="false">

                <i class="mdi mdi-sale"></i>

                <span class="hide-menu"><?php echo e(trans('lang.coupon_plural')); ?></span>

            </a>           
        </li>

        <li> <a class="has-arrow waves-effect waves-dark" href="#" aria-expanded="false">

                <i class="mdi mdi-wallet"></i>

                <span class="hide-menu"><?php echo e(trans('lang.payment_plural')); ?></span>

            </a>

            <ul aria-expanded="false" class="collapse">

                <li><a href="<?php echo url('payments'); ?>"><?php echo e(trans('lang.payment_plural')); ?></a></li>

                <!-- <li><a href="<?php echo url('earnings'); ?>"><?php echo e(trans('lang.earning_plural')); ?></a></li> -->               

            </ul>

        </li>  
    </ul>
</nav>    
<?php /*
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm sidebar-nav">
    <div class="container">
        <a class="navbar-brand" href="{{ url('/') }}">
            {{ config('app.name', 'Laravel') }}
        </a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <!-- Left Side Of Navbar -->
            <ul class="navbar-nav me-auto">

            </ul>

            <!-- Right Side Of Navbar -->
            <ul class="navbar-nav ms-auto" id="sidebarnav">
                <!-- Authentication Links -->
                @guest
                    @if (Route::has('login'))
                        <li class="nav-item">
                            <a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
                        </li>
                    @endif

                   <?php /* @if (Route::has('register'))
                        <li class="nav-item">
                            <a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
                        </li>
                    @endif *//* ?>
                @else
                    <li class="nav-item dropdown">
                        <a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
                            {{ Auth::user()->name }}
                        </a>

                        <div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
                            <a class="dropdown-item" href="{{ route('logout') }}"
                               onclick="event.preventDefault();
                                             document.getElementById('logout-form').submit();">
                                {{ __('Logout') }}
                            </a>

                            <form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
                                @csrf
                            </form>
                        </div>
                    </li>
                @endguest
            </ul>
        </div>
    </div>
</nav>
*/?>



<?php /**PATH /home/customer/www/foodierestaurant.siswebapp.com/resources/views/layouts/menu.blade.php ENDPATH**/ ?>