<?php if (isset($component)) { $__componentOriginalc6e081c8432fe1dd6b4e43af4871c93447ee9b23 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\MasterLayout::class, ['assets' => $assets ?? []]); ?>
<?php $component->withName('master-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
    <div>
        <div class="row">
            <div class="col-lg-12">
                <div class="card card-block card-stretch">
                    <div class="card-body p-0">
                        <div class="d-flex justify-content-between align-items-center p-3">
                            <h5 class="font-weight-bold"><?php echo e($pageTitle ?? __('message.list')); ?></h5>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <div class="card">
                    <div class="card-body">
                            <ul class="nav nav-tabs" role="tablist">
                                <?php if(in_array( $page,['profile_form','password_form'])): ?>
                                    <li class="nav-item">
                                        <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=profile_form" data-target=".paste_here" class="nav-link <?php echo e($page=='profile_form'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.profile')); ?> </a>
                                    </li>
                                    <li class="nav-item">
                                        <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=password_form" data-target=".paste_here" class="nav-link <?php echo e($page=='password_form'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.change_password')); ?> </a>
                                    </li>
                                <?php else: ?>
                                    <?php if(auth()->check() && auth()->user()->hasAnyRole('admin|demo_admin')): ?>
                                        <li class="nav-item">
                                            <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=general-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='general-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.general_settings')); ?></a>
                                        </li>
                                        
                                        <li class="nav-item">
                                            <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=mail-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='mail-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.mail_settings')); ?></a>
                                        </li>
                                        <li class="nav-item">
                                            <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=language-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='language-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.language_settings')); ?></a>
                                        </li>
                                        <li class="nav-item">
                                            <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=notification-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='notification-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.notification_settings')); ?></a>
                                        </li>
                                        <li class="nav-item">
                                            <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=payment-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='payment-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.payment_settings')); ?></a>
                                        </li>
                                        <li class="nav-item">
                                            <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=invoice-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='invoice-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.invoice_settings')); ?></a>
                                        </li>
                                        <li class="nav-item">
                                            <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=order-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='order-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.order_settings')); ?></a>
                                        </li>
                                        <li class="nav-item">
                                            <a href="javascript:void(0)" data-href="<?php echo e(route('layout_page')); ?>?page=register-setting" data-target=".paste_here" class="nav-link <?php echo e($page=='register-setting'?'active':''); ?>"  data-toggle="tabajax" rel="tooltip"> <?php echo e(__('message.register_setting')); ?></a>
                                        </li>
                                        
                                    <?php endif; ?>
                                <?php endif; ?>
                            </ul>
                        <div class="tab-content">
                            <div class="paste_here"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <?php $__env->startSection('bottom_script'); ?>
        <script>
            $(document).ready(function(event)
            {
                var $this = $('.nav-item').find('a.active');
                loadurl = "<?php echo e(route('layout_page')); ?>?page=<?php echo e($page); ?>";

                targ = $this.attr('data-target');

                id = this.id || '';

                $.post(loadurl,{ '_token': $('meta[name=csrf-token]').attr('content') } ,function(data) {
                    $(targ).html(data);
                });

                $this.tab('show');
                return false;
            });
        </script>
    <?php $__env->stopSection(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc6e081c8432fe1dd6b4e43af4871c93447ee9b23)): ?>
<?php $component = $__componentOriginalc6e081c8432fe1dd6b4e43af4871c93447ee9b23; ?>
<?php unset($__componentOriginalc6e081c8432fe1dd6b4e43af4871c93447ee9b23); ?>
<?php endif; ?>
<?php /**PATH /home/atharvatek/mxunzo.atharvatek.com/resources/views/setting/index.blade.php ENDPATH**/ ?>