<?php
    use App\Models\Event;
use App\Models\Products;
use App\Models\CompanyData;
use App\Models\StorsTransfers;
use App\Models\SafeTransfers;
use App\Models\ReciptMaintaince;
use App\Models\Modules;
use App\Models\ModuleSettingsNum;
use App\Models\ReportsSettings;
use App\Models\Notifications;
use App\Models\ManufacturingDefaultData;
$DefManu=ManufacturingDefaultData::orderBy('id','desc')->first();
$Def=CompanyData::orderBy('id','desc')->first();
$NumTransSafes=SafeTransfers::where('Status',0)->count();
$NumTransStroes=StorsTransfers::where('Status',0)->count();
$CountRecipt=ReciptMaintaince::orderBy('id','desc')
->whereIn('Status',[2,7])
->where('Eng',auth()->guard('admin')->user()->emp)
->count();
$Modules=Modules::orderBy('id','desc')->first();
$ModulesSett=ModuleSettingsNum::orderBy('id','desc')->first();
$ReportsSettings=ReportsSettings::orderBy('id','desc')->first();
if(auth()->guard('admin')->user()->emp == 0){
$NotificationsCount=Notifications::where('Status',0)->count();
$Notifications=Notifications::orderBy('id','desc')->where('Status',0)->take(20)->get();
}else{
$NotificationsCount=Notifications::where('Status',0)->where('Emp',auth()->guard('admin')->user()->emp)->count();
$Notifications=Notifications::orderBy('id','desc')->where('Status',0)->where('Emp',auth()->guard('admin')->user()->emp)->take(20)->get();
}
?>
<?php if(app()->getLocale() == 'ar'): ?>
    <!--Arabic style-->
    <style>
        .nav-menu li>ul {
            background-color: rgb(71 63 99);
            position: absolute;
            right: 270px;
            top: 217px;
            z-index: 1015;
            width: 384px;
            padding-inline-start: 0px;
        }

        .nav-menu li {
            position: unset;
        }

        .nav-menu li>ul li a:before {
            content: "";
            width: 5px;
            height: 5px;
            position: absolute;
            right: 10px;
            top: 18px;
            border: 1px solid #bfb9c9;
            border-radius: 50%;
        }

        .mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact)>li>ul:before {
            display: none;
        }

        .nav-menu li>ul li a {
            padding: 10px 23px;
        }

        .mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact)>li>ul>li a:after {
            right: 10px;
            left: unset;
            top: 18px;
            display: none;
        }

        .nav-function-top .page-sidebar .primary-nav .nav-menu>li>ul {
            right: unset;
            width: unset;
        }

        .nav-function-top .page-sidebar .primary-nav .nav-menu>li>ul:before {
            left: unset;
            right: 0;
        }

        #js-nav-menu-wrapper {
            overflow-x: auto !important;
        }

        #js-nav-menu-wrapper-left-btn,
        #js-nav-menu-wrapper-right-btn {
            display: none !important;
        }

        ::-webkit-scrollbar {
            height: 6px;
            width: 2px;
        }

        *::-webkit-scrollbar-track {
            background: transparent;
        }

        *::-webkit-scrollbar-thumb {
            background-color: #886ab5;
            border-radius: 50px;
            border: 1px solid #8361b6;
        }

        @media (max-width:600px) {
            .nav-menu li>ul {
                background-color: rgb(71 63 99);
                position: unset;
                right: unset;
                top: unset;
                z-index: 1015;
                width: unset;
                padding-inline-start: 0px;
            }
        }

    </style>
<?php else: ?>
    <!--English style-->
    <style>
        .nav-menu li>ul {
            background-color: rgb(71 63 99);
            position: absolute;
            left: 270px;
            top: 217px;
            z-index: 1015;
            width: 384px;
            padding-inline-start: 0px;
        }

        .nav-menu li {
            position: unset;
        }

        .nav-menu li>ul li a:before {
            content: "";
            width: 5px;
            height: 5px;
            position: absolute;
            left: 10px;
            top: 18px;
            border: 1px solid #bfb9c9;
            border-radius: 50%;
        }

        .mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact)>li>ul:before {
            display: none;
        }

        .nav-menu li>ul li a {
            padding: 10px 23px;
        }

        .mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact)>li>ul>li a:after {
            right: 10px;
            left: unset;
            top: 18px;
            display: none;
        }

        .nav-function-top .page-sidebar .primary-nav .nav-menu>li>ul {
            right: unset;
            width: unset;
        }

        .nav-function-top .page-sidebar .primary-nav .nav-menu>li>ul:before {
            left: unset;
            right: 0;
        }

        #js-nav-menu-wrapper {
            overflow-x: auto !important;
        }

        #js-nav-menu-wrapper-left-btn,
        #js-nav-menu-wrapper-right-btn {
            display: none !important;
        }

        ::-webkit-scrollbar {
            height: 6px;
            width: 2px;
        }

        *::-webkit-scrollbar-track {
            background: transparent;
        }

        *::-webkit-scrollbar-thumb {
            background-color: #886ab5;
            border-radius: 50px;
            border: 1px solid #8361b6;
        }

        @media (max-width:600px) {
            .nav-menu li>ul {
                background-color: rgb(71 63 99);
                position: unset;
                right: unset;
                top: unset;
                z-index: 1015;
                width: unset;
                padding-inline-start: 0px;
            }
        }

    </style>
<?php endif; ?>

<body class="mod-bg-1 mod-nav-link ">
<script>
    /**
     *	This script should be placed right after the body tag for fast execution
     *	Note: the script is written in pure javascript and does not depend on thirdparty library
     **/
    'use strict';

    var classHolder = document.getElementsByTagName("BODY")[0],
        /**
         * Load from localstorage
         **/
        themeSettings = (localStorage.getItem('themeSettings')) ? JSON.parse(localStorage.getItem('themeSettings')) : {},
        themeURL = themeSettings.themeURL || '',
        themeOptions = themeSettings.themeOptions || '';
    /**
     * Load theme options
     **/
    if (themeSettings.themeOptions) {
        classHolder.className = themeSettings.themeOptions;
        console.log("%c✔ Theme settings loaded", "color: #148f32");
    } else {
        console.log("%c✔ Heads up! Theme settings is empty or does not exist, loading default settings...", "color: #ed1c24");
    }
    if (themeSettings.themeURL && !document.getElementById('mytheme')) {
        var cssfile = document.createElement('link');
        cssfile.id = 'mytheme';
        cssfile.rel = 'stylesheet';
        cssfile.href = themeURL;
        document.getElementsByTagName('head')[0].appendChild(cssfile);

    } else if (themeSettings.themeURL && document.getElementById('mytheme')) {
        document.getElementById('mytheme').href = themeSettings.themeURL;
    }
    /**
     * Save to localstorage
     **/
    var saveSettings = function() {
        themeSettings.themeOptions = String(classHolder.className).split(/[^\w-]+/).filter(function(item) {
            return /^(nav|header|footer|mod|display)-/i.test(item);
        }).join(' ');
        if (document.getElementById('mytheme')) {
            themeSettings.themeURL = document.getElementById('mytheme').getAttribute("href");
        };
        localStorage.setItem('themeSettings', JSON.stringify(themeSettings));
    }
    /**
     * Reset settings
     **/
    var resetSettings = function() {
        localStorage.setItem("themeSettings", "");
    }

</script>
<div class="page-wrapper">

    <div class="page-inner">
        <!-- BEGIN Left Aside -->
        <aside class="page-sidebar">
            <div class="page-logo">
                <a href="<?php echo e(url('KlarAdmin')); ?>" class="page-logo-link press-scale-down d-flex align-items-center position-relative" data-toggle="modal" data-target="#modal-shortcut">
                    <!--Logo-->
                    <?php if(!empty($Def->Logo)): ?>
                        <img src="<?php echo e(URL::to($Def->Logo)); ?>" alt="SmartAdmin WebApp" aria-roledescription="logo">
                    <?php else: ?>
                        <img src="<?php echo e(asset('Admin/img/logo.png')); ?>" alt="SmartAdmin WebApp" aria-roledescription="logo">
                    <?php endif; ?>
                    <span class="page-logo-text mr-1">
                            <?php if(!empty($Def->Name)): ?>
                            <?php echo e(app()->getLocale() == 'ar' ?$Def->Name :$Def->NameEn); ?>

                        <?php else: ?>
                            <?php echo e(trans('admin.Klar')); ?>

                        <?php endif; ?>
                        </span>
                    <span class="position-absolute text-white opacity-50 small pos-top pos-right mr-2 mt-n2"></span>
                    <i class="fal fa-angle-down d-inline-block ml-1 fs-lg color-primary-300"></i>
                </a>
            </div>
            <!-- BEGIN PRIMARY NAVIGATION -->
            <nav id="js-primary-nav" class="primary-nav" role="navigation">
                <div class="nav-filter">
                    <div class="position-relative">
                        <input type="text" id="nav_filter_input" placeholder="Filter menu" class="form-control" tabindex="0">
                        <a href="#" onclick="return false;" class="btn-primary btn-search-close js-waves-off" data-action="toggle" data-class="list-filter-active" data-target=".page-sidebar">
                            <i class="fal fa-chevron-up"></i>
                        </a>
                    </div>
                </div>
                <div class="info-card">
                    <?php if(!empty(auth()->guard('admin')->user()->image)): ?>
                        <img src="<?php echo e(auth()->guard('admin')->user()->image); ?>" class="profile-image rounded-circle" alt="Dr. Codex Lantern">
                    <?php else: ?>
                        <img src="<?php echo e(asset('Admin/img/default.jpeg')); ?>" class="profile-image rounded-circle" alt="Dr. Codex Lantern">
                    <?php endif; ?>
                    <div class="info-card-text">
                        <a href="<?php echo e(url('Profile')); ?>" class="d-flex align-items-center text-white">
                                <span class="text-truncate text-truncate-sm d-inline-block">
                                    <?php echo e(app()->getLocale() == 'ar' ?auth()->guard('admin')->user()->name :auth()->guard('admin')->user()->nameEn); ?>

                                </span>
                        </a>
                    </div>
                    <img src="<?php echo e(asset('Admin/img/card-backgrounds/cover-2-lg.png')); ?>" class="cover" alt="cover">
                    <a href="#" onclick="return false;" class="pull-trigger-btn" data-action="toggle" data-class="list-filter-active" data-target=".page-sidebar" data-focus="nav_filter_input">
                        <i class="fal fa-angle-down"></i>
                    </a>
                </div>
                <ul id="js-nav-menu" class="nav-menu">


                    <?php if(auth()->guard('admin')->user()->emp == 0): ?>
                        <li>

                            <a href="#" title="<?php echo e(trans('admin.Accounts_Reports')); ?>" data-filter-tags="<?php echo e(trans('admin.Accounts_Reports')); ?>">
                                <i class="fal fa-cog"></i>
                                <span class="nav-link-text" data-i18n="nav.theme_settings">R A B I H / رابح</span>
                                <input type="hidden" id="inpu24" value="1">
                            </a>
                            <ul style="width:450px;" id="menu24">
                                <div class="row">

                                    <div class="col-sm-6">


                                        <li>
                                            <a href="<?php echo e(url('IntroView')); ?>" title="<?php echo e(trans('admin.Intro')); ?>" data-filter-tags="<?php echo e(trans('admin.Intro')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Intro')); ?>

                                                </span>
                                            </a>
                                        </li>


                                        <li>
                                            <a href="<?php echo e(url('TermsView')); ?>" title="<?php echo e(trans('admin.Terms')); ?>" data-filter-tags="<?php echo e(trans('admin.Terms')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Terms')); ?>

                                                </span>
                                            </a>
                                        </li>


                                        <li>
                                            <a href="<?php echo e(url('ReportIssue')); ?>" title="<?php echo e(trans('admin.ReportIssue')); ?>" data-filter-tags="<?php echo e(trans('admin.ReportIssue')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.ReportIssue')); ?>

                                                </span>
                                            </a>
                                        </li>




                                        <li>
                                            <a href="<?php echo e(url('RabihEducation')); ?>" title="<?php echo e(trans('admin.Education')); ?>" data-filter-tags="<?php echo e(trans('admin.Education')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Education')); ?>

                                                </span>
                                            </a>
                                        </li>


                                        <li>
                                            <a href="<?php echo e(url('EmpMail')); ?>" title="<?php echo e(trans('admin.EmpMail')); ?>" data-filter-tags="<?php echo e(trans('admin.EmpMail')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.EmpMail')); ?>

                                                </span>
                                            </a>
                                        </li>

                                    </div>
                                </div>
                            </ul>
                        </li>
                    <?php endif; ?>

                    <?php if(auth()->guard('admin')->user()->vend != 0): ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقارير الحسابات')): ?>
                            <li>

                                <a href="#" title="<?php echo e(trans('admin.Accounts_Reports')); ?>" data-filter-tags="<?php echo e(trans('admin.Accounts_Reports')); ?>">
                                    <i class="fal fa-cog"></i>
                                    <span class="nav-link-text" data-i18n="nav.theme_settings"><?php echo e(trans('admin.Accounts_Reports')); ?></span>
                                    <input type="hidden" id="inpu21" value="1">
                                </a>
                                <ul style="width:450px;" id="menu21">
                                    <div class="row">

                                        <div class="col-sm-6">
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كشف حساب موردين')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Vendor_Account_Statement')); ?>" title="<?php echo e(trans('admin.Vendor_Account_Statement')); ?>" data-filter-tags="<?php echo e(trans('admin.Vendor_Account_Statement')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Vendor_Account_Statement')); ?>

                                                </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>

                                        </div>
                                    </div>
                                </ul>
                            </li>
                        <?php endif; ?>

                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('التقارير')): ?>
                            <li>
                                <a href="#" title="<?php echo e(trans('admin.Reports')); ?>" data-filter-tags="<?php echo e(trans('admin.Reports')); ?>">
                                    <i class="fal fa-edit"></i>
                                    <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.Reports')); ?></span>
                                    <input type="hidden" id="inpu20" value="1">
                                </a>
                                <ul style="width: 1200px;" id="menu20">
                                    <div class="row">

                                        <div class="col-sm-3">

                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مبيعات المجموعات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('GroupsSales')); ?>" title="<?php echo e(trans('admin.GroupsSales')); ?>" data-filter-tags="<?php echo e(trans('admin.GroupsSales')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.GroupsSales')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>

                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مبيعات البرندات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('BrandsSales')); ?>" title="<?php echo e(trans('admin.BrandsSales')); ?>" data-filter-tags="<?php echo e(trans('admin.BrandsSales')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.BrandsSales')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        </div>



                                    </div>
                                </ul>
                            </li>
                        <?php endif; ?>

                    <?php elseif(auth()->guard('admin')->user()->cli != 0): ?>
                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقارير الحسابات')): ?>
                            <li>

                                <a href="#" title="<?php echo e(trans('admin.Accounts_Reports')); ?>" data-filter-tags="<?php echo e(trans('admin.Accounts_Reports')); ?>">
                                    <i class="fal fa-cog"></i>
                                    <span class="nav-link-text" data-i18n="nav.theme_settings"><?php echo e(trans('admin.Accounts_Reports')); ?></span>
                                    <input type="hidden" id="inpu19" value="1">
                                </a>
                                <ul style="width:450px;" id="menu19">
                                    <div class="row">

                                        <div class="col-sm-6">

                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كشف حساب عملاء')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Customer_Account_Statement')); ?>" title="<?php echo e(trans('admin.Customer_Account_Statement')); ?>" data-filter-tags="<?php echo e(trans('admin.Customer_Account_Statement')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Customer_Account_Statement')); ?>

                                                </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>

                                        </div>
                                    </div>
                                </ul>
                            </li>
                        <?php endif; ?>
                    <?php else: ?>
                        <?php if($Modules->Accounts == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الحسابات')): ?>
                                <li>

                                    <a href="#" title="<?php echo e(trans('admin.Accounts')); ?>" data-filter-tags="<?php echo e(trans('admin.Accounts')); ?>">
                                        <i class="fal fa-info-circle"></i>
                                        <span class="nav-link-text" data-i18n="nav.application_intel"><?php echo e(trans('admin.Accounts')); ?></span>
                                        <input type="hidden" id="inpu" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu">
                                        <div class="row">
                                            <div class="col-sm-6">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الدليل المحاسبي')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('AccountingManual')); ?>" title="<?php echo e(trans('admin.Accounting_Manual')); ?>" data-filter-tags="<?php echo e(trans('admin.Accounting_Manual')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_introduction">
                                                    <?php echo e(trans('admin.Accounting_Manual')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تحويلات الخزائن')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SafesTransfer')); ?>" title="<?php echo e(trans('admin.Safes_Transfer')); ?>" data-filter-tags="<?php echo e(trans('admin.Safes_Transfer')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_basic_inputs"> <?php echo e(trans('admin.Safes_Transfer')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مصاريف اصول')): ?>
                                                    <!--      <li>
                           <a href="<?php echo e(url('AssetExpenses')); ?>" title="<?php echo e(trans('admin.AssetExpenses')); ?>" data-filter-tags="<?php echo e(trans('admin.AssetExpenses')); ?>">
                                           <span class="nav-link-text" data-i18n="nav.application_intel_introduction">

                                             <?php echo e(trans('admin.AssetExpenses')); ?>

                                                    </span>
                                                    </a>
                                                 </li>  -->
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول تحويلات الخزائن')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SafesTransferSechdule')); ?>" title="<?php echo e(trans('admin.Safes_Transfer_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Safes_Transfer_Sechdule')); ?>">
                                                            <span style="color: #e980d5;padding-left: 3px;"><?php echo e($NumTransSafes); ?></span>
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_basic_inputs"> <?php echo e(trans('admin.Safes_Transfer_Sechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه قيد يومي')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Journalizing')); ?>" title="<?php echo e(trans('admin.Journalizing')); ?>" data-filter-tags="<?php echo e(trans('admin.Journalizing')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.application_intel_privacy"> <?php echo e(trans('admin.Journalizing')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه سند قبض')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Receipt_Voucher')); ?>" title="<?php echo e(trans('admin.Receipt_Voucher')); ?>" data-filter-tags="<?php echo e(trans('admin.Receipt_Voucher')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_privacy">
                                                    <?php echo e(trans('admin.Receipt_Voucher')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه سند صرف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Payment_Voucher')); ?>" title="<?php echo e(trans('admin.Payment_Voucher')); ?>" data-filter-tags="<?php echo e(trans('admin.Payment_Voucher')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_privacy">
                                                    <?php echo e(trans('admin.Payment_Voucher')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه قيد افتتاحي')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('OpeningEntries')); ?>" title="<?php echo e(trans('admin.Opening_Entries')); ?>" data-filter-tags="<?php echo e(trans('admin.Opening_Entries')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_privacy">
                                                    <?php echo e(trans('admin.Opening_Entries')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الشيكات الصادره')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Exporting_Checks')); ?>" title="<?php echo e(trans('admin.Exporting_Checks')); ?>" data-filter-tags="<?php echo e(trans('admin.Exporting_Checks')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_privacy">
                                                    <?php echo e(trans('admin.Exporting_Checks')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الشيكات الوارده')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Incoming_checks')); ?>" title="<?php echo e(trans('admin.Incoming_checks')); ?>" data-filter-tags="<?php echo e(trans('admin.Incoming_checks')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_privacy">
                                                    <?php echo e(trans('admin.Incoming_checks')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('وصل امانه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Insurance_Paper')); ?>" title="<?php echo e(trans('admin.Insurance_Paper')); ?>" data-filter-tags="<?php echo e(trans('admin.Insurance_Paper')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_privacy">
                                                    <?php echo e(trans('admin.Insurance_Paper')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الضرائب')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Taxes')); ?>" title="<?php echo e(trans('admin.Taxes')); ?>" data-filter-tags="<?php echo e(trans('admin.Taxes')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_community_support">
                                                    <?php echo e(trans('admin.Taxes')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه راس المال')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Capital')); ?>" title="<?php echo e(trans('admin.Capital')); ?>" data-filter-tags="<?php echo e(trans('admin.Capital')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Capital')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('صرف ارباح')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Spend_Profits')); ?>" title="<?php echo e(trans('admin.Spend_Profits')); ?>" data-filter-tags="<?php echo e(trans('admin.Spend_Profits')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Spend_Profits')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('امر دفع')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Order_Pay')); ?>" title="<?php echo e(trans('admin.Order_Pay')); ?>" data-filter-tags="<?php echo e(trans('admin.Order_Pay')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Order_Pay')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                            </div>
                                            <div class="col-sm-6">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاصول')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Assets')); ?>" title="<?php echo e(trans('admin.Assets')); ?>" data-filter-tags="<?php echo e(trans('admin.Assets')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_introduction">
                                                    <?php echo e(trans('admin.Assets')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الخزائن و البنوك')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Safes_Banks')); ?>" title="<?php echo e(trans('admin.Safes_Banks')); ?>" data-filter-tags="<?php echo e(trans('admin.Safes_Banks')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_privacy">
                                                    <?php echo e(trans('admin.Safes_Banks')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الفروع')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Branches')); ?>" title="<?php echo e(trans('admin.Branches')); ?>" data-filter-tags="<?php echo e(trans('admin.Branches')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Branches')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول القيود اليوميه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('JournalizingSechdule')); ?>" title="<?php echo e(trans('admin.Journalizing_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Journalizing_Sechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_basic_inputs"> <?php echo e(trans('admin.Journalizing_Sechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول القيود الافتتاحيه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Opening_EntriesSechdule')); ?>" title="<?php echo e(trans('admin.Opening_Entries_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Opening_Entries_Sechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_basic_inputs"> <?php echo e(trans('admin.Opening_Entries_Sechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول سند القبض')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Receipt_VoucherSechdule')); ?>" title="<?php echo e(trans('admin.Receipt_Voucher_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Receipt_Voucher_Sechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_basic_inputs"> <?php echo e(trans('admin.Receipt_Voucher_Sechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول سند الصرف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Payment_VoucherSechdule')); ?>" title="<?php echo e(trans('admin.Payment_Voucher_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Payment_Voucher_Sechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_basic_inputs"> <?php echo e(trans('admin.Payment_Voucher_Sechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('العملات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Coins')); ?>" title="<?php echo e(trans('admin.Coins')); ?>" data-filter-tags="<?php echo e(trans('admin.Coins')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_marketing_dashboard">
                                                    <?php echo e(trans('admin.Coins')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مراكز التكلفه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('CostCenters')); ?>" title="<?php echo e(trans('admin.Cost_Centers')); ?>" data-filter-tags="<?php echo e(trans('admin.Cost_Centers')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_marketing_dashboard">
                                                    <?php echo e(trans('admin.Cost_Centers')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع الشيكات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Checks_Type')); ?>" title="<?php echo e(trans('admin.Checks_Type')); ?>" data-filter-tags="<?php echo e(trans('admin.Checks_Type')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.application_intel_marketing_dashboard">
                                                    <?php echo e(trans('admin.Checks_Type')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>




                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الشركاء')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Partners')); ?>" title="<?php echo e(trans('admin.Partners')); ?>" data-filter-tags="<?php echo e(trans('admin.Partners')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Partners')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المستثمرين')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Investors')); ?>" title="<?php echo e(trans('admin.Investors')); ?>" data-filter-tags="<?php echo e(trans('admin.Investors')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.Investors"> <?php echo e(trans('admin.Investors')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير راس المال')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('CapitalReport')); ?>" title="<?php echo e(trans('admin.CapitalReport')); ?>" data-filter-tags="<?php echo e(trans('admin.CapitalReport')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.CapitalReport')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول اوامر الدفع')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('Order_PaySechdule')); ?>" title="<?php echo e(trans('admin.Order_PaySechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Order_PaySechdule')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Order_PaySechdule')); ?> </span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>
                                            </div>
                                        </div>
                                    </ul>
                                </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقارير الحسابات')): ?>
                                <li>

                                    <a href="#" title="<?php echo e(trans('admin.Accounts_Reports')); ?>" data-filter-tags="<?php echo e(trans('admin.Accounts_Reports')); ?>">
                                        <i class="fal fa-cog"></i>
                                        <span class="nav-link-text" data-i18n="nav.theme_settings"><?php echo e(trans('admin.Accounts_Reports')); ?></span>
                                        <input type="hidden" id="inpu1" value="1">
                                    </a>
                                    <ul style="width:600px;" id="menu1">
                                        <div class="row">
                                            <div class="col-sm-6">

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كشف حساب عملاء')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Customer_Account_Statement')); ?>" title="<?php echo e(trans('admin.Customer_Account_Statement_One')); ?>" data-filter-tags="<?php echo e(trans('admin.Customer_Account_Statement_One')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Customer_Account_Statement_One')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                    <?php if($ReportsSettings->ClientAccountStatement == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير كشف حساب عميل مفصل')): ?>

                                                            <li>
                                                                <a href="<?php echo e(url('ClientAccountStatement')); ?>" title="<?php echo e(trans('admin.ClientAccountStatement')); ?>" data-filter-tags="<?php echo e(trans('admin.ClientAccountStatement')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ClientAccountStatement')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>

                                                    <?php if($ReportsSettings->ClientsStatement == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير كشف حساب عملاء')): ?>

                                                            <li>
                                                                <a href="<?php echo e(url('ClientsStatement')); ?>" title="<?php echo e(trans('admin.ClientsStatement')); ?>" data-filter-tags="<?php echo e(trans('admin.ClientsStatement')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ClientsStatement')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>

                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ارصده العملاء')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('Customer_Balances')); ?>" title="<?php echo e(trans('admin.Customer_Balances')); ?>" data-filter-tags="<?php echo e(trans('admin.Customer_Balances')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Customer_Balances')); ?>

                                                </span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>



                                                    <?php if($ReportsSettings->Customer_Debts == 1): ?>

                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اعمار ديون العملاء')): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('Customer_Debts')); ?>" title="<?php echo e(trans('admin.Customer_Debts')); ?>" data-filter-tags="<?php echo e(trans('admin.Customer_Debts')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Customer_Debts')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>

                                                    <?php if($ReportsSettings->InstallmentReport == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاقساط الغير مدفوعه')): ?>
                                                            <li style="width: 100%">
                                                                <a href="<?php echo e(url('InstallmentReport')); ?>" title="<?php echo e(trans('admin.InstallmentReport')); ?>" data-filter-tags="<?php echo e(trans('admin.InstallmentReport')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.InstallmentReport')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كشف حساب موردين')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Vendor_Account_Statement')); ?>" title="<?php echo e(trans('admin.Vendor_Account_Statement_One')); ?>" data-filter-tags="<?php echo e(trans('admin.Vendor_Account_Statement_One')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Vendor_Account_Statement_One')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                    <?php if($ReportsSettings->VendorAccountStatement == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير كشف حساب مورد مفصل')): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('VendorAccountStatement')); ?>" title="<?php echo e(trans('admin.VendorAccountStatement')); ?>" data-filter-tags="<?php echo e(trans('admin.VendorAccountStatement')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.VendorAccountStatement')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>
                                                    <?php if($ReportsSettings->VendorsStatement == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير كشف حساب موردين')): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('VendorsStatement')); ?>" title="<?php echo e(trans('admin.VendorsStatement')); ?>" data-filter-tags="<?php echo e(trans('admin.VendorsStatement')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.VendorsStatement')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>

                                                    <?php if($ReportsSettings->Vendor_Debts == 1): ?>

                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اعمار ديون الموردين')): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('Vendor_Debts')); ?>" title="<?php echo e(trans('admin.Vendor_Debts')); ?>" data-filter-tags="<?php echo e(trans('admin.Vendor_Debts')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Vendor_Debts')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>




                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('قائمه الدخل')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Incom_List')); ?>" title="<?php echo e(trans('admin.Incom_List')); ?>" data-filter-tags="<?php echo e(trans('admin.Incom_List')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Incom_List')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('قائمه المركز المالي')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Financial_Center')); ?>" title="<?php echo e(trans('admin.Financial_Center')); ?>" data-filter-tags="<?php echo e(trans('admin.Financial_Center')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Financial_Center')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if($ReportsSettings->SubIncomList == 1): ?>
                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير قائمه الدخل الفرعي')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('SubIncomList')); ?>" title="<?php echo e(trans('admin.SubIncomList')); ?>" data-filter-tags="<?php echo e(trans('admin.SubIncomList')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.SubIncomList')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>
                                                <?php endif; ?>

                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير اعمار ديون العملاء')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('CustomerDebtRestructuring')); ?>" title="<?php echo e(trans('admin.CustomerDebtRestructuring')); ?>" data-filter-tags="<?php echo e(trans('admin.CustomerDebtRestructuring')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.CustomerDebtRestructuring')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>


                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير اعمار ديون الموردين')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('VendorDebtRestructuring')); ?>" title="<?php echo e(trans('admin.VendorDebtRestructuring')); ?>" data-filter-tags="<?php echo e(trans('admin.VendorDebtRestructuring')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.VendorDebtRestructuring')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>

                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ارصدة الموردين')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('VendorsBalancesReport')); ?>" title="<?php echo e(trans('admin.VendorsBalancesReport')); ?>" data-filter-tags="<?php echo e(trans('admin.VendorsBalancesReport')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.VendorsBalancesReport')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>



                                            </div>
                                            <div class="col-sm-6">

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كشف حساب خزنه، بنك')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Safe_Bank_Statement')); ?>" title="<?php echo e(trans('admin.Safe_Bank_Statement')); ?>" data-filter-tags="<?php echo e(trans('admin.Safe_Bank_Statement')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database"><?php echo e(trans('admin.Safe_Bank_Statement')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ارصده الخزائن و البنوك')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('Safes_Balances')); ?>" title="<?php echo e(trans('admin.Safes_Balances')); ?>" data-filter-tags="<?php echo e(trans('admin.Safes_Balances')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Safes_Balances')); ?>

                                                </span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>



                                                    <?php if($ReportsSettings->SafesTransferReport == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير تحويلات خزائن')): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('SafesTransferReport')); ?>" title="<?php echo e(trans('admin.SafesTransferReport')); ?>" data-filter-tags="<?php echo e(trans('admin.SafesTransferReport')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.SafesTransferReport')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>


                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اجمالي مصاريف الخزائن')): ?>
                                                        <?php if($ReportsSettings->TotalExpensesSafes == 1): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('TotalExpensesSafes')); ?>" title=" <?php echo e(trans('admin.TotalExpensesSafes')); ?>" data-filter-tags="<?php echo e(trans('admin.TotalExpensesSafes')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.TotalExpensesSafes')); ?> </span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>

                                                    <?php if($ReportsSettings->ExpensesList == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير قائمه المصاريف')): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('ExpensesList')); ?>" title="<?php echo e(trans('admin.ExpensesList')); ?>" data-filter-tags="<?php echo e(trans('admin.ExpensesList')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ExpensesList')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>

                                                    <?php endif; ?>



                                                    <?php if($ReportsSettings->ExpensesReport == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير المصاريف')): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('ExpensesReport')); ?>" title="<?php echo e(trans('admin.ExpensesReport')); ?>" data-filter-tags="<?php echo e(trans('admin.ExpensesReport')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ExpensesReport')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>


                                                    <?php if($ReportsSettings->IncomListReport == 1): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير قائمه المقبوضات')): ?>
                                                            <li>
                                                                <a href="<?php echo e(url('IncomListReport')); ?>" title="<?php echo e(trans('admin.IncomListReport')); ?>" data-filter-tags="<?php echo e(trans('admin.IncomListReport')); ?>">
                                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.IncomListReport')); ?></span>
                                                                </a>
                                                            </li>
                                                        <?php endif; ?>
                                                    <?php endif; ?>


                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اجمالي تحصيل المناديب')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('TotalCollectorDepaitor')); ?>" title="<?php echo e(trans('admin.TotalCollectorDepaitor')); ?>" data-filter-tags="<?php echo e(trans('admin.TotalCollectorDepaitor')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.TotalCollectorDepaitor')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>




                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقارير الشيكات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Checks_Reports')); ?>" title="<?php echo e(trans('admin.Checks_Reports')); ?>" data-filter-tags="<?php echo e(trans('admin.Checks_Reports')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Checks_Reports')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير وصلات الامانه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('InsurancePaperReport')); ?>" title="<?php echo e(trans('admin.InsurancePaperReport')); ?>" data-filter-tags="<?php echo e(trans('admin.InsurancePaperReport')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.InsurancePaperReport')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقارير مركز التكلفه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Cost_Centers_Report')); ?>" title="<?php echo e(trans('admin.Cost_Centers_Report')); ?>" data-filter-tags="<?php echo e(trans('admin.Cost_Centers_Report')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Cost_Centers_Report')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير الاصول الثابته')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Fixed_Assets_Report')); ?>" title="<?php echo e(trans('admin.Fixed_Assets_Report')); ?>" data-filter-tags="<?php echo e(trans('admin.Fixed_Assets_Report')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_saving_to_database">
                                                    <?php echo e(trans('admin.Fixed_Assets_Report')); ?>

                                                </span>
                                                        </a>

                                                    </li>
                                                <?php endif; ?>


                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اليوميه العامه')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('General_Daily')); ?>" title="<?php echo e(trans('admin.General_Daily')); ?>" data-filter-tags="<?php echo e(trans('admin.General_Daily')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_how_it_works">
                                                    <?php echo e(trans('admin.General_Daily')); ?>

                                                </span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>
                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ميزان المراجعه')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('Trial_Balance')); ?>" title="<?php echo e(trans('admin.Trial_Balance')); ?>" data-filter-tags="<?php echo e(trans('admin.Trial_Balance')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.theme_settings_layout_options">
                                                    <?php echo e(trans('admin.Trial_Balance')); ?>

                                                </span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>

                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ارصده الحسابات')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('Account_Balances')); ?>" title="<?php echo e(trans('admin.Account_Balances')); ?>" data-filter-tags="<?php echo e(trans('admin.Account_Balances')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.theme_settings_skin_options"> <?php echo e(trans('admin.Account_Balances')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>

                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('دفتر الاستاذ')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('Ledger')); ?>" title="<?php echo e(trans('admin.Ledger')); ?>" data-filter-tags="<?php echo e(trans('admin.Ledger')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.theme_settings_theme_modes_(beta)"><?php echo e(trans('admin.Ledger')); ?> </span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>



                                            </div>
                                        </div>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if($Modules->Stores == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المخازن')): ?>
                                <li>
                                    <a href="#" title="<?php echo e(trans('admin.Supply_Chain')); ?>" data-filter-tags="<?php echo e(trans('admin.Supply_Chain')); ?>">
                                        <i class="fal fa-book"></i>
                                        <span class="nav-link-text" data-i18n="nav.documentation"><?php echo e(trans('admin.Supply_Chain')); ?> </span>
                                        <input type="hidden" id="inpu2" value="1">
                                    </a>
                                    <ul style="width:450px;" id="menu2">
                                        <div class="row">
                                            <div class="col-sm-6">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('عرض المخازن')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Stores')); ?>" title="<?php echo e(trans('admin.Stores')); ?>" data-filter-tags="<?php echo e(trans('admin.Stores')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.documentation_general_docs"> <?php echo e(trans('admin.Stores')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('دليل الاصناف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ItemsGuide')); ?>" title="<?php echo e(trans('admin.Items_Guide')); ?>" data-filter-tags="<?php echo e(trans('admin.Items_Guide')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.documentation_premium_support"> <?php echo e(trans('admin.Items_Guide')); ?> </span>
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a href="<?php echo e(url('ItemsGuide2')); ?>" title="<?php echo e(trans('admin.Items_Guide')); ?>" data-filter-tags="<?php echo e(trans('admin.Items_Guide')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.documentation_premium_support"> <?php echo e(trans('admin.New_Items_Guide')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه صنف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Add_Items')); ?>" title="<?php echo e(trans('admin.Add_Items')); ?>" data-filter-tags="<?php echo e(trans('admin.Add_Items')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.Add_Items')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الاصناف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Products_Sechdule')); ?>" title="<?php echo e(trans('admin.Products_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Products_Sechdule')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.Products_Sechdule')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه تحويلات المخازن')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('StoresTransfers')); ?>" title="<?php echo e(trans('admin.Stores_Transfers')); ?>" data-filter-tags="<?php echo e(trans('admin.Stores_Transfers')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_build_notes">
                                                    <?php echo e(trans('admin.Stores_Transfers')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول تحويلات المخازن')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('StoresTransfersSechdule')); ?>" title="<?php echo e(trans('admin.Stores_Transfers_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Stores_Transfers_Sechdule')); ?>">
                                                            <span style="color: #e980d5;padding-left: 3px;"><?php echo e($NumTransStroes); ?></span>
                                                            <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.Stores_Transfers_Sechdule')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اذن استلام بضاعه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Permission_to_receive_goods')); ?>" title="<?php echo e(trans('admin.Permission_to_receive_goods')); ?>" data-filter-tags="<?php echo e(trans('admin.Permission_to_receive_goods')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_flavors_&_editions">
                                                    <?php echo e(trans('admin.Permission_to_receive_goods')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول استلام بضاعه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ReceiveGoodsSechdule')); ?>" title="<?php echo e(trans('admin.ReceiveGoodsSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ReceiveGoodsSechdule')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_flavors_&_editions">
                                                    <?php echo e(trans('admin.ReceiveGoodsSechdule')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اذن صرف بضاعه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Permission_to_exchange_goods')); ?>" title="<?php echo e(trans('admin.Permission_to_exchange_goods')); ?>" data-filter-tags="<?php echo e(trans('admin.Permission_to_exchange_goods')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_flavors_&_editions">
                                                    <?php echo e(trans('admin.Permission_to_exchange_goods')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول صرف بضاعه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ExchangeGoodsSechdule')); ?>" title="<?php echo e(trans('admin.ExchangeGoodsSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ExchangeGoodsSechdule')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_flavors_&_editions">
                                                    <?php echo e(trans('admin.ExchangeGoodsSechdule')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تالف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Consists')); ?>" title="<?php echo e(trans('admin.Consists')); ?>" data-filter-tags="<?php echo e(trans('admin.Consists')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.Consists')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول التوالف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ConsistsSechdule')); ?>" title="<?php echo e(trans('admin.ConsistsSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ConsistsSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.ConsistsSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه اصناف بدايه فتره')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('StartPeriodProducts')); ?>" title="<?php echo e(trans('admin.Start_Period_Products')); ?>" data-filter-tags="<?php echo e(trans('admin.Start_Period_Products')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.Start_Period_Products')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول اصناف بدايه فتره')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('StartPeriodSechdule')); ?>" title="<?php echo e(trans('admin.Start_Period_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Start_Period_Sechdule')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.Start_Period_Sechdule')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تغيير الاسعار')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('NewChangePrice')); ?>" title="<?php echo e(trans('admin.ChangePrices')); ?>" data-filter-tags="<?php echo e(trans('admin.ChangePrices')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.documentation_premium_support"> <?php echo e(trans('admin.ChangePrices')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                            </div>
                                            <div class="col-sm-6">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('وحدات القياس')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Measurement_Units')); ?>" title="<?php echo e(trans('admin.Measurement_Units')); ?>" data-filter-tags="<?php echo e(trans('admin.Measurement_Units')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_project_structure">
                                                    <?php echo e(trans('admin.Measurement_Units')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مجموعه الاصناف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Items_Groups')); ?>" title="<?php echo e(trans('admin.Items_Groups')); ?>" data-filter-tags="<?php echo e(trans('admin.Items_Groups')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_flavors_&_editions">
                                                    <?php echo e(trans('admin.Items_Groups')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الصناعه و الماركات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Manufacture')); ?>" title="<?php echo e(trans('admin.Manufacture')); ?>" data-filter-tags="<?php echo e(trans('admin.Manufacture')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_community_support">
                                                    <?php echo e(trans('admin.Manufacture')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المتغيرات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Virables')); ?>" title="<?php echo e(trans('admin.Virables')); ?>" data-filter-tags="<?php echo e(trans('admin.Virables')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_community_support">
                                                    <?php echo e(trans('admin.Virables')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه جرد')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Inventory')); ?>" title="<?php echo e(trans('admin.Inventory')); ?>" data-filter-tags="<?php echo e(trans('admin.Inventory')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.Inventory')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الجرد')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Inventory_Sechdule')); ?>" title="<?php echo e(trans('admin.Inventory_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Inventory_Sechdule')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.Inventory_Sechdule')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول التسويه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Settlement_Sechdule')); ?>" title="<?php echo e(trans('admin.Settlement_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Settlement_Sechdule')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.Settlement_Sechdule')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اعدادات طباعه الباركود')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('BarcodeـPrinting_Settings')); ?>" title="<?php echo e(trans('admin.BarcodeـPrinting_Settings')); ?>" data-filter-tags="<?php echo e(trans('admin.BarcodeـPrinting_Settings')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.BarcodeـPrinting_Settings')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('طباعه الباركود')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('BarcodeـPrinting')); ?>" title="<?php echo e(trans('admin.BarcodeـPrinting')); ?>" data-filter-tags="<?php echo e(trans('admin.BarcodeـPrinting')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.BarcodeـPrinting')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a href="<?php echo e(url('QRـPrinting')); ?>" title="<?php echo e(trans('admin.QRـPrinting')); ?>" data-filter-tags="<?php echo e(trans('admin.QRـPrinting')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                                    <?php echo e(trans('admin.QRـPrinting')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('شركات الشحن')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ShippingCompany')); ?>" title="<?php echo e(trans('admin.Shipping_Compaines')); ?>" data-filter-tags="<?php echo e(trans('admin.Shipping_Compaines')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.documentation_general_docs"> <?php echo e(trans('admin.Shipping_Compaines')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع الاشتراكات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SubscribeTypes')); ?>" title="<?php echo e(trans('admin.SubscribeTypes')); ?>" data-filter-tags="<?php echo e(trans('admin.SubscribeTypes')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.documentation_community_support">
                                                    <?php echo e(trans('admin.SubscribeTypes')); ?>

                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مبيعات تحويلات المخازن')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Stores_Sales_Transfers_Sechdule')); ?>" title="<?php echo e(trans('admin.Stores_Sales_Transfers_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Stores_Sales_Transfers_Sechdule')); ?>">
                                        <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                            <?php echo e(trans('admin.Stores_Sales_Transfers_Sechdule')); ?>

                                        </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مرتجع مبيعات تحويلات المخازن')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ReturnStoresTransfersSechdule')); ?>" title="<?php echo e(trans('admin.ReturnStoresTransfersSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ReturnStoresTransfersSechdule')); ?>">
                                <span class="nav-link-text" data-i18n="nav.documentation_licensing">
                                    <?php echo e(trans('admin.ReturnStoresTransfersSechdule')); ?>

                                </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                            </div>
                                        </div>
                                    </ul>
                                </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المشتريات')): ?>
                                <li>
                                    <a href="#" title="<?php echo e(trans('admin.Purchases_P')); ?>" data-filter-tags="<?php echo e(trans('admin.Purchases_P')); ?>">
                                        <i class="fal fa-window"></i>
                                        <span class="nav-link-text" data-i18n="nav.ui_components"><?php echo e(trans('admin.Purchases_P')); ?></span>
                                        <input type="hidden" id="inpu3" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu3">
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الموردين')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Vendors')); ?>" title="<?php echo e(trans('admin.Vendors')); ?>" data-filter-tags="<?php echo e(trans('admin.Vendors')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.tables_generate_table_style"> <?php echo e(trans('admin.Vendors')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه امر شراء')): ?>
                                            <li>
                                                <a href="<?php echo e(url('PurchasesOrder')); ?>" title="<?php echo e(trans('admin.PurchasesOrder')); ?>" data-filter-tags="<?php echo e(trans('admin.PurchasesOrder')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_alerts"><?php echo e(trans('admin.PurchasesOrder')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول آوامر الشراء')): ?>
                                            <li>
                                                <a href="<?php echo e(url('PurchasesOrderSechdule')); ?>" title="<?php echo e(trans('admin.PurchasesOrderSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.PurchasesOrderSechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_breadcrumbs"><?php echo e(trans('admin.PurchasesOrderSechdule')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه مشتريات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Purchases')); ?>" title="<?php echo e(trans('admin.Purchases')); ?>" data-filter-tags="<?php echo e(trans('admin.Purchases')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_accordions"><?php echo e(trans('admin.Purchases')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول المشتريات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('PurchasesSechdule')); ?>" title="<?php echo e(trans('admin.PurchasesSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.PurchasesSechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.PurchasesSechdule')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مرتجع المشتريات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ReturnPurchasesSechdule')); ?>" title="<?php echo e(trans('admin.ReturnPurchasesSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ReturnPurchasesSechdule')); ?>">
                    <span class="nav-link-text" data-i18n="nav.ui_components_badges">
                        <?php echo e(trans('admin.ReturnPurchasesSechdule')); ?>

                    </span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الفواتير المعلقه مشتريات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('PurchasesHold')); ?>" title="<?php echo e(trans('admin.PurchasesHold')); ?>" data-filter-tags="<?php echo e(trans('admin.PurchasesHold')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.PurchasesHold')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المنتجات المستلمه مشتريات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Recived_Products')); ?>" title="<?php echo e(trans('admin.Recived_Products')); ?>" data-filter-tags="<?php echo e(trans('admin.Recived_Products')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.Recived_Products')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('النواقص')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Shortcomings')); ?>" title="<?php echo e(trans('admin.Shortcomings')); ?>" data-filter-tags="<?php echo e(trans('admin.Shortcomings')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.Shortcomings')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول النواقص')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ShortcomingsSechdule')); ?>" title="<?php echo e(trans('admin.ShortcomingsSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ShortcomingsSechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.ShortcomingsSechdule')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                    </ul>
                                </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المبيعات')): ?>
                                <li>
                                    <a href="#" title="<?php echo e(trans('admin.Sales')); ?>" data-filter-tags="<?php echo e(trans('admin.Sales')); ?>">
                                        <i class="fal fa-bolt"></i>
                                        <span class="nav-link-text" data-i18n="nav.utilities"><?php echo e(trans('admin.Sales')); ?> </span>
                                        <input type="hidden" id="inpu4" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu4">
                                        <div class="row">
                                            <div class="col-sm-6">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('نقاط البيع')): ?>
                                                    <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('POS')); ?>" title="<?php echo e(trans('admin.POS')); ?>" data-filter-tags="<?php echo e(trans('admin.POS')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.utilities_clearfix"> <?php echo e(trans('admin.POS')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه مبيعات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Sales')); ?>" title="<?php echo e(trans('admin.Sales')); ?>" data-filter-tags="<?php echo e(trans('admin.Sales')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_clearfix"> <?php echo e(trans('admin.Sales')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول المبيعات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesSechdule')); ?>" title="<?php echo e(trans('admin.SalesSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_fonts"> <?php echo e(trans('admin.SalesSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول المبيعات الضريبية')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesSechduleTax')); ?>" title="<?php echo e(trans('admin.SalesSechduleTax')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesSechduleTax')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_fonts"> <?php echo e(trans('admin.SalesSechduleTax')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه امر بيع')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesOrder')); ?>" title="<?php echo e(trans('admin.SalesOrder')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesOrder')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.SalesOrder')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول امر البيع')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesOrderSechdule')); ?>" title="<?php echo e(trans('admin.SalesOrderSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesOrderSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_flexbox"><?php echo e(trans('admin.SalesOrderSechdule')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه عرض سعر')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Quote')); ?>" title="<?php echo e(trans('admin.Quote')); ?>" data-filter-tags="<?php echo e(trans('admin.Quote')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Quote')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('عرض سعر مصور')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('QuoteImages')); ?>" title="<?php echo e(trans('admin.QuoteImages')); ?>" data-filter-tags="<?php echo e(trans('admin.QuoteImages')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_checkbox_&_radio"><?php echo e(trans('admin.QuoteImages')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول عرض سعر')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Quote_Sechdule')); ?>" title="<?php echo e(trans('admin.Quote_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Quote_Sechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_display_property"> <?php echo e(trans('admin.Quote_Sechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول عرض سعر مصور')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('QuoteImagesSechdule')); ?>" title="<?php echo e(trans('admin.QuoteImagesSechdules')); ?>" data-filter-tags="<?php echo e(trans('admin.QuoteImagesSechdules')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_checkbox_&_radio"><?php echo e(trans('admin.QuoteImagesSechdules')); ?></span>
                                                        </a>
                                                    </li>
                                                        <li>
                                                        <a href="<?php echo e(url('QuoteImagesSechduleAccepted')); ?>" title="<?php echo e(trans('admin.QuoteImagesSechduleAccepted')); ?>" data-filter-tags="<?php echo e(trans('admin.QuoteImagesSechduleAccepted')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_checkbox_&_radio"><?php echo e(trans('admin.QuoteImagesSechduleAccepted')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مبيعات الدليفري')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesDeliverySechdule')); ?>" title="<?php echo e(trans('admin.SalesDeliverySechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesDeliverySechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_fonts"> <?php echo e(trans('admin.SalesDeliverySechdule')); ?></span>
                                                        </a>
                                                    </li>

                                                <?php endif; ?>

                                                <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('MyRequestDelivery')); ?>" title="<?php echo e(trans('admin.MyRequestDelivery')); ?>" data-filter-tags="<?php echo e(trans('admin.MyRequestDelivery')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_fonts"> <?php echo e(trans('admin.MyRequestDelivery')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مرتجع المبيعات')): ?>

                                                    <li>
                                                        <a href="<?php echo e(url('ReturnSalesSechdule')); ?>" title="<?php echo e(trans('admin.Return_Sales_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Return_Sales_Sechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_flexbox"> <?php echo e(trans('admin.Return_Sales_Sechdule')); ?></span>
                                                        </a>
                                                    </li>

                                                <?php endif; ?>




                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مرتجع المبيعات الضريبية')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ReturnSalesSechduleTaxPage')); ?>" title="{trans('admin.Return_Sales_TaxSechdule')}}" data-filter-tags="{trans('admin.Return_Sales_TaxSechdule')}}">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_flexbox"> <?php echo e(trans('admin.Return_Sales_TaxSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('عينات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Samples')); ?>" title="<?php echo e(trans('admin.Samples')); ?>" data-filter-tags="<?php echo e(trans('admin.Samples')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.Samples')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول العينات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SamplesSechdule')); ?>" title="<?php echo e(trans('admin.SamplesSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.SamplesSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.SamplesSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الهدايا')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesGifts')); ?>" title="<?php echo e(trans('admin.SalesGifts')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesGifts')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.SalesGifts')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                            </div>
                                            <div class="col-sm-6">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('العملاء')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Clients')); ?>" title="<?php echo e(trans('admin.Clients')); ?>" data-filter-tags="<?php echo e(trans('admin.Clients')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_checkbox_&_radio"><?php echo e(trans('admin.Clients')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مجموعه العملاء')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Clients_Group')); ?>" title="<?php echo e(trans('admin.Clients_Group')); ?>" data-filter-tags="<?php echo e(trans('admin.Clients_Group')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_checkbox_&_radio"><?php echo e(trans('admin.Clients_Group')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه عملاء')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('AddClients')); ?>" title="<?php echo e(trans('admin.Add_Clients')); ?>" data-filter-tags="<?php echo e(trans('admin.Add_Clients')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_checkbox_&_radio"><?php echo e(trans('admin.Add_Clients')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مبيعات اشتراكات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesSubscribes')); ?>" title="<?php echo e(trans('admin.SalesSubscribes')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesSubscribes')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_checkbox_&_radio"><?php echo e(trans('admin.SalesSubscribes')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مبيعات اشتراكات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesSubscribesSechdule')); ?>" title="<?php echo e(trans('admin.SalesSubscribesSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesSubscribesSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.form_stuff_checkbox_&_radio"><?php echo e(trans('admin.SalesSubscribesSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الفواتير المعلقه مبيعات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesHoldSechdule')); ?>" title="<?php echo e(trans('admin.SalesHoldSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesHoldSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_fonts"> <?php echo e(trans('admin.SalesHoldSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الفواتير المعلقة نقاط البيع')): ?>
                                                    <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('SalesOrderHoldSechdule')); ?>" title="<?php echo e(trans('admin.SalesOrderHoldSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesOrderHoldSechdule')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.utilities_fonts"> <?php echo e(trans('admin.SalesOrderHoldSechdule')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المنتجات المستلمه مبيعات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('RecivedProductsSales')); ?>" title="<?php echo e(trans('admin.Recived_Products')); ?>" data-filter-tags="<?php echo e(trans('admin.Recived_Products')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_fonts"> <?php echo e(trans('admin.Recived_Products')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الاقساط مبيعات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('InstallmentSechdule')); ?>" title="<?php echo e(trans('admin.InstallmentSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.InstallmentSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.utilities_clearfix"> <?php echo e(trans('admin.InstallmentSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('شركات التقسيط')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('InstallmentCompanies')); ?>" title="<?php echo e(trans('admin.InstallmentCompanies')); ?>" data-filter-tags="<?php echo e(trans('admin.InstallmentCompanies')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.InstallmentCompanies')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مرتجع بدون فاتورة')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SechduleReturnWithoutBill')); ?>" title="<?php echo e(trans('admin.SechduleReturnWithoutBill')); ?>" data-filter-tags="<?php echo e(trans('admin.SechduleReturnWithoutBill')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.SechduleReturnWithoutBill')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مرتجع بدون فاتوره')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ReturnWithoutBill')); ?>" title="<?php echo e(trans('admin.ReturnWithoutBill')); ?>" data-filter-tags="<?php echo e(trans('admin.ReturnWithoutBill')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.ReturnWithoutBill')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اوامر الشغل')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('JobOrder')); ?>" title="<?php echo e(trans('admin.JobOrder')); ?>" data-filter-tags="<?php echo e(trans('admin.JobOrder')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.JobOrder')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>


                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول اوامر الشغل')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('JobOrderSechdule')); ?>" title="<?php echo e(trans('admin.JobOrderSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.JobOrderSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.JobOrderSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول تنفيذ اوامر الشغل')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ExecuteJobOrderSechdule')); ?>" title="<?php echo e(trans('admin.ExecuteJobOrderSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ExecuteJobOrderSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.ExecuteJobOrderSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الهدابا')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalesGiftsSechdule')); ?>" title="<?php echo e(trans('admin.SalesGiftsSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesGiftsSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.SalesGiftsSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                            </div>
                                        </div>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if($Modules->Stores == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('التقارير')): ?>
                                <li>
                                    <a href="#" title="<?php echo e(trans('admin.SupplyChainReports')); ?>" data-filter-tags="<?php echo e(trans('admin.SupplyChainReports')); ?>">
                                        <i class="fal fa-edit"></i>
                                        <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.SupplyChainReports')); ?></span>
                                        <input type="hidden" id="inpu5" value="1">
                                    </a>
                                    <ul style="width: 1200px;" id="menu5">
                                        <div class="row">

                                            <div class="col-sm-4">

                                                <?php if($ReportsSettings->Product_Info == 1): ?>
                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('استعلام عن منتج')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('Product_Info')); ?>" title="<?php echo e(trans('admin.Product_Info')); ?>" data-filter-tags="<?php echo e(trans('admin.Product_Info')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Product_Info')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>
                                                <?php endif; ?>


                                            </div>


                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('ItemBalances')); ?>" title="<?php echo e(trans('admin.ItemBalances')); ?>" data-filter-tags="<?php echo e(trans('admin.ItemBalances')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ItemBalances')); ?>

                                                            <i class="fal fa-arrow-left"></i>
                                                        </span>
                                                    </a>
                                                </li>

                                            </div>
                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('ItemsCostsReportGroup')); ?>" title="<?php echo e(trans('admin.ItemsCostsReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.ItemsCostsReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ItemsCostsReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>

                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('ItemsMovesReportGroup')); ?>" title="<?php echo e(trans('admin.ItemsMovesReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.ItemsMovesReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ItemsMovesReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>
                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('ProfitsReportGroup')); ?>" title="<?php echo e(trans('admin.ProfitsReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.ProfitsReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ProfitsReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>
                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('SalesReportGroup')); ?>" title="<?php echo e(trans('admin.SalesReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.SalesReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.SalesReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>
                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('PurchasesReportGroup')); ?>" title="<?php echo e(trans('admin.PurchasesReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.PurchasesReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.PurchasesReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>
                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('ShiftsReportGroup')); ?>" title="<?php echo e(trans('admin.ShiftsReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.ShiftsReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ShiftsReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>
                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('StoresReportGroup')); ?>" title="<?php echo e(trans('admin.StoresReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.StoresReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.StoresReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>
                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('DelegatesReportGroup')); ?>" title="<?php echo e(trans('admin.DelegatesReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.DelegatesReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.DelegatesReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>
                                            <div class="col-sm-4">

                                                <li>
                                                    <a href="<?php echo e(url('ReviewReportGroup')); ?>" title="<?php echo e(trans('admin.ReviewReportGroup')); ?>" data-filter-tags="<?php echo e(trans('admin.ReviewReportGroup')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ReviewReportGroup')); ?> <i class="fal fa-arrow-left"></i></span>
                                                    </a>
                                                </li>

                                            </div>




                                        </div>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if($Modules->HR == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('HR')): ?>
                                <li>


                                    <a href="#" title="<?php echo e(trans('admin.HR')); ?>" data-filter-tags="<?php echo e(trans('admin.HR')); ?>">
                                        <i class="fal fa-people-arrows"></i>
                                        <span class="nav-link-text" data-i18n="nav.plugins"><?php echo e(trans('admin.HR')); ?></span>
                                        <input type="hidden" id="inpu9" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu9">
                                        <div class="row">
                                            <div class="col-sm-6">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اقسام العمل')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('WorkDepartments')); ?>" title=" <?php echo e(trans('admin.Work_Departments')); ?>" data-filter-tags="<?php echo e(trans('admin.Work_Departments')); ?>">
                            <span class="nav-link-text" data-i18n="nav.plugins_plugins_faq">
                                <?php echo e(trans('admin.Work_Departments')); ?>

                            </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مستويات التوظيف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Employment_levels')); ?>" title=" <?php echo e(trans('admin.Employment_levels')); ?>" data-filter-tags="<?php echo e(trans('admin.Employment_levels')); ?>">
                            <span class="nav-link-text" data-i18n="nav.plugins_plugins_faq">
                                <?php echo e(trans('admin.Employment_levels')); ?>

                            </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('شركات التأمين')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Insurance_companies')); ?>" title=" <?php echo e(trans('admin.Insurance_companies')); ?>" data-filter-tags="<?php echo e(trans('admin.Insurance_companies')); ?>">
                            <span class="nav-link-text" data-i18n="nav.plugins_plugins_faq">
                                <?php echo e(trans('admin.Insurance_companies')); ?>

                            </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع الوظائف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Jobs_Type')); ?>" title="<?php echo e(trans('admin.Jobs_Type')); ?>" data-filter-tags="<?php echo e(trans('admin.Jobs_Type')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_waves"> <?php echo e(trans('admin.Jobs_Type')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه موظف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('AddEmp')); ?>" title="<?php echo e(trans('admin.Add_Emp')); ?>" data-filter-tags="<?php echo e(trans('admin.Add_Emp')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_pacejs"> <?php echo e(trans('admin.Add_Emp')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('نقاط الانتاج')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ProducationPoints')); ?>" title="<?php echo e(trans('admin.ProducationPoints')); ?>" data-filter-tags="<?php echo e(trans('admin.ProducationPoints')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_pacejs"> <?php echo e(trans('admin.ProducationPoints')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الموظفين')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('EmpSechdule')); ?>" title="<?php echo e(trans('admin.Emp_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Emp_Sechdule')); ?>">
                            <span class="nav-link-text" data-i18n="nav.plugins_smartpanels">
                                <?php echo e(trans('admin.Emp_Sechdule')); ?>

                            </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول طلبات توظيف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('JobRequestsSechdule')); ?>" title="<?php echo e(trans('admin.JobRequestsSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.JobRequestsSechdule')); ?>">
                            <span class="nav-link-text" data-i18n="nav.plugins_smartpanels">
                                <?php echo e(trans('admin.JobRequestsSechdule')); ?>

                            </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع الاجازات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Holidays_Types')); ?>" title="<?php echo e(trans('admin.Holidays_Types')); ?>" data-filter-tags="<?php echo e(trans('admin.Holidays_Types')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_bootbox"><?php echo e(trans('admin.Holidays_Types')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع الاستحقاقات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Benefits_Types')); ?>" title="<?php echo e(trans('admin.Benefits_Types')); ?>" data-filter-tags="<?php echo e(trans('admin.Benefits_Types')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_slimscroll"><?php echo e(trans('admin.Benefits_Types')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع الاستقطاعات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Deductions_Types')); ?>" title="<?php echo e(trans('admin.Deductions_Types')); ?>" data-filter-tags="<?php echo e(trans('admin.Deductions_Types')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_throttle"> <?php echo e(trans('admin.Deductions_Types')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الساعات الاضافيه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Overtime')); ?>" title="<?php echo e(trans('admin.Overtime')); ?>" data-filter-tags="<?php echo e(trans('admin.Overtime')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_navigation"><?php echo e(trans('admin.Overtime')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع القروض')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Loan_Types')); ?>" title="<?php echo e(trans('admin.Loan_Types')); ?>" data-filter-tags="<?php echo e(trans('admin.Loan_Types')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_navigation"><?php echo e(trans('admin.Loan_Types')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه سلفه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('AddBorrow')); ?>" title="<?php echo e(trans('admin.AddBorrow')); ?>" data-filter-tags="<?php echo e(trans('admin.AddBorrow')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_navigation"><?php echo e(trans('admin.AddBorrow')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('السلف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Borrow')); ?>" title="<?php echo e(trans('admin.Borrow')); ?>" data-filter-tags="<?php echo e(trans('admin.Borrow')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_navigation"><?php echo e(trans('admin.Borrow')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('طلب اجازه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('HolidaysOrder')); ?>" title="<?php echo e(trans('admin.HolidaysOrder')); ?>" data-filter-tags="<?php echo e(trans('admin.HolidaysOrder')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"><?php echo e(trans('admin.HolidaysOrder')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاجازات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Holidays')); ?>" title="<?php echo e(trans('admin.Holidays')); ?>" data-filter-tags="<?php echo e(trans('admin.Holidays')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"><?php echo e(trans('admin.Holidays')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                            </div>
                                            <div class="col-sm-6">
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاستحقاقات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Entitlements')); ?>" title="<?php echo e(trans('admin.Entitlements')); ?>" data-filter-tags="<?php echo e(trans('admin.Entitlements')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_navigation"><?php echo e(trans('admin.Entitlements')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاستقطاعات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Deducation')); ?>" title="<?php echo e(trans('admin.Deducation')); ?>" data-filter-tags="<?php echo e(trans('admin.Deducation')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_navigation"><?php echo e(trans('admin.Deducation')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check(' الحضور')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Attendance')); ?>" title="<?php echo e(trans('admin.Attendance')); ?>" data-filter-tags="<?php echo e(trans('admin.Attendance')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"> <?php echo e(trans('admin.Attendance')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الحضور')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('AttendanceSechdule')); ?>" title="<?php echo e(trans('admin.AttendanceSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.AttendanceSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"> <?php echo e(trans('admin.AttendanceSechdule')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الانصراف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('DepartureSechdule')); ?>" title="<?php echo e(trans('admin.DepartureSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.DepartureSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"> <?php echo e(trans('admin.DepartureSechdule')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تسجيل الساعات الاضافيه')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('RegOverTime')); ?>" title="<?php echo e(trans('admin.Reg_OverTime')); ?>" data-filter-tags="<?php echo e(trans('admin.Reg_OverTime')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"> <?php echo e(trans('admin.Reg_OverTime')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه قرض')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('AddLoan')); ?>" title="<?php echo e(trans('admin.AddLoan')); ?>" data-filter-tags="<?php echo e(trans('admin.AddLoan')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"> <?php echo e(trans('admin.AddLoan')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('القروض')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Loan')); ?>" title="<?php echo e(trans('admin.Loan')); ?> " data-filter-tags="<?php echo e(trans('admin.Loan')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"> <?php echo e(trans('admin.Loan')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اقساط الموظفين')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('EmpInstallment')); ?>" title="<?php echo e(trans('admin.EmpInstallment')); ?>" data-filter-tags="<?php echo e(trans('admin.EmpInstallment')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_i18next"> <?php echo e(trans('admin.EmpInstallment')); ?> </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('صرف راتب')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('AddSalary')); ?>" title="<?php echo e(trans('admin.AddSalary')); ?>" data-filter-tags="<?php echo e(trans('admin.AddSalary')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.AddSalary')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الرواتب')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('SalarySechdules')); ?>" title="<?php echo e(trans('admin.SalarySechdules')); ?>" data-filter-tags="<?php echo e(trans('admin.SalarySechdules')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.SalarySechdules')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('صرف عمولات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ExchangeCommissions')); ?>" title="<?php echo e(trans('admin.ExchangeCommissions')); ?>" data-filter-tags="<?php echo e(trans('admin.ExchangeCommissions')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.ExchangeCommissions')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول صرف العمولات')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ExchangeCommissionsSechdule')); ?>" title="<?php echo e(trans('admin.ExchangeCommissionsSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ExchangeCommissionsSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.ExchangeCommissionsSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if(auth()->guard('admin')->user()->emp != 0): ?>

                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اهدافي')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('MyGoals')); ?>" title="<?php echo e(trans('admin.MyGoals')); ?>" data-filter-tags="<?php echo e(trans('admin.MyGoals')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.MyGoals')); ?></span>
                                                            </a>
                                                        </li>

                                                    <?php endif; ?>


                                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('طلب استقاله')): ?>
                                                        <li>
                                                            <a href="<?php echo e(url('ResignationRequest')); ?>" title="<?php echo e(trans('admin.ResignationRequest')); ?>" data-filter-tags="<?php echo e(trans('admin.ResignationRequest')); ?>">
                                                                <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.ResignationRequest')); ?></span>
                                                            </a>
                                                        </li>
                                                    <?php endif; ?>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('طلبات استقاله')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('ResignationRequestSechdule')); ?>" title="<?php echo e(trans('admin.ResignationRequestSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ResignationRequestSechdule')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.ResignationRequestSechdule')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اخلاء طرف')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('Disclaimer')); ?>" title="<?php echo e(trans('admin.Disclaimer')); ?>" data-filter-tags="<?php echo e(trans('admin.Disclaimer')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.Disclaimer')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                                <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('عهد الموظفين')): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('EmpCovenant')); ?>" title="<?php echo e(trans('admin.EmpCovenant')); ?>" data-filter-tags="<?php echo e(trans('admin.EmpCovenant')); ?>">
                                                            <span class="nav-link-text" data-i18n="nav.plugins_app.core"> <?php echo e(trans('admin.EmpCovenant')); ?></span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>

                                            </div>
                                        </div>
                                    </ul>
                                </li>
                            <?php endif; ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقارير الموارد البشريه')): ?>
                                <li>


                                    <a href="#" title="<?php echo e(trans('admin.HR_Reports')); ?>" data-filter-tags="<?php echo e(trans('admin.HR_Reports')); ?>">
                                        <i class="fal fa-home"></i>
                                        <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.HR_Reports')); ?></span>
                                        <input type="hidden" id="inpu10" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu10">

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير الحضور و الانصراف')): ?>
                                            <li>
                                                <a href="<?php echo e(url('AttendenceAndDepartureReport')); ?>" title="<?php echo e(trans('admin.AttendenceAndDepartureReport')); ?>" data-filter-tags="<?php echo e(trans('admin.AttendenceAndDepartureReport')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.AttendenceAndDepartureReport')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير قيمة الحضور')): ?>
                                            <li>
                                                <a href="<?php echo e(url('AttendenceValueReport')); ?>" title="<?php echo e(trans('admin.AttendenceValueReport')); ?>" data-filter-tags="<?php echo e(trans('admin.AttendenceValueReport')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.AttendenceValueReport')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير صرف الرواتب')): ?>
                                            <li>
                                                <a href="<?php echo e(url('PaySalaryReport')); ?>" title="<?php echo e(trans('admin.PaySalaryReport')); ?>" data-filter-tags="<?php echo e(trans('admin.PaySalaryReport')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.PaySalaryReport')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير الرواتب المسدده')): ?>
                                            <li>
                                                <a href="<?php echo e(url('SalaryPayed')); ?>" title="<?php echo e(trans('admin.SalaryPayed')); ?>" data-filter-tags="<?php echo e(trans('admin.SalaryPayed')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.SalaryPayed')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير رواتب الموظفين')): ?>
                                            <li>
                                                <a href="<?php echo e(url('EmpSalaries')); ?>" title="<?php echo e(trans('admin.EmpSalaries')); ?>" data-filter-tags="<?php echo e(trans('admin.EmpSalaries')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.EmpSalaries')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if($ReportsSettings->EmployeeCommissionDiscounts == 1): ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('عمولات و خصومات الموظفين')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('EmployeeCommissionDiscounts')); ?>" title="<?php echo e(trans('admin.EmployeeCommissionDiscounts')); ?>" data-filter-tags="<?php echo e(trans('admin.EmployeeCommissionDiscounts')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.EmployeeCommissionDiscounts')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        <?php endif; ?>

                                        <?php if($ReportsSettings->EmpGoals == 1): ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير اهداف الموظفين')): ?>

                                                <li>
                                                    <a href="<?php echo e(url('EmpGoals')); ?>" title="<?php echo e(trans('admin.EmpGoals')); ?>" data-filter-tags="<?php echo e(trans('admin.EmpGoals')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.EmpGoals')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        <?php endif; ?>



                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if($Modules->CRM == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اداره علاقه العملاء')): ?>
                                <li>

                                    <a href="#" title="<?php echo e(trans('admin.CRM')); ?>" data-filter-tags="<?php echo e(trans('admin.CRM')); ?>">
                                        <i class="fal fa-people-carry"></i>
                                        <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.CRM')); ?></span>
                                        <input type="hidden" id="inpu6" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu6">
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الدول')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Countris')); ?>" title="<?php echo e(trans('admin.Countris')); ?>" data-filter-tags="<?php echo e(trans('admin.Countris')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Countris')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المحافظه')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Governrate')); ?>" title="<?php echo e(trans('admin.Governrate')); ?>" data-filter-tags="<?php echo e(trans('admin.Governrate')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Governrate')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('النشاطات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Activites')); ?>" title="<?php echo e(trans('admin.Activites')); ?>" data-filter-tags="<?php echo e(trans('admin.Activites')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Activites')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('حالات العملاء')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Clients_Status')); ?>" title="<?php echo e(trans('admin.Clients_Status')); ?>" data-filter-tags="<?php echo e(trans('admin.Clients_Status')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Clients_Status')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع تقيمات العملاء')): ?>
                                            <li>
                                                <a href="<?php echo e(url('CustomersRateTypes')); ?>" title="<?php echo e(trans('admin.CustomersRateTypes')); ?>" data-filter-tags="<?php echo e(trans('admin.CustomersRateTypes')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.CustomersRateTypes')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المنصات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Platforms')); ?>" title="<?php echo e(trans('admin.Platforms')); ?>" data-filter-tags="<?php echo e(trans('admin.Platforms')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Platforms')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('انواع المقابلات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Interviews_Types')); ?>" title="<?php echo e(trans('admin.Interviews_Types')); ?>" data-filter-tags="<?php echo e(trans('admin.Interviews_Types')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Interviews_Types')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المقابلات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Interviews')); ?>" title="<?php echo e(trans('admin.Interviews')); ?>" data-filter-tags="<?php echo e(trans('admin.Interviews')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Interviews')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المشاريع')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Projects')); ?>" title="<?php echo e(trans('admin.Projects')); ?>" data-filter-tags="<?php echo e(trans('admin.Projects')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Projects')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المهام')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Missions')); ?>" title="<?php echo e(trans('admin.Missions')); ?>" data-filter-tags="<?php echo e(trans('admin.Missions')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Missions')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المنافسين')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Competitors')); ?>" title="<?php echo e(trans('admin.Competitors')); ?>" data-filter-tags="<?php echo e(trans('admin.Competitors')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Competitors')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('خط السير')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Itinerary')); ?>" title="<?php echo e(trans('admin.Itinerary')); ?>" data-filter-tags="<?php echo e(trans('admin.Itinerary')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Itinerary')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>



                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('قائمة المتابعات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('FollowList')); ?>" title="<?php echo e(trans('admin.FollowList')); ?>" data-filter-tags="<?php echo e(trans('admin.FollowList')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.FollowList')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>





                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('متابعه العملاء')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Customerـfollowـup_Reports')); ?>" title="<?php echo e(trans('admin.Customerـfollowـup_Reports')); ?>" data-filter-tags="<?php echo e(trans('admin.Customerـfollowـup_Reports')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Customerـfollowـup_Reports')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير قياس العملاء')): ?>
                                            <li>
                                                <a href="<?php echo e(url('CustomerPeriodReports')); ?>" title="<?php echo e(trans('admin.CustomerPeriodReports')); ?>" data-filter-tags="<?php echo e(trans('admin.CustomerPeriodReports')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.CustomerPeriodReports')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير التعليقات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('CommentsReports')); ?>" title="<?php echo e(trans('admin.CommentsReports')); ?>" data-filter-tags="<?php echo e(trans('admin.CommentsReports')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.CommentsReports')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تقرير زيارات المندوب')): ?>
                                            <li>
                                                <a href="<?php echo e(url('DelegateVistsReport')); ?>" title="<?php echo e(trans('admin.DelegateVistsReport')); ?>" data-filter-tags="<?php echo e(trans('admin.DelegateVistsReport')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.DelegateVistsReport')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>



                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مهامي')): ?>
                                            <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                <li>
                                                    <a href="<?php echo e(url('MyMissions')); ?>" title="<?php echo e(trans('admin.MyMissions')); ?>" data-filter-tags="<?php echo e(trans('admin.MyMissions')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.MyMissions')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافة تعليق عميل')): ?>
                                            <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                <li>
                                                    <a href="<?php echo e(url('AddCommentCustomer')); ?>" title="<?php echo e(trans('admin.AddCommentCustomer')); ?>" data-filter-tags="<?php echo e(trans('admin.AddCommentCustomer')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.AddCommentCustomer')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مقابلاتي')): ?>
                                            <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                <li>
                                                    <a href="<?php echo e(url('MyMettings')); ?>" title="<?php echo e(trans('admin.MyMettings')); ?>" data-filter-tags="<?php echo e(trans('admin.MyMettings')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.MyMettings')); ?></span>
                                                    </a>
                                                </li>
                                                <li>
                                                    <a href="<?php echo e(url('PerivousMettings')); ?>" title="<?php echo e(trans('admin.PerivousMettings')); ?>" data-filter-tags="<?php echo e(trans('admin.PerivousMettings')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.PerivousMettings')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('خط سيري')): ?>
                                            <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                <li>
                                                    <a href="<?php echo e(url('MyItinerary')); ?>" title="<?php echo e(trans('admin.MyItinerary')); ?>" data-filter-tags="<?php echo e(trans('admin.MyItinerary')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.MyItinerary')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        <?php endif; ?>


                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('متابعاتي')): ?>
                                                <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                <li>
                                                    <a href="<?php echo e(url('MyFollowList')); ?>" title="<?php echo e(trans('admin.MyFollowList')); ?>" data-filter-tags="<?php echo e(trans('admin.MyFollowList')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.MyFollowList')); ?></span>
                                                    </a>
                                                </li>
                                                <?php endif; ?>
                                            <?php endif; ?>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if($Modules->Bill_Electronic == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الفاتوره الالكترونيه')): ?>
                                <li>


                                    <a href="#" title="<?php echo e(trans('admin.Bill_Electronic')); ?>" data-filter-tags="<?php echo e(trans('admin.Bill_Electronic')); ?>">
                                        <i class="fal fa-scroll"></i>
                                        <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.Bill_Electronic')); ?></span>
                                        <input type="hidden" id="inpu7" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu7">
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ارسال فواتير مبيعات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Send_Bill_Sales')); ?>" title="<?php echo e(trans('admin.Send_Bill_Sales')); ?>" data-filter-tags="<?php echo e(trans('admin.Send_Bill_Sales')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Send_Bill_Sales')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ارسال فواتير مرتجعات مبيعات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Send_Bill_ReturnSales')); ?>" title="<?php echo e(trans('admin.Send_Bill_ReturnSales')); ?>" data-filter-tags="<?php echo e(trans('admin.Send_Bill_ReturnSales')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Send_Bill_ReturnSales')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('فواتير مرتجعات مرسله')): ?>
                                            <!-- <li>
                     <a href="<?php echo e(url('Bill_Purchases_Sent')); ?>" title="<?php echo e(trans('admin.Bill_Purchases_Sent')); ?>" data-filter-tags="utilities borders">
                     <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Bill_Purchases_Sent')); ?></span>
                     </a>
                  </li> -->

                                            <li>
                                                <a href="<?php echo e(url('Bill_ReturnSales_Sent')); ?>" title="<?php echo e(trans('admin.Bill_ReturnSales_Sent')); ?>" data-filter-tags="<?php echo e(trans('admin.Bill_ReturnSales_Sent')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Bill_ReturnSales_Sent')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('فواتير مبيعات مرسله')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Bill_Sales_Sent')); ?>" title="<?php echo e(trans('admin.Bill_Sales_Sent')); ?>" data-filter-tags="<?php echo e(trans('admin.Bill_Sales_Sent')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Bill_Sales_Sent')); ?></span>
                                                </a>
                                            </li>
                                            <li>
                                                <a href="<?php echo e(url('Bill_Sales_Sent_Web')); ?>" title="<?php echo e(trans('admin.Bill_Sales_Sent_Web')); ?>" data-filter-tags="<?php echo e(trans('admin.Bill_Sales_Sent_Web')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Bill_Sales_Sent_Web')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ارسال ايصال الكتروني')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Send_Recipt_Sales')); ?>" title="<?php echo e(trans('admin.Send_Recipt_Sales')); ?>" data-filter-tags="<?php echo e(trans('admin.Send_Recipt_Sales')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Send_Recipt_Sales')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ارسال مرتجع ايصال الكتروني')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ReturnSend_Recipt_Sales')); ?>" title="<?php echo e(trans('admin.ReturnSend_Recipt_Sales')); ?>" data-filter-tags="<?php echo e(trans('admin.ReturnSend_Recipt_Sales')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ReturnSend_Recipt_Sales')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ايصالات مرسله')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Recipt_Sales_Sent')); ?>" title="<?php echo e(trans('admin.Recipt_Sales_Sent')); ?>" data-filter-tags="<?php echo e(trans('admin.Recipt_Sales_Sent')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Recipt_Sales_Sent')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if($Modules->Resturant == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المطاعم')): ?>
                                <li>


                                    <a href="#" title="<?php echo e(trans('admin.Resturant')); ?>" data-filter-tags="<?php echo e(trans('admin.Resturant')); ?>">
                                        <i class="fal fa-home"></i>
                                        <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.Resturant')); ?></span>
                                        <input type="hidden" id="inpu22" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu22">

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الطاولات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Tables')); ?>" title="<?php echo e(trans('admin.Tables')); ?>" data-filter-tags="<?php echo e(trans('admin.Tables')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Tables')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>



                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('شاشة المطبخ')): ?>
                                            <li>
                                                <a href="<?php echo e(url('KitchenScreen')); ?>" title="<?php echo e(trans('admin.KitchenScreen')); ?>" data-filter-tags="<?php echo e(trans('admin.KitchenScreen')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.KitchenScreen')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>



                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('شاشة التسليمات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RecivedScreen')); ?>" title="<?php echo e(trans('admin.RecivedScreen')); ?>" data-filter-tags="<?php echo e(trans('admin.RecivedScreen')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.RecivedScreen')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>



                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مبيعات المطعم')): ?>
                                            <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                <li>
                                                    <a href="<?php echo e(url('ResturantSales')); ?>" title="<?php echo e(trans('admin.ResturantSales')); ?>" data-filter-tags="<?php echo e(trans('admin.ResturantSales')); ?>">
                                                        <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ResturantSales')); ?></span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مبيعات المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ResturantSalesSechdule')); ?>" title="<?php echo e(trans('admin.ResturantSalesSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ResturantSalesSechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ResturantSalesSechdule')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول مبيعات المطاعم المعلقة')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ResturantSalesHoldSechdule')); ?>" title="<?php echo e(trans('admin.ResturantSalesHoldSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ResturantSalesHoldSechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ResturantSalesHoldSechdule')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>




                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('سلايدر المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RWebSlider')); ?>" title="<?php echo e(trans('admin.WebSlider')); ?>" data-filter-tags="<?php echo e(trans('admin.WebSlider')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.WebSlider')); ?> (Home 1)</span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('هوم ٢ المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ResturantHome')); ?>" title="<?php echo e(trans('admin.Images')); ?>" data-filter-tags="<?php echo e(trans('admin.Images')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"><?php echo e(trans('admin.Images')); ?> (Home 2) </span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('من نحن المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RAbout')); ?>" title="<?php echo e(trans('admin.About')); ?>" data-filter-tags="<?php echo e(trans('admin.About')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.About')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('قسم الفيديو المطاعم')): ?>

                                            <li>
                                                <a href="<?php echo e(url('VideoSection')); ?>" title="<?php echo e(trans('admin.VideoSection')); ?>" data-filter-tags="<?php echo e(trans('admin.VideoSection')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.VideoSection')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تواصل اجتماعي المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RSocialMedia')); ?>" title="<?php echo e(trans('admin.SocialMedia')); ?>" data-filter-tags="<?php echo e(trans('admin.SocialMedia')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.SocialMedia')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المقالات المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RArticles')); ?>" title="<?php echo e(trans('admin.Articles')); ?>" data-filter-tags="<?php echo e(trans('admin.Articles')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Articles')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('سياسه الخصوصيه المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RPolices')); ?>" title="<?php echo e(trans('admin.Polices')); ?>" data-filter-tags="<?php echo e(trans('admin.Polices')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Polices')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('شروط و احكام المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RTerms')); ?>" title="<?php echo e(trans('admin.Terms')); ?>" data-filter-tags="<?php echo e(trans('admin.Terms')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Terms')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كود خصم المطاعم')): ?>

                                            <li>
                                                <a href="<?php echo e(url('RCouponCode')); ?>" title="<?php echo e(trans('admin.CouponCode')); ?>" data-filter-tags="<?php echo e(trans('admin.CouponCode')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.CouponCode')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاستوديو المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RGallery')); ?>" title="<?php echo e(trans('admin.Gallery')); ?>" data-filter-tags="<?php echo e(trans('admin.Gallery')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Gallery')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مراجعات المطاعم')): ?>

                                            <li>
                                                <a href="<?php echo e(url('RReviews')); ?>" title="<?php echo e(trans('admin.Reviews')); ?>" data-filter-tags="<?php echo e(trans('admin.Reviews')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Reviews')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>



                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('حجوزات المطاعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('RReservations')); ?>" title="<?php echo e(trans('admin.Reservations')); ?>" data-filter-tags="<?php echo e(trans('admin.Reservations')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Reservations')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>



                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('طلبات المطعم')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ResturantOrders')); ?>" title="<?php echo e(trans('admin.Orders')); ?>" data-filter-tags="<?php echo e(trans('admin.Orders')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Orders')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>


                                        <?php if(auth()->guard('admin')->user()->email == 'Klar@test.com'): ?>

                                            <li>
                                                <a href="<?php echo e(url('ResturantStyle')); ?>" title="<?php echo e(trans('admin.ResturantStyle')); ?>" data-filter-tags="<?php echo e(trans('admin.ResturantStyle')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ResturantStyle')); ?></span>
                                                </a>
                                            </li>

                                        <?php endif; ?>


                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>

                        <?php if($Modules->Manufacturing == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('التصنيع')): ?>
                                <li>

                                    <a href="#" title="<?php echo e(trans('admin.Manufacturing')); ?>" data-filter-tags="<?php echo e(trans('admin.Manufacturing')); ?>">
                                        <i class="fal fa-cogs"></i>
                                        <span class="nav-link-text" data-i18n="nav.miscellaneous"> <?php echo e(trans('admin.Manufacturing')); ?> </span>
                                        <input type="hidden" id="inpu11" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu11">
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('صالات التصنيع')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ManufacturingHalls')); ?>" title="<?php echo e(trans('admin.ManufacturingHalls')); ?>" data-filter-tags="<?php echo e(trans('admin.ManufacturingHalls')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ManufacturingHalls')); ?> </span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('نموذج التصنيع')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ManufacturingModel')); ?>" title="<?php echo e(trans('admin.ManufacturingModel')); ?>" data-filter-tags="<?php echo e(trans('admin.ManufacturingModel')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ManufacturingModel')); ?> </span>
                                                </a>
                                            </li>
                                            <li>
                                                <a href="<?php echo e(url('ManufacturingModelPrecent')); ?>" title="<?php echo e(trans('admin.ManufacturingModelPrecent')); ?>" data-filter-tags="<?php echo e(trans('admin.ManufacturingModelPrecent')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ManufacturingModelPrecent')); ?> </span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول نماذج التصنيع')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ManufacturingModelSechdule')); ?>" title="<?php echo e(trans('admin.ManufacturingModelSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ManufacturingModelSechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ManufacturingModelSechdule')); ?> </span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('التنفيذ و الاستلام')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ExecutingandReceiving')); ?>" title="<?php echo e(trans('admin.ExecutingandReceiving')); ?>" data-filter-tags="<?php echo e(trans('admin.ExecutingandReceiving')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ExecutingandReceiving')); ?> </span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <!-- If Big Manufacturing -->
                                        <?php if($DefManu->Manu_Type == 1): ?>

                                        <?php endif; ?>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>


                        <?php if($Modules->Secretariat == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الامانات')): ?>
                                <li>
                                    <a href="#" title="<?php echo e(trans('admin.Secretariat')); ?>" data-filter-tags="<?php echo e(trans('admin.Secretariat')); ?>">
                                        <i class="fal fa-user-lock"></i>
                                        <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.Secretariat')); ?></span>
                                        <input type="hidden" id="inpu15" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu15">
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مخازن الامانات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Secretariat_Stores')); ?>" title="<?php echo e(trans('admin.Secretariat_Stores')); ?>" data-filter-tags="<?php echo e(trans('admin.Secretariat_Stores')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Secretariat_Stores')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('وارد بضاعه الامانات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Secretariat_Import_goods')); ?>" title="<?php echo e(trans('admin.Secretariat_Import_goods')); ?>" data-filter-tags="<?php echo e(trans('admin.Secretariat_Import_goods')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Secretariat_Import_goods')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول وارد بضاعه الامانات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Secretariat_Import_goods_Sechdule')); ?>" title="<?php echo e(trans('admin.Secretariat_Import_goods_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Secretariat_Import_goods_Sechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Secretariat_Import_goods_Sechdule')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('صرف بضاعه امانات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Secretariat_Export_goods')); ?>" title="<?php echo e(trans('admin.Secretariat_Export_goods')); ?>" data-filter-tags="<?php echo e(trans('admin.Secretariat_Export_goods')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Secretariat_Export_goods')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول صرف بضاعه الامانات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Secretariat_Export_goods_Sechdule')); ?>" title="<?php echo e(trans('admin.Secretariat_Export_goods_Sechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.Secretariat_Export_goods_Sechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Secretariat_Export_goods_Sechdule')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('نموذج تصنيع للغير')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ManufacturingModelSecretariat')); ?>" title="<?php echo e(trans('admin.ManufacturingModelSecretariat')); ?>" data-filter-tags="<?php echo e(trans('admin.ManufacturingModelSecretariat')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ManufacturingModelSecretariat')); ?> </span>
                                                </a>
                                            </li>

                                            <li>
                                                <a href="<?php echo e(url('ManufacturingModelSecretariatPrecent')); ?>" title="<?php echo e(trans('admin.ManufacturingModelSecretariatPrecent')); ?>" data-filter-tags="<?php echo e(trans('admin.ManufacturingModelSecretariatPrecent')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ManufacturingModelSecretariatPrecent')); ?> </span>
                                                </a>
                                            </li>


                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول نماذج تصنيع للغير')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ManufacturingModelSecretariatSechdule')); ?>" title="<?php echo e(trans('admin.ManufacturingModelSecretariatSechdule')); ?>" data-filter-tags="<?php echo e(trans('admin.ManufacturingModelSecretariatSechdule')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ManufacturingModelSecretariatSechdule')); ?> </span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تنفيذ و استلام للغير')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ExecutingReceivingSecretariat')); ?>" title="<?php echo e(trans('admin.ExecutingReceivingSecretariat')); ?>" data-filter-tags="<?php echo e(trans('admin.ExecutingReceivingSecretariat')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.ExecutingReceivingSecretariat')); ?> </span>
                                                </a>
                                            </li>
                                        <?php endif; ?>



                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كميات مخازن الامانات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Secretariat_Stores_Qty')); ?>" title="<?php echo e(trans('admin.Secretariat_Stores_Qty')); ?>" data-filter-tags="<?php echo e(trans('admin.Secretariat_Stores_Qty')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Secretariat_Stores_Qty')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>

                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('طلباتي')): ?>
                            <?php if(auth()->guard('admin')->user()->ship != 0): ?>
                                <li>
                                    <a href="#" title="<?php echo e(trans('admin.Orders')); ?>" data-filter-tags="<?php echo e(trans('admin.Orders')); ?>">
                                        <i class="fal fa-edit"></i>
                                        <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.Orders')); ?></span>
                                        <input type="hidden" id="inpu16" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu16">
                                        <li>
                                            <a href="<?php echo e(url('Orders')); ?>" title="<?php echo e(trans('admin.Orders')); ?>" data-filter-tags="<?php echo e(trans('admin.Orders')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Orders')); ?></span>
                                            </a>
                                        </li>
                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>

                        <?php if($Modules->ECommerce == 1): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الموقع')): ?>
                                <li>
                                    <a href="#" title="<?php echo e(trans('admin.Website')); ?>" data-filter-tags="<?php echo e(trans('admin.Website')); ?>">
                                        <i class="fal fa-globe"></i>
                                        <span class="nav-link-text" data-i18n="nav.form_stuff"><?php echo e(trans('admin.Website')); ?></span>
                                        <input type="hidden" id="inpu17" value="1">
                                    </a>
                                    <ul style="width:450px" id="menu17">
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('سلايدر الموقع')): ?>
                                            <li>
                                                <a href="<?php echo e(url('WebSlider')); ?>" title="<?php echo e(trans('admin.WebSlider')); ?>" data-filter-tags="<?php echo e(trans('admin.WebSlider')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.WebSlider')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('من نحن')): ?>
                                            <li>
                                                <a href="<?php echo e(url('About')); ?>" title="<?php echo e(trans('admin.About')); ?>" data-filter-tags="<?php echo e(trans('admin.About')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.About')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('التواصل الاجتماعي')): ?>
                                            <li>
                                                <a href="<?php echo e(url('SocialMedia')); ?>" title="<?php echo e(trans('admin.SocialMedia')); ?>" data-filter-tags="<?php echo e(trans('admin.SocialMedia')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.SocialMedia')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('رسايل التواصل')): ?>
                                            <li>
                                                <a href="<?php echo e(url('MsgRqst')); ?>" title="<?php echo e(trans('admin.MsgRqst')); ?>" data-filter-tags="<?php echo e(trans('admin.MsgRqst')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.MsgRqst')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('التواصل معنا')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ContactUS')); ?>" title="<?php echo e(trans('admin.ContactUS')); ?>" data-filter-tags="<?php echo e(trans('admin.ContactUS')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ContactUS')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المقالات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Articles')); ?>" title="<?php echo e(trans('admin.Articles')); ?>" data-filter-tags="<?php echo e(trans('admin.Articles')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Articles')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('السياسات')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Polices')); ?>" title="<?php echo e(trans('admin.Polices')); ?>" data-filter-tags="<?php echo e(trans('admin.Polices')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Polices')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الشروط و الاحكام')): ?>
                                            <li>
                                                <a href="<?php echo e(url('Terms')); ?>" title="<?php echo e(trans('admin.Terms')); ?>" data-filter-tags="<?php echo e(trans('admin.Terms')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Terms')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كوبون كود')): ?>
                                            <li>
                                                <a href="<?php echo e(url('CouponCode')); ?>" title=" <?php echo e(trans('admin.CouponCode')); ?>" data-filter-tags="<?php echo e(trans('admin.CouponCode')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.CouponCode')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاسئله الشائعه')): ?>
                                            <li>
                                                <a href="<?php echo e(url('FAQ')); ?>" title="<?php echo e(trans('admin.FAQ')); ?>" data-filter-tags="<?php echo e(trans('admin.FAQ')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.FAQ')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اعلانات تفاصيل االمنتج')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ProDetailsImg')); ?>" title="<?php echo e(trans('admin.ProDetailsImg')); ?>" data-filter-tags="<?php echo e(trans('admin.ProDetailsImg')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ProDetailsImg')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('صور سياسه المتجر')): ?>
                                            <li>
                                                <a href="<?php echo e(url('BefroeFooter')); ?>" title=" <?php echo e(trans('admin.BefroeFooter')); ?>" data-filter-tags="<?php echo e(trans('admin.BefroeFooter')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.BefroeFooter')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('طلبات المتجر')): ?>
                                            <li>
                                                <a href="<?php echo e(url('ShopOrders')); ?>" title="<?php echo e(trans('admin.Orders')); ?>" data-filter-tags="<?php echo e(trans('admin.Orders')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Orders')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                        <?php if(auth()->guard('admin')->user()->email == 'Klar@test.com'): ?>

                                            <li>
                                                <a href="<?php echo e(url('EComDesign')); ?>" title="<?php echo e(trans('admin.EComDesign')); ?>" data-filter-tags="<?php echo e(trans('admin.EComDesign')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.EComDesign')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>

                                    </ul>
                                </li>
                            <?php endif; ?>
                        <?php endif; ?>

                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاعدادات')): ?>
                            <li>
                                <a href="#" title="<?php echo e(trans('admin.Settings')); ?>" data-filter-tags="<?php echo e(trans('admin.Settings')); ?>">
                                    <i class="fal fa-wrench"></i>
                                    <span class="nav-link-text" data-i18n="nav.miscellaneous"> <?php echo e(trans('admin.Settings')); ?> </span>
                                    <input type="hidden" id="inpu12" value="1">
                                </a>
                                <ul style="width:450px" id="menu12">
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('صلاحيات المستخدمين')): ?>
                                        <li>
                                            <a href="<?php echo e(url('AdminsPremations')); ?>" title="<?php echo e(trans('admin.AdminsPremations')); ?>" data-filter-tags="<?php echo e(trans('admin.AdminsPremations')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.AdminsPremations')); ?> </span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('المستخدمين')): ?>
                                        <li>
                                            <a href="<?php echo e(url('Admins')); ?>" title="<?php echo e(trans('admin.Admins')); ?>" data-filter-tags="<?php echo e(trans('admin.Admins')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Admins')); ?> </span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('البيانات الافتراضيه')): ?>
                                        <li>
                                            <a href="<?php echo e(url('Default_Data')); ?>" title="<?php echo e(trans('admin.Default_Data')); ?>" data-filter-tags="<?php echo e(trans('admin.Default_Data')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Default_Data')); ?> </span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if(auth()->guard('admin')->user()->email == 'Klar@test.com'): ?>
                                        <li>
                                            <a href="<?php echo e(url('Modules_Settings')); ?>" title="<?php echo e(trans('admin.Modules_Settings')); ?>" data-filter-tags="<?php echo e(trans('admin.Modules_Settings')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Modules_Settings')); ?> </span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if(auth()->guard('admin')->user()->email == 'Klar@test.com'): ?>
                                        <li>
                                            <a href="<?php echo e(url('QR')); ?>" title="QR" data-filter-tags="QR">
                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> QR</span>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?php echo e(url('LoginSlider')); ?>" title="Login Slider" data-filter-tags="Login Slider">
                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> Login Slider</span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('حركه المستخدمين')): ?>
                                        <li>
                                            <a href="<?php echo e(url('UserLog')); ?>" title="<?php echo e(trans('admin.User_Log')); ?>" data-filter-tags="<?php echo e(trans('admin.User_Log')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.User_Log')); ?></span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مواقع الموظفين')): ?>
                                        <li>
                                            <a href="<?php echo e(url('EmpLocations')); ?>" title="<?php echo e(trans('admin.Emp_Locations')); ?>" data-filter-tags="<?php echo e(trans('admin.Emp_Locations')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.miscellaneous_fullcalendar"> <?php echo e(trans('admin.Emp_Locations')); ?></span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('استيراد ملفات اكسيل')): ?>
                                        <li>
                                            <a href="<?php echo e(url('ExportProducts')); ?>" title="<?php echo e(trans('admin.ExportProducts')); ?>" data-filter-tags="<?php echo e(trans('admin.ExportProducts')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.ExportProducts')); ?></span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الترجمه')): ?>
                                        <li>
                                            <a href="<?php echo e(url('Translate')); ?>" title="<?php echo e(trans('admin.Translate')); ?>" data-filter-tags="<?php echo e(trans('admin.Translate')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Translate')); ?></span>
                                            </a>
                                        </li>
                                    <?php endif; ?>
                                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('حذف الحركات')): ?>
                                        <li>
                                            <a href="<?php echo e(url('DeleteMoves')); ?>" title="<?php echo e(trans('admin.DeleteMoves')); ?>" data-filter-tags="<?php echo e(trans('admin.DeleteMoves')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.DeleteMoves')); ?></span>
                                            </a>
                                        </li>
                                    <?php endif; ?>



                                    <?php if(auth()->guard('admin')->user()->email == 'Klar@test.com'): ?>
                                        <li>
                                            <a href="<?php echo e(url('Domain_Regstration')); ?>" title="<?php echo e(trans('admin.Domain_Regstration')); ?>" data-filter-tags="<?php echo e(trans('admin.Domain_Regstration')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Domain_Regstration')); ?></span>
                                            </a>
                                        </li>


                                        <li>
                                            <a href="<?php echo e(url('Updates')); ?>" title="<?php echo e(trans('admin.Updates')); ?>" data-filter-tags="<?php echo e(trans('admin.Updates')); ?>">
                                                <span class="nav-link-text" data-i18n="nav.utilities_borders"> <?php echo e(trans('admin.Updates')); ?></span>
                                            </a>
                                        </li>
                                    <?php endif; ?>


                                    <?php if(auth()->guard('admin')->user()->email == 'Klar@test.com'): ?>
                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كميات المخازن')): ?>
                                            <li>
                                                <a href="<?php echo e(url('StoresQty')); ?>" title="<?php echo e(trans('admin.StoresQty')); ?>" data-filter-tags="<?php echo e(trans('admin.StoresQty')); ?>">
                                                    <span class="nav-link-text" data-i18n="nav.ui_components_buttons"><?php echo e(trans('admin.StoresQty')); ?></span>
                                                </a>
                                            </li>
                                        <?php endif; ?>
                                    <?php endif; ?>


                                </ul>
                            </li>
                        <?php endif; ?>



                    <?php endif; ?>



                    <li>
                    </li>
                </ul>
                <div class="filter-message js-filter-message bg-success-600"></div>
            </nav>
            <!-- END PRIMARY NAVIGATION -->
            <!-- NAV FOOTER -->
            <div class="nav-footer shadow-top">
                <a href="#" onclick="return false;" data-action="toggle" data-class="nav-function-minify" class="hidden-md-down">
                    <i class="ni ni-chevron-right"></i>
                    <i class="ni ni-chevron-right"></i>
                </a>
                <ul class="list-table m-auto nav-footer-buttons">
                    <li>
                        <a target="_blank" href="https://www.facebook.com/klarapps" data-toggle="tooltip" data-placement="top" title="Chat logs">
                            <i class="fab fa-facebook-messenger"></i>
                        </a>
                    </li>
                    <li>
                        <a target="_blank" href="https://wa.me/201062201060" data-toggle="tooltip" data-placement="top" title="Whatsapp">
                            <i class="fab fa-whatsapp"></i>
                        </a>
                    </li>
                    <li>
                        <a target="_blank" href="00201062201060" data-toggle="tooltip" data-placement="top" title="00201062201060">
                            <i class="fal fa-phone"></i>
                        </a>
                    </li>
                </ul>
            </div>
            <!-- END NAV FOOTER -->
        </aside>
        <!-- END Left Aside -->
        <div class="page-content-wrapper">
            <!-- BEGIN Page Header -->
            <header class="page-header" role="banner">
                <!-- we need this logo when user switches to nav-function-top -->
                <div class="page-logo">
                    <a href="#" class="page-logo-link press-scale-down d-flex align-items-center position-relative" data-toggle="modal" data-target="#modal-shortcut">
                        <?php if(!empty($Def->Logo)): ?>
                            <img src="<?php echo e(URL::to($Def->Logo)); ?>" alt="SmartAdmin WebApp" aria-roledescription="logo">
                        <?php else: ?>
                            <img src="<?php echo e(asset('Admin/img/logo.png')); ?>" alt="SmartAdmin WebApp" aria-roledescription="logo">
                        <?php endif; ?>
                        <span class="page-logo-text mr-1">
                        <?php echo e(app()->getLocale() == 'ar' ?$Def->Name :$Def->NameEn); ?>

                    </span>
                        <span class="position-absolute text-white opacity-50 small pos-top pos-right mr-2 mt-n2"></span>
                        <i class="fal fa-angle-down d-inline-block ml-1 fs-lg color-primary-300"></i>
                    </a>
                </div>
                <!-- DOC: nav menu layout change shortcut -->
                <div class="hidden-md-down dropdown-icon-menu position-relative">
                    <a href="#" class="header-btn btn js-waves-off" data-action="toggle" data-class="nav-function-hidden" title="Hide Navigation">
                        <i class="ni ni-menu"></i>
                    </a>
                    <ul>
                        <li>
                            <a href="#" class="btn js-waves-off" data-action="toggle" data-class="nav-function-minify" title="Minify Navigation">
                                <i class="ni ni-minify-nav"></i>
                            </a>
                        </li>
                        <li>
                            <a href="#" class="btn js-waves-off" data-action="toggle" data-class="nav-function-fixed" title="Lock Navigation">
                                <i class="ni ni-lock-nav"></i>
                            </a>
                        </li>
                    </ul>
                </div>
                <!-- DOC: mobile button appears during mobile width -->
                <div class="hidden-lg-up">
                    <a href="#" class="header-btn btn press-scale-down" data-action="toggle" data-class="mobile-nav-on">
                        <i class="ni ni-menu"></i>
                    </a>
                </div>
                <!--<div class="search">-->
                <!--   <form class="app-forms hidden-xs-down" role="search" action="page_search.html" autocomplete="off">-->
                <!--      <input type="text" id="search-field" placeholder="Search for anything" class="form-control" tabindex="1">-->
                <!--      <a href="#" onclick="return false;" class="btn-danger btn-search-close js-waves-off d-none" data-action="toggle" data-class="mobile-search-on">-->
                <!--      <i class="fal fa-times"></i>-->
                <!--      </a>-->
                <!--   </form>-->
                <!--</div>-->



                <?php if($ModulesSett->System == 1): ?>
                    <?php if(auth()->guard('admin')->user()->email != "Klar@test.com"): ?>
                        <?php

                            $day7=date("Y-m-d", strtotime("-7 days", strtotime($ModulesSett->Expire_Date)));
            $day6=date("Y-m-d", strtotime("-6 days", strtotime($ModulesSett->Expire_Date)));
            $day5=date("Y-m-d", strtotime("-5 days", strtotime($ModulesSett->Expire_Date)));
            $day4=date("Y-m-d", strtotime("-4 days", strtotime($ModulesSett->Expire_Date)));
            $day3=date("Y-m-d", strtotime("-3 days", strtotime($ModulesSett->Expire_Date)));
            $day2=date("Y-m-d", strtotime("-2 days", strtotime($ModulesSett->Expire_Date)));
            $day1=date("Y-m-d", strtotime("-1 days", strtotime($ModulesSett->Expire_Date)));
                        ?>

                        <?php if(date('Y-m-d') == $day7 or date('Y-m-d') == $day6 or date('Y-m-d') == $day5 or date('Y-m-d') == $day4 or date('Y-m-d') == $day3 or date('Y-m-d') == $day2 or date('Y-m-d') == $day1): ?>


                            <div class='line text-center ml-3 mr-3'>
                                <h6 class='pop-outin'> <?php echo e(trans('admin.Renew_Date_Soon')); ?> <?php echo e($ModulesSett->Expire_Date); ?></h6>
                            </div>
                        <?php endif; ?>
                    <?php endif; ?>
                <?php endif; ?>


                <?php $Events=Event::where('Event_En_Name','Expired Supscribe')->get(); ?>

                <?php $__currentLoopData = $Events; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $event): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                    <?php if(date('Y-m-d') == $event->End_Date): ?>

                        <?php $pro=Products::find($event->Product); ?>
                        <div class='line text-center ml-3 mr-3'>
                            <h6 class='pop-outin'>
                                <?php echo e(trans('admin.Expired_Subscribe')); ?>

                                <?php if(!empty($pro)): ?>
                                    ( <?php echo e(app()->getLocale() == 'ar' ?$pro->P_Ar_Name :$pro->P_En_Name); ?> )

                                <?php endif; ?>


                                <?php echo e($event->End_Date); ?>

                            </h6>
                        </div>

                    <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>




                <style>
                    /* crops animations that exceeds one line area */
                    .line {
                        width: 100%;
                        height: 4rem;
                        overflow: hidden;
                        padding: 5px;
                        margin-bottom: 16px;
                    }

                    /* subtle zoom to attention and then back */
                    .pop-outin {
                        animation: 2s anim-popoutin ease infinite;
                        padding: 17px;

                    }

                    @keyframes  anim-popoutin {
                        0% {
                            color: black;
                            transform: scale(0);
                            opacity: 0;
                            text-shadow: 0 0 0 rgba(0, 0, 0, 0);
                        }

                        25% {
                            color: red;
                            transform: scale(2);
                            opacity: 1;
                            text-shadow: 3px 10px 5px rgba(0, 0, 0, 0.5);
                        }

                        50% {
                            color: black;
                            transform: scale(1);
                            opacity: 1;
                            text-shadow: 1px 0 0 rgba(0, 0, 0, 0);
                        }

                        100% {
                            /* animate nothing to add pause at the end of animation */
                            transform: scale(1);
                            opacity: 1;
                            text-shadow: 1px 0 0 rgba(0, 0, 0, 0);
                        }
                    }

                    .fromtop {
                        animation: 2s anim-fromtop linear infinite;
                    }

                    @keyframes  anim-fromtop {
                        0% {
                            opacity: 0;
                            transform: translateY(-100%);
                        }

                        25% {
                            opacity: 1;
                            transform: translateY(0%);
                        }

                        50% {}

                        100% {}
                    }

                </style>

                <div class="top-left-nav d-flex">
                    <!-- activate app search icon (mobile) -->
                    <!--<div class="hidden-sm-up">-->
                    <!--   <a href="#" class="header-icon" data-action="toggle" data-class="mobile-search-on" data-focus="search-field" title="Search">-->
                    <!--   <i class="fal fa-search"></i>-->
                    <!--   </a>-->
                    <!--</div>-->
                    <!-- app settings -->
                    <div class="hidden-md-down">
                        <a href="#" class="header-icon" data-toggle="modal" data-target=".js-modal-settings">
                            <i class="fal fa-cog"></i>
                        </a>
                    </div>
                    <?php if(auth()->guard('admin')->user()->vend == 0 and auth()->guard('admin')->user()->cli == 0 and auth()->guard('admin')->user()->emp == 0): ?>
                        <!-- app shortcuts -->
                        <div>
                            <a href="#" class="header-icon" data-toggle="dropdown" title="My Apps">
                                <i class="fal fa-cube"></i>
                            </a>
                            <div class="dropdown-menu dropdown-menu-animated w-auto h-auto">
                                <div class="dropdown-header bg-trans-gradient d-flex justify-content-center align-items-center rounded-top">
                                    <h4 class="m-0 text-center color-white">
                                        <?php echo e(trans('admin.Quick_Shortcut')); ?>

                                    </h4>
                                </div>
                                <div class="custom-scroll h-100">
                                    <?php if($Modules->Stores == 1): ?>
                                        <ul class="app-list">
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه عملاء')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('AddClients')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/013.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Add_Clients')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه مبيعات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Sales')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/019.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Sales')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول المبيعات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('SalesSechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/020.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.SalesSechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه سند قبض')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Receipt_Voucher')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/003.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Receipt_Voucher')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه سند صرف')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Payment_Voucher')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/004.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Payment_Voucher')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تحويلات الخزائن')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('SafesTransfer')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/005.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Safes_Transfer')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول تحويلات الخزائن')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('SafesTransferSechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/006.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Safes_Transfer_Sechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه تحويلات المخازن')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('StoresTransfers')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/035.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Stores_Transfers')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول تحويلات المخازن')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('StoresTransfersSechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/036.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Stores_Transfers_Sechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('دليل الاصناف')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('ItemsGuide')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/031.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Items_Guide')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه صنف')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Add_Items')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/032.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Add_Items')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول الاصناف')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Products_Sechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/033.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Products_Sechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('العملاء')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Clients')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/014.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Clients')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الموردين')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Vendors')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/007.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Vendors')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه امر شراء')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('PurchasesOrder')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/008.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.PurchasesOrder')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول آوامر الشراء')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('PurchasesOrderSechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/009.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.PurchasesOrderSechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه مشتريات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Purchases')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/010.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Purchases')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول المشتريات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('PurchasesSechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/011.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.PurchasesSechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الفواتير المعلقه مشتريات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('PurchasesHold')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/012.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.PurchasesHold')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه عرض سعر')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Quote')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/015.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Quote')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول عرض سعر')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Quote_Sechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/016.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Quote_Sechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه امر بيع')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('PurchasesOrderSechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/017.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.SalesOrder')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جدول امر البيع')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('SalesOrderSechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/018.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.SalesOrderSechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الفواتير المعلقه مبيعات')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('SalesHoldSechdule')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/021.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.SalesHoldSechdule')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه موظف')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('AddEmp')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/022.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Add_Emp')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('صرف راتب')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('AddSalary')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/023.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.AddSalary')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('استعلام عن منتج')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Product_Info')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/024.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Product_Info')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('ميزان المراجعه')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Trial_Balance')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/025.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Trial_Balance')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كشف حساب خزنه، بنك')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Safe_Bank_Statement')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/026.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Safe_Bank_Statement')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كشف حساب موردين')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Vendor_Account_Statement')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/027.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Vendor_Account_Statement')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('كشف حساب عملاء')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Customer_Account_Statement')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/028.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Customer_Account_Statement')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('قائمه الدخل')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Incom_List')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/029.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Incom_List')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('قائمه المركز المالي')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Financial_Center')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/030.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Financial_Center')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('طباعه الباركود')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('BarcodeـPrinting')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/034.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.BarcodeـPrinting')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الدليل المحاسبي')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('AccountingManual')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/001.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Accounting_Manual')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('اضافه قيد يومي')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Journalizing')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/002.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Journalizing')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('نقاط البيع')): ?>
                                                <?php if(auth()->guard('admin')->user()->emp != 0): ?>
                                                    <li>
                                                        <a href="<?php echo e(url('POS')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/002.gif")); ?>'>
                                        </span>
                                                            <span class="app-list-name">
                                            <?php echo e(trans('admin.POS')); ?>

                                        </span>
                                                        </a>
                                                    </li>
                                                <?php endif; ?>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('جرد المخازن')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('StoresInventory')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/002.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.StoresInventory')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('تحصيل مناديب')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Collection_Delegates')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/002.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Collection_Delegates')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('مبيعات مناديب')): ?>
                                                <li>
                                                    <a href="<?php echo e(url('Sales_Delegates')); ?>" class="app-list-item hover-white">
                                        <span class="icon-stack">
                                            <img style="width:50px;height:50px" src='<?php echo e(asset("Admin/assets/images/002.gif")); ?>'>
                                        </span>
                                                        <span class="app-list-name">
                                            <?php echo e(trans('admin.Sales_Delegates')); ?>

                                        </span>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        </ul>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </div>
                    <?php endif; ?>
                    <!-- app message -->




                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('الاشعارات')): ?>
                        <!-- app notification -->
                        <div>
                            <a href="#" class="header-icon" data-toggle="dropdown" title="You got 11 notifications">
                                <i class="fal fa-bell"></i>
                                <span class="badge badge-icon"><?php echo e($NotificationsCount); ?></span>
                            </a>
                            <div class="dropdown-menu dropdown-menu-animated dropdown-xl">
                                <div class="dropdown-header bg-trans-gradient d-flex justify-content-center align-items-center rounded-top mb-2">
                                    <h4 class="m-0 text-center color-white">
                                        <?php echo e($NotificationsCount); ?>

                                        <small class="mb-0 opacity-80"><?php echo e(trans('admin.New_Notifications')); ?></small>
                                    </h4>
                                </div>
                                
                                <div class="tab-content tab-notification">

                                    <div class="tab-pane active" id="tab-messages" role="tabpanel">
                                        <div class="custom-scroll h-100">
                                            <ul class="notification">


                                                <?php $__currentLoopData = $Notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $noti): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <li class="unread">
                                                        <a href="#" class="d-flex align-items-center">
                                                <span class="status mr-2">
                                                    <span class="profile-image rounded-circle d-inline-block" style="background-image:url(<?php echo e(asset('Admin/img/demo/avatars/avatar-c.png')); ?>)"></span>
                                                </span>
                                                            <span class="d-flex flex-column flex-1 ml-1">
                                                    <span class="name"><?php echo e(app()->getLocale() == 'ar' ?$noti->Type :$noti->TypeEn); ?> (<?php echo e($noti->Type_Code); ?>)</span>
                                                    <span class="msg-a fs-sm"><?php echo e(app()->getLocale() == 'ar' ?$noti->Noti_Ar_Name :$noti->Noti_En_Name); ?></span>
                                                    <span class="fs-nano text-muted mt-1"><?php echo e($noti->Date); ?></span>
                                                </span>
                                                        </a>
                                                    </li>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>



                                            </ul>
                                        </div>
                                    </div>

                                </div>
                                <div class="py-2 px-3 bg-faded d-block rounded-bottom text-right border-faded border-bottom-0 border-right-0 border-left-0">
                                    <a href="<?php echo e(url('AllNotifucations')); ?>" class="fs-xs fw-500 ml-auto"><?php echo e(trans('admin.view_all_notifications')); ?> </a>
                                </div>
                                <div class="py-2 px-3 bg-faded d-block rounded-bottom text-left border-faded border-bottom-0 border-left-0 border-right-0">
                                    <a href="<?php echo e(url('ReadAllNotifucations')); ?>" class="fs-xs fw-500 ml-auto"><?php echo e(trans('admin.ReadAllNotifucations')); ?> </a>
                                </div>
                            </div>
                        </div>
                    <?php endif; ?>



                    <!-- app user menu -->
                    <div>
                        <a href="#" data-toggle="dropdown" title="info@klarapps.com" class="header-icon d-flex align-items-center justify-content-center ml-2">
                            <?php if(!empty(auth()->guard('admin')->user()->image)): ?>
                                <img src="<?php echo e(URL::to(auth()->guard('admin')->user()->image)); ?>" class="profile-image rounded-circle" alt="<?php echo e(auth()->guard('admin')->user()->name); ?>">
                            <?php else: ?>
                                <img src="<?php echo e(asset('Admin/img/default.jpeg')); ?>" class="profile-image rounded-circle" alt="<?php echo e(asset('Admin/img/default.jpeg')); ?>">
                            <?php endif; ?>
                        </a>
                        <div class="dropdown-menu dropdown-menu-animated dropdown-lg">
                            <div class="dropdown-header bg-trans-gradient d-flex flex-row py-4 rounded-top">
                                <div class="d-flex flex-row align-items-center mt-1 mb-1 color-white">
                                <span class="mr-2">
                                    <img src="<?php echo e(URL::to(auth()->guard('admin')->user()->image)); ?>" class="rounded-circle profile-image" alt="<?php echo e(auth()->guard('admin')->user()->name); ?>">
                                </span>
                                    <div class="info-card-text">
                                        <div class="fs-lg text-truncate text-truncate-lg"> <?php echo e(app()->getLocale() == 'ar' ?auth()->guard('admin')->user()->name :auth()->guard('admin')->user()->nameEn); ?> </div>
                                        <span class="text-truncate text-truncate-md opacity-80"><?php echo e(auth()->guard('admin')->user()->email); ?></span>
                                    </div>
                                </div>
                            </div>
                            <div class="dropdown-divider m-0"></div>
                            <a href="#" class="dropdown-item" data-action="app-reset">
                                <span data-i18n="drpdwn.reset_layout">Reset Layout</span>
                            </a>
                            <a href="#" class="dropdown-item" data-toggle="modal" data-target=".js-modal-settings">
                                <span data-i18n="drpdwn.settings">Settings</span>
                            </a>
                            <div class="dropdown-divider m-0"></div>
                            <a href="#" class="dropdown-item" data-action="app-fullscreen">
                                <span data-i18n="drpdwn.fullscreen">Fullscreen</span>
                                <i class="float-right text-muted fw-n">F11</i>
                            </a>
                            <a href="#" class="dropdown-item" data-action="app-print">
                                <span data-i18n="drpdwn.print">Print</span>
                                <i class="float-right text-muted fw-n">Ctrl + P</i>
                            </a>
                            <a href="<?php echo e(url('Profile')); ?>" class="dropdown-item">
                                <span data-i18n="drpdwn.print"> <?php echo e(trans('admin.Profile')); ?> </span>
                            </a>
                            <div class="dropdown-multilevel dropdown-multilevel-left">
                                <div class="dropdown-item">
                                    <?php echo e(trans('admin.Language')); ?>

                                </div>
                                <div class="dropdown-menu">
                                    <a href="<?php echo e(url('lang/ar')); ?>" class="dropdown-item"><?php echo e(trans('admin.Arabic')); ?></a>
                                    <a href="<?php echo e(url('lang/en')); ?>" class="dropdown-item"><?php echo e(trans('admin.English')); ?></a>
                                </div>
                            </div>
                            <div class="dropdown-divider m-0"></div>
                            <a class="dropdown-item fw-500 pt-3 pb-3" href="<?php echo e(url('Logout')); ?>">
                                <span data-i18n="drpdwn.page-logout"><?php echo e(trans('admin.Logout')); ?></span>
                                <span class="float-right fw-n">&commat;klarapps</span>
                            </a>
                        </div>
                    </div>
                </div>
            </header>





            <!-- END Page Header -->
<?php /**PATH /home/orientlimraerp/public_html/resources/views/admin/layouts/navbar.blade.php ENDPATH**/ ?>