ok
Direktori : /home2/selectio/www/fms-worksuite/storage/framework/views/ |
Current File : /home2/selectio/www/fms-worksuite/storage/framework/views/c30f0a7a7918930fb3109a779ce70e60.php |
<?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"> <h2 class="mb-0 p-20 f-21 font-weight-normal text-capitalize border-bottom-grey"> <?php echo app('translator')->get($pageTitle); ?></h2> </div> <?php $__env->endSlot(); ?> <div class="col-lg-12 col-md-12 ntfcn-tab-content-left w-100 p-4 "> <div class="row"> <div class="col-lg-6 mb-2"> <?php if (isset($component)) { $__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc = $component; } ?> <?php $component = App\View\Components\Forms\ToggleSwitch::resolve(['fieldLabel' => __('modules.logTimeSetting.autoStopTimerAfterOfficeTime'),'fieldName' => '','fieldId' => 'auto_timer_stop','fieldValue' => 'yes','checked' => $logTime->auto_timer_stop == 'yes'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.toggle-switch'); ?> <?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\ToggleSwitch::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($__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc)): ?> <?php $component = $__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc; ?> <?php unset($__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc); ?> <?php endif; ?> </div> <div class="col-lg-6 mb-2"> <?php if (isset($component)) { $__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc = $component; } ?> <?php $component = App\View\Components\Forms\ToggleSwitch::resolve(['fieldLabel' => __('modules.logTimeSetting.approvalRequired'),'fieldName' => '','fieldId' => 'approval_required','fieldValue' => 'true','checked' => $logTime->approval_required] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.toggle-switch'); ?> <?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\ToggleSwitch::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($__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc)): ?> <?php $component = $__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc; ?> <?php unset($__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc); ?> <?php endif; ?> </div> <div class="col-lg-6 mb-2"> <?php if (isset($component)) { $__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc = $component; } ?> <?php $component = App\View\Components\Forms\ToggleSwitch::resolve(['fieldLabel' => __('modules.logTimeSetting.trackerReminder'),'fieldName' => '','fieldId' => 'tracker_reminder','fieldValue' => 'true','checked' => $logTime->tracker_reminder] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.toggle-switch'); ?> <?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\ToggleSwitch::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($__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc)): ?> <?php $component = $__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc; ?> <?php unset($__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc); ?> <?php endif; ?> </div> <div class="col-md-3 col-lg-3 <?php if($logTime->tracker_reminder == 0): ?> d-none <?php endif; ?>" id="timepicker"> <div class="bootstrap-timepicker timepicker"> <?php if (isset($component)) { $__componentOriginal4e45e801405ab67097982370a6a83cba = $component; } ?> <?php $component = App\View\Components\Forms\Text::resolve(['fieldLabel' => __('app.time'),'fieldPlaceholder' => __('placeholders.hours'),'fieldName' => '','fieldId' => 'time','fieldRequired' => 'true','fieldValue' => $time] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.text'); ?> <?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\Text::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($__componentOriginal4e45e801405ab67097982370a6a83cba)): ?> <?php $component = $__componentOriginal4e45e801405ab67097982370a6a83cba; ?> <?php unset($__componentOriginal4e45e801405ab67097982370a6a83cba); ?> <?php endif; ?> </div> </div> <div class="col-lg-6 mb-2"> <?php if (isset($component)) { $__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc = $component; } ?> <?php $component = App\View\Components\Forms\ToggleSwitch::resolve(['fieldLabel' => __('modules.logTimeSetting.dailyTimelogReport'),'fieldName' => '','fieldId' => 'timelog_report','fieldValue' => 'true','checked' => $logTime->timelog_report] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.toggle-switch'); ?> <?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\ToggleSwitch::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($__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc)): ?> <?php $component = $__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc; ?> <?php unset($__componentOriginal32ac71f8f6fe4764d54a65ca726f9ffc); ?> <?php endif; ?> </div> <div class="col-lg-12 <?php if($logTime->timelog_report == 0): ?> d-none <?php endif; ?> " id="daily-report-roles"> <?php if (isset($component)) { $__componentOriginal67cd5dc9866c6185ad92d933c387fa86 = $component; } ?> <?php $component = App\View\Components\Forms\Select::resolve(['fieldLabel' => __('modules.attendance.chooseRoleReport'),'fieldName' => 'daily_report_roles[]','fieldId' => 'daily_report_roles','fieldRequired' => 'true','multiple' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.select'); ?> <?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\Select::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option <?php if(is_array($dailyReportRoles) && in_array($item->id, $dailyReportRoles)): ?> selected <?php endif; ?> value="<?php echo e($item->id); ?>"><?php echo e($item->display_name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal67cd5dc9866c6185ad92d933c387fa86)): ?> <?php $component = $__componentOriginal67cd5dc9866c6185ad92d933c387fa86; ?> <?php unset($__componentOriginal67cd5dc9866c6185ad92d933c387fa86); ?> <?php endif; ?> </div> </div> </div> <?php $__env->slot('action', null, []); ?> <!-- Buttons Start --> <div class="w-100 border-top-grey"> <?php if (isset($component)) { $__componentOriginal22960d0612890da31753448e47f28003 = $component; } ?> <?php $component = App\View\Components\SettingFormActions::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('setting-form-actions'); ?> <?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\SettingFormActions::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php if (isset($component)) { $__componentOriginalcf8d12533ff890e0d6573daf32b7618d = $component; } ?> <?php $component = App\View\Components\Forms\ButtonPrimary::resolve(['icon' => 'check'] + (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' => 'save-form','class' => 'mr-3']); ?><?php echo app('translator')->get('app.save'); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d)): ?> <?php $component = $__componentOriginalcf8d12533ff890e0d6573daf32b7618d; ?> <?php unset($__componentOriginalcf8d12533ff890e0d6573daf32b7618d); ?> <?php endif; ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal22960d0612890da31753448e47f28003)): ?> <?php $component = $__componentOriginal22960d0612890da31753448e47f28003; ?> <?php unset($__componentOriginal22960d0612890da31753448e47f28003); ?> <?php endif; ?> </div> <!-- Buttons End --> <?php $__env->endSlot(); ?> <?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> $('#save-form').click(function() { var auto_timer_stop = 'no'; var approval_required = 0; var tracker_reminder = 0; var timelog_report = 0; if ($('#auto_timer_stop').prop("checked") == true) { auto_timer_stop = 'yes'; } if ($('#approval_required').prop("checked") == true) { approval_required = 1; } if ($('#tracker_reminder').prop("checked") == true) { tracker_reminder = 1; } if ($('#timelog_report').prop("checked") == true) { timelog_report = 1; } var dailyReport = $('#daily-report-roles option:selected').map(function(){ return this.value; }).get(); var time = $('#time').val(); $.easyAjax({ url: "<?php echo e(route('timelog-settings.store')); ?>", blockUI: true, type: "POST", data: { 'auto_timer_stop': auto_timer_stop, 'approval_required': approval_required, 'tracker_reminder': tracker_reminder, 'timelog_report': timelog_report, 'daily_report_roles' : dailyReport, 'time': time, '_token': "<?php echo e(csrf_token()); ?>" } }) }); $('#time').timepicker({ <?php if(company()->time_format == 'H:i'): ?> showMeridian: false, <?php endif; ?> }); $('#tracker_reminder').change(function() { $('#timepicker').toggleClass('d-none'); }); $('#timelog_report').click(function() { $('#daily-report-roles').toggleClass('d-none'); }); </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/log-time-settings/index.blade.php ENDPATH**/ ?>