ok
Direktori : /home2/selectio/www/fms-worksuite/storage/framework/views/ |
Current File : /home2/selectio/www/fms-worksuite/storage/framework/views/135b10f88f21f0a538a8816bec2b2b9e.php |
<?php $__env->startPush('styles'); ?> <style> ol>li { list-style: unset; } .nav-tabs .nav-link.active { border-bottom: 2px solid var(--header_color) !important; } .nav-tabs .nav-link { border: unset; } </style> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <!-- SETTINGS START --> <div class="w-100 d-flex "> <?php if (isset($component)) { $__componentOriginalde9d36b1eccca15eec00fdb693fa4d2d = $component; } ?> <?php $component = App\View\Components\SettingSidebar::resolve(['activeMenu' => $activeSettingMenu] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('setting-sidebar'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\SettingSidebar::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalde9d36b1eccca15eec00fdb693fa4d2d)): ?> <?php $component = $__componentOriginalde9d36b1eccca15eec00fdb693fa4d2d; ?> <?php unset($__componentOriginalde9d36b1eccca15eec00fdb693fa4d2d); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalcb8848b8ae159c08072bf1971fc3ca1f = $component; } ?> <?php $component = App\View\Components\SettingCard::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('setting-card'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\SettingCard::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->slot('header', null, []); ?> <div class="s-b-n-header" id="tabs"> <nav class="tabs px-4 border-bottom-grey"> <div class="nav" id="nav-tab" role="tablist"> <a class="nav-item nav-link f-15 active type" data-toggle="tab" href="<?php echo e(route('leaves-settings.index')); ?>?tab=type" role="tab" aria-controls="nav-type" aria-selected="true"><?php echo app('translator')->get($pageTitle); ?></a> <a class="nav-item nav-link f-15 general" data-toggle="tab" href="<?php echo e(route('leaves-settings.index')); ?>?tab=general" role="tab" aria-controls="nav-general" aria-selected="false"><?php echo app('translator')->get('app.menu.leaveGeneralSettings'); ?></a> </div> </nav> </div> <?php $__env->endSlot(); ?> <?php $__env->slot('buttons', null, []); ?> <div class="row"> <div class="col-md-12 mb-2"> <?php if (isset($component)) { $__componentOriginalcf8d12533ff890e0d6573daf32b7618d = $component; } ?> <?php $component = App\View\Components\Forms\ButtonPrimary::resolve(['icon' => 'plus'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.button-primary'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Forms\ButtonPrimary::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'addNewLeaveType','class' => 'addNewLeaveType mb-2 actionBtn']); ?> <?php echo app('translator')->get('app.addNew'); ?> <?php echo app('translator')->get('modules.leaves.leaveType'); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d)): ?> <?php $component = $__componentOriginalcf8d12533ff890e0d6573daf32b7618d; ?> <?php unset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d); ?> <?php endif; ?> </div> </div> <?php $__env->endSlot(); ?> <?php echo $__env->make($view, \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcb8848b8ae159c08072bf1971fc3ca1f)): ?> <?php $component = $__componentOriginalcb8848b8ae159c08072bf1971fc3ca1f; ?> <?php unset($__componentOriginalcb8848b8ae159c08072bf1971fc3ca1f); ?> <?php endif; ?> </div> <!-- SETTINGS END --> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts'); ?> <script> $('.nav-item').removeClass('active'); const activeTab = "<?php echo e($activeTab); ?>"; $('.' + activeTab).addClass('active'); showBtn(activeTab); function showBtn(activeTab) { (activeTab == 'general') ? $('.actionBtn').addClass('d-none') : $('.actionBtn').removeClass('d-none') } $("body").on("click", "#editSettings .nav a", function(event) { event.preventDefault(); $('.nav-item').removeClass('active'); $(this).addClass('active'); const requestUrl = this.href; $.easyAjax({ url: requestUrl, blockUI: true, container: "#nav-tabContent", historyPush: true, success: function(response) { if (response.status == "success") { showBtn(response.activeTab); $('#nav-tabContent').html(response.html); init('#nav-tabContent'); } } }); }); $(MODAL_XL).on('shown.bs.modal', function () { $('#page_reload').val('true') }) </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/selectio/public_html/fms-worksuite/resources/views/leave-settings/index.blade.php ENDPATH**/ ?>