<section class="sidemenu">
    <div class="logo">
        <img src="{{asset('/assets/admin/images/logo.svg')}}" alt="">
    </div>

    <ul class="sidemenu-links">
        <li class="{{ $activeMenu[""] ?? '' }}">
            <!--<a href="{{url('/store')}}"> <i class="fas fa-chart-line"></i> <span>{{ __('dashboard.dashboard') }}</span></a>-->
            <a href="{{url('/store')}}"> <img src="{{asset('/assets/admin/images/side-icons/bar-chart.png')}}" alt="" class="icon"> <span>{{ __('dashboard.dashboard') }}</span></a>
        </li>

        <li class="">
            <a href="{{ route("store.profile.index") }}">
                <img src="{{asset('/assets/admin/images/side-icons/'.__('members.menuIcon'))}}" alt="{{ __('profile.head') }}" class="icon" />
            <!--<i class="{{ __('profile.menuIcon') ?? 'fas fa-edit' }}"></i>-->
                <span>{{ __('profile.head') }}</span>

            </a>
        </li>
        <li class="">
            <a href="{{ route("store.members.index") }}">
                <img src="{{asset('/assets/admin/images/side-icons/'.__('members.menuIcon'))}}" alt="{{ __('members.head') }}" class="icon" />
            <!--<i class="{{ __('members.menuIcon') ?? 'fas fa-edit' }}"></i>-->
                <span>{{ __('members.head') }}</span>

            </a>
        </li>
        <li class="">
            <a href="{{ route("store.orders.index") }}">
                <img src="{{asset('/assets/admin/images/side-icons/'.__('orders.menuIcon'))}}" alt="{{ __('orders.head') }}" class="icon" />
            <!--<i class="{{ __('orders.menuIcon') ?? 'fas fa-edit' }}"></i>-->
                <span>{{ __('orders.head') }}</span>

            </a>
        </li>
        <li class="">
            <a href="{{ route("store.refunds.index") }}">
                <img src="{{asset('/assets/admin/images/side-icons/'.__('refunds.menuIcon'))}}" alt="{{ __('refunds.head') }}" class="icon" />
            <!--<i class="{{ __('refunds.menuIcon') ?? 'fas fa-edit' }}"></i>-->
                <span>{{ __('refunds.head') }}</span>

            </a>
        </li>
        <li class="">
            <a href="{{ route("store.rates.index") }}">
                <img src="{{asset('/assets/admin/images/side-icons/'.__('rates.menuIcon'))}}" alt="{{ __('rates.head') }}" class="icon" />
            <!--<i class="{{ __('rates.menuIcon') ?? 'fas fa-edit' }}"></i>-->
                <span>{{ __('rates.head') }}</span>

            </a>
        </li>
        <li class="linkGroup ">
            <a  class="linkItem-head">
                <img src="{{asset('/assets/admin/images/side-icons/'.__('offers.menuIcon'))}}" alt="{{ __('offers.head') }}" class="icon" />
            <!--<i class="{{ __('offers.menuIcon') ?? 'fas fa-edit' }}"></i>-->
                <span> {{ __('offers.head') }} </span>
            </a>
            <ul class="linkItem-body">
                <li>
                    <a href='{{ route("store.offers.index") }}'>{{ __('offers.head') }}</a>
                </li>
                <li>
                    <a href="{{ route("store.offers.create")  }}">{{ __('offers.new')}}</a>
                </li>

            </ul>
        </li>
        <li class="linkGroup ">
            <a  class="linkItem-head">
                <img src="{{asset('/assets/admin/images/side-icons/'.__('products.menuIcon'))}}" alt="{{ __('products.head') }}" class="icon" />
            <!--<i class="{{ __('products.menuIcon') ?? 'fas fa-edit' }}"></i>-->
                <span> {{ __('products.head') }} </span>
            </a>
            <ul class="linkItem-body">
                <li>
                    <a href='{{ route("store.products.index") }}'>{{ __('products.head') }}</a>
                </li>
                <li>
                    <a href='{{ route("store.products.index").'?status_active=0' }}'>{{ __('products.head') .' '. __('products.active_statuses.0') }}</a>
                </li>
                <li>
                    <a href="{{ route("store.products.create")  }}">{{ __('products.new')}}</a>
                </li>

            </ul>
        </li>
        <li class="linkGroup ">
            <a  class="linkItem-head">
                <img src="{{asset('/assets/admin/images/side-icons/'.__('product_warehouses.menuIcon'))}}" alt="{{ __('product_warehouses.head') }}" class="icon" />
            <!--<i class="{{ __('product_warehouses.menuIcon') ?? 'fas fa-edit' }}"></i>-->
                <span> {{ __('product_warehouses.head') }} </span>
            </a>
            <ul class="linkItem-body">
                <li>
                    <a href='{{ route("store.product_warehouses.index") }}'>{{ __('product_warehouses.head') }}</a>
                </li>
                <li>
                    <a href="{{ route("store.product_warehouses.create")  }}">{{ __('product_warehouses.new')}}</a>
                </li>

            </ul>
        </li>

        <li>
            <a data-toggle="modal" data-target="#logout" href="{{ route('store_logout') }}" >
                <!--<i class="fas fa-sign-out-alt"></i> -->
                <img src="{{asset('/assets/admin/images/side-icons/power-off.png')}}" alt="" class="icon">
                <span> {{ __('dashboard.logout') }} </span>
            </a>
        </li>
    </ul>
</section>



{{-- Log out Modal --}}

<!-- Modal -->
<div class="modal fade" id="logout" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">{{__('dashboard.confirm_logout')}}</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <h3>{{__('dashboard.sure')}} <i class="fa fa-exclamation-circle text-danger"></i></h3>
                <form id="logout-form-side" action="{{ route('store_logout') }}" method="POST" style="display: none;">
                    @csrf
                </form>
            </div>
            <div class="modal-footer justify-content-between">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">{{__('dashboard.close')}}</button>
                <a href="{{route('store_logout')}}" type="button" class="btn btn-primary">{{__('dashboard.logout')}}</a>
            </div>
        </div>
    </div>
</div>


