<?php if(permissionCheck('generalsetting.index') || permissionCheck('email_templates.index')): ?>
    <?php
        $general_admin = false;
        if(request()->is('generalsetting') || request()->is('generalsetting/*') || request()->is('modulemanager'))
        {
            $general_admin = true;
        }
    ?>
    <li class="<?php echo e($general_admin ?'mm-active' : ''); ?> sortable_li" data-position="<?php echo e(menuManagerCheck(1,16)->position); ?>" data-status="<?php echo e(menuManagerCheck(1,16)->status); ?>">
        <a href="javascript:;" class="has-arrow" aria-expanded="<?php echo e($general_admin ? 'true' : 'false'); ?>">
            <div class="nav_icon_small">
                <span class="fas fa-cog"></span>
            </div>
            <div class="nav_title">
                <span><?php echo e(__('general_settings.system_settings')); ?></span>
            </div>
        </a>
        <ul id="general_setting_1">
            <?php if(isModuleActive('AmazonS3')): ?>
            <li>
                <a href="<?php echo e(route('file-storage.index')); ?>" class="<?php echo e(request()->routeIs('file-storage.index') ? 'active' : ''); ?>">
                    <?php echo e(__('general_settings.file_storage')); ?>

                    <?php if(config('app.sync')): ?>
                    <span class="demo_addons">Addon</span>
                    <?php endif; ?>
                </a>
            </li>
            <?php endif; ?>
            <?php if(permissionCheck('generalsetting.index') && menuManagerCheck(2,16,'generalsetting.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'generalsetting.index')->position); ?>">
                    <a href="<?php echo e(route('generalsetting.index')); ?>" <?php if(request()->is('generalsetting')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.general_settings')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('email_templates.index') && menuManagerCheck(2,16,'email_templates.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'email_templates.index')->position); ?>">
                    <a href="<?php echo e(route('email_templates.index')); ?>" <?php if(request()->is('generalsetting/email-templates*')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.Email Template')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('sms_templates.index') && menuManagerCheck(2,16,'sms_templates.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'sms_templates.index')->position); ?>">
                    <a href="<?php echo e(route('sms_templates.index')); ?>" <?php if(request()->is('generalsetting/sms-templates*')): ?> class="active" <?php endif; ?>><?php echo e(__('common.sms')); ?> <?php echo e(__('general_settings.template')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('company_info') && menuManagerCheck(2,16,'company_info')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'company_info')->position); ?>">
                    <a href="<?php echo e(route('generalsetting.company_index')); ?>" <?php if(request()->is('generalsetting/company-info')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.company_information')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('smtp_info') && menuManagerCheck(2,16,'smtp_info')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'smtp_info')->position); ?>">
                    <a href="<?php echo e(route('generalsetting.smtp_index')); ?>" <?php if(request()->is('generalsetting/smtp-setting')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.email_settings')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('sms_info') && menuManagerCheck(2,16,'sms_info')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'sms_info')->position); ?>">
                    <a href="<?php echo e(route('generalsetting.sms_index')); ?>" <?php if(request()->is('generalsetting/sms-setting')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.sms_settings')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('setup.analytics.index') && menuManagerCheck(2,16,'setup.analytics.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'setup.analytics.index')->position); ?>">
                    <a href="<?php echo e(route('setup.analytics.index')); ?>" <?php if(request()->is('generalsetting/analytics')): ?> class="active" <?php endif; ?>><?php echo e(__('setup.analytics')); ?></a>
                </li>
            <?php endif; ?>
            <?php if(permissionCheck('generalsetting.activation_index') && menuManagerCheck(2,16,'generalsetting.activation_index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'generalsetting.activation_index')->position); ?>">
                    <a href="<?php echo e(route('generalsetting.activation_index')); ?>" <?php if(request()->is('generalsetting/activation')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.activation')); ?></a>
                </li>
            <?php endif; ?>
            
            <?php if(permissionCheck('notificationsetting.index') && menuManagerCheck(2,16,'notificationsetting.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'notificationsetting.index')->position); ?>">
                    <a href="<?php echo e(route('notificationsetting.index')); ?>" <?php if(request()->is('generalsetting/notification')): ?> class="active" <?php endif; ?>><?php echo e(__('common.notification')); ?> <?php echo e(__('common.setting')); ?></a>
                </li>
            <?php endif; ?>

            <?php if(permissionCheck('generalsetting.social_login_configuration') && menuManagerCheck(2,16,'generalsetting.social_login_configuration')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'generalsetting.social_login_configuration')->position); ?>">
                    <a href="<?php echo e(route('generalsetting.social_login_configuration')); ?>" <?php if(request()->is('generalsetting/social_login_configuration')): ?> class="active" <?php endif; ?>>
                        <?php echo e(__('general_settings.social_configuration')); ?></a>
                </li>
            <?php endif; ?>

            <?php if(permissionCheck('maintenance.index') && menuManagerCheck(2,16,'maintenance.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'maintenance.index')->position); ?>">
                    <a href="<?php echo e(route('maintenance.index')); ?>" <?php if(request()->is('generalsetting/maintenance-mode')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.maintenance')); ?> <?php echo e(__('general_settings.mode')); ?></a>
                </li>
            <?php endif; ?>

            <?php if(permissionCheck('generalsetting.updatesystem') && menuManagerCheck(2,16,'generalsetting.updatesystem')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'generalsetting.updatesystem')->position); ?>">
                    <a href="<?php echo e(route('generalsetting.updatesystem')); ?>" <?php if(request()->is('generalsetting/update-system')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.about_update')); ?></a>
                </li>
            <?php endif; ?>

            <?php if(permissionCheck('modulemanager.index') && menuManagerCheck(2,16,'modulemanager.index')->status == 1): ?>
                <li data-position="<?php echo e(menuManagerCheck(2,16,'modulemanager.index')->position); ?>">
                    <a href="<?php echo e(route('modulemanager.index')); ?>" <?php if(request()->is('modulemanager')): ?> class="active" <?php endif; ?>><?php echo e(__('general_settings.module')); ?> <?php echo e(__('general_settings.manager')); ?></a>
                </li>
            <?php endif; ?>
        </ul>
    </li>
<?php endif; ?>
<?php /**PATH /home/penastud/public_html/mart/Modules/GeneralSetting/Resources/views/menu.blade.php ENDPATH**/ ?>