ok
Direktori : /home2/selectio/www/fms-worksuite/storage/framework/views/ |
Current File : /home2/selectio/www/fms-worksuite/storage/framework/views/1b430edd1c11f5575feaefb6efc56d2d.php |
<?php $manageShiftPermission = user()->permission('manage_employee_shifts'); ?> <?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 attendance" href="<?php echo e(route('attendance-settings.index')); ?>?tab=attendance" role="tab" aria-controls="nav-ticketAgents" aria-selected="true"><?php echo app('translator')->get('app.menu.attendanceSettings'); ?> </a> <?php if($manageShiftPermission == 'all'): ?> <a class="nav-item nav-link f-15 shift" href="<?php echo e(route('attendance-settings.index')); ?>?tab=shift" role="tab" aria-controls="nav-ticketTypes" aria-selected="true"><?php echo app('translator')->get('app.menu.employeeShifts'); ?> </a> <?php endif; ?> </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' => 'addEmployeeShift','class' => 'shift-btn mb-2 d-none actionBtn']); ?> <?php echo app('translator')->get('app.addNew'); ?> <?php echo app('translator')->get('modules.attendance.shift'); ?> <?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) { $('.actionBtn').addClass('d-none'); $('.' + activeTab + '-btn').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'); } } }); }); </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/attendance-settings/index.blade.php ENDPATH**/ ?>