ok
Direktori : /home2/selectio/www/fms-worksuite/storage/framework/views/ |
Current File : /home2/selectio/www/fms-worksuite/storage/framework/views/8bfbed21e1e3e751f7ea3c97d951fc90.php |
<link rel="stylesheet" href="<?php echo e(asset('vendor/css/bootstrap-colorpicker.css')); ?>" /> <div class="modal-header"> <h5 class="modal-title"><?php echo app('translator')->get('app.addNew'); ?> <?php echo app('translator')->get('modules.leaves.leaveType'); ?></h5> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> </div> <div class="modal-body"> <div class="portlet-body"> <?php if (isset($component)) { $__componentOriginal18ad2e0d264f9740dc73fff715357c28 = $component; } ?> <?php $component = App\View\Components\Form::resolve(['method' => 'POST'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('form'); ?> <?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\Form::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'createLeave','class' => 'ajax-form']); ?> <div class="tabs border-bottom-grey"> <div class="nav" id="nav-tab"> <a class="nav-item nav-link f-15 type active" data-toggle="tab" href="#personal" role="tab" aria-controls="nav-type" aria-selected="true"><?php echo app('translator')->get('app.general'); ?></a> <a class="nav-item nav-link f-15 type" data-toggle="tab" href="#promotion" role="tab" aria-controls="nav-type" aria-selected="true"><?php echo app('translator')->get('modules.leaves.entitlement'); ?></a> <a class="nav-item nav-link f-15 type" data-toggle="tab" href="#vacation" role="tab" aria-controls="nav-type" aria-selected="true"><?php echo app('translator')->get('modules.leaves.applicability'); ?></a> </div> </div> <div class="tab-content" id="tab-content"> <div class="tab-pane active" id="personal"> <input type="hidden" value="true" name="page_reload" id="page_reload"> <h3 class="heading-h3 mt-4"><?php echo app('translator')->get('app.general'); ?></h3> <div class="row"> <div class="col-lg-4"> <?php if (isset($component)) { $__componentOriginal4e45e801405ab67097982370a6a83cba = $component; } ?> <?php $component = App\View\Components\Forms\Text::resolve(['fieldLabel' => __('modules.leaves.leaveType'),'fieldPlaceholder' => __('placeholders.leaveType'),'fieldName' => 'type_name','fieldId' => 'type_name','fieldValue' => '','fieldRequired' => true] + (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 class="col-lg-4"> <?php if (isset($component)) { $__componentOriginal67cd5dc9866c6185ad92d933c387fa86 = $component; } ?> <?php $component = App\View\Components\Forms\Select::resolve(['fieldId' => 'paid','fieldLabel' => __('modules.leaves.leavePaidStatus'),'fieldName' => 'paid','search' => 'true','popover' => __('messages.leave.paidStatus')] + (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([]); ?> <option value="1"><?php echo app('translator')->get('app.paid'); ?></option> <option value="0"><?php echo app('translator')->get('app.unpaid'); ?></option> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal67cd5dc9866c6185ad92d933c387fa86)): ?> <?php $component = $__componentOriginal67cd5dc9866c6185ad92d933c387fa86; ?> <?php unset($__componentOriginal67cd5dc9866c6185ad92d933c387fa86); ?> <?php endif; ?> </div> <div class="col-lg-4"> <?php if (isset($component)) { $__componentOriginal1fded940a0a5d34bf1b88a1f45916593 = $component; } ?> <?php $component = App\View\Components\Forms\Number::resolve(['fieldLabel' => __('modules.leaves.noOfLeaves'),'fieldName' => 'leave_number','fieldId' => 'leave_number','fieldValue' => '0','fieldRequired' => 'true','minValue' => '0','popover' => __('messages.leave.noOfLeaves')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.number'); ?> <?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\Number::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($__componentOriginal1fded940a0a5d34bf1b88a1f45916593)): ?> <?php $component = $__componentOriginal1fded940a0a5d34bf1b88a1f45916593; ?> <?php unset($__componentOriginal1fded940a0a5d34bf1b88a1f45916593); ?> <?php endif; ?> </div> <div class="col-lg-4"> <?php if (isset($component)) { $__componentOriginal1fded940a0a5d34bf1b88a1f45916593 = $component; } ?> <?php $component = App\View\Components\Forms\Number::resolve(['fieldLabel' => __('modules.leaves.monthLimit'),'fieldName' => 'monthly_limit','fieldId' => 'monthly_limit','fieldValue' => '0','fieldRequired' => 'true','fieldHelp' => __('modules.leaves.monthLimitInfo'),'minValue' => '0','popover' => __('messages.leave.monthlyLimit')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.number'); ?> <?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\Number::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($__componentOriginal1fded940a0a5d34bf1b88a1f45916593)): ?> <?php $component = $__componentOriginal1fded940a0a5d34bf1b88a1f45916593; ?> <?php unset($__componentOriginal1fded940a0a5d34bf1b88a1f45916593); ?> <?php endif; ?> </div> <div class="col-lg-4"> <div class="form-group my-3"> <?php if (isset($component)) { $__componentOriginal89b295b0763c93abe0143426334eb5d6 = $component; } ?> <?php $component = App\View\Components\Forms\Label::resolve(['fieldId' => 'colorselector','fieldRequired' => 'true','fieldLabel' => __('modules.sticky.colors')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.label'); ?> <?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\Label::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($__componentOriginal89b295b0763c93abe0143426334eb5d6)): ?> <?php $component = $__componentOriginal89b295b0763c93abe0143426334eb5d6; ?> <?php unset($__componentOriginal89b295b0763c93abe0143426334eb5d6); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7 = $component; } ?> <?php $component = App\View\Components\Forms\InputGroup::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.input-group'); ?> <?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\InputGroup::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['id' => 'colorpicker']); ?> <input type="text" class="form-control height-35 f-14" placeholder="<?php echo e(__('placeholders.colorPicker')); ?>" name="color" id="colorselector"> <?php $__env->slot('append', null, []); ?> <span class="input-group-text height-35 colorpicker-input-addon"><i></i></span> <?php $__env->endSlot(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7)): ?> <?php $component = $__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7; ?> <?php unset($__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7); ?> <?php endif; ?> </div> </div> </div> </div> <div class="tab-pane" id="promotion"> <h3 class="heading-h3 mt-4"><?php echo app('translator')->get('modules.leaves.entitlement'); ?></h3> <div class="row"> <div class="col-lg-6"> <div class="form-group my-3"> <div class="d-flex align-items-center"> <label class="f-14 text-dark-grey mb-12 mt-2 mr-1"><?php echo app('translator')->get('modules.leaves.effectiveAfter'); ?></label> <i class="fa fa-question-circle text-dark-grey" data-toggle="popover" data-placement="top" data-html="true" data-content="<?php echo e(__('messages.leave.effectiveAfter')); ?>" data-trigger="hover"></i> <div class="col-md-4 ml-2"> <?php if (isset($component)) { $__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7 = $component; } ?> <?php $component = App\View\Components\Forms\InputGroup::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.input-group'); ?> <?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\InputGroup::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <input type="number" class="form-control height-35 f-14" name="effective_after" id="effective_after" min="0"> <?php $__env->slot('append', null, []); ?> <select name="effective_type" class="select-picker form-control"> <option value="day"><?php echo app('translator')->get('app.day'); ?></option> <option value="month"><?php echo app('translator')->get('app.month'); ?></option> </select> <?php $__env->endSlot(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7)): ?> <?php $component = $__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7; ?> <?php unset($__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7); ?> <?php endif; ?> </div> <label class="f-14 text-dark-grey mb-12 mt-2"><?php echo app('translator')->get('modules.leaves.ofJoining'); ?></label> </div> </div> </div> <div class="col-lg-4"> <div class="form-group"> <div class="d-flex mt-3"> <?php if (isset($component)) { $__componentOriginal9c5d7e5b2e4b8b16cfa941b5e69189f3 = $component; } ?> <?php $component = App\View\Components\Forms\Checkbox::resolve(['fieldLabel' => __('modules.leaves.allowedProbation'),'fieldName' => 'allowed_probation','fieldId' => 'allowed_probation','checked' => 'true','fieldValue' => '1','popover' => __('messages.leave.allowedProbation')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.checkbox'); ?> <?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\Checkbox::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['fieldRequired' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal9c5d7e5b2e4b8b16cfa941b5e69189f3)): ?> <?php $component = $__componentOriginal9c5d7e5b2e4b8b16cfa941b5e69189f3; ?> <?php unset($__componentOriginal9c5d7e5b2e4b8b16cfa941b5e69189f3); ?> <?php endif; ?> </div> </div> </div> <div class="col-lg-6"> <div class="form-group my-3"> <div class="d-flex align-items-center"> <label class="f-14 mb-12 mt-2 text-dark-grey mr-1"><?php echo app('translator')->get('modules.leaves.unusedLeaves'); ?></label> <i class="fa fa-question-circle text-dark-grey" data-toggle="popover" data-placement="top" data-html="true" data-content="<?php echo e(__('messages.leave.unusedLeave')); ?>" data-trigger="hover"></i> <div class="col-md-4"> <?php if (isset($component)) { $__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7 = $component; } ?> <?php $component = App\View\Components\Forms\InputGroup::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.input-group'); ?> <?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\InputGroup::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <select name="unused_leave" class="select-picker form-control"> <option value="carry forward"><?php echo app('translator')->get('modules.leaves.carryForward'); ?></option> <option value="lapse"><?php echo app('translator')->get('modules.leaves.lapse'); ?></option> <option value="paid"><?php echo app('translator')->get('app.paid'); ?></option> </select> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7)): ?> <?php $component = $__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7; ?> <?php unset($__componentOriginalcbf9105fd4879d5d6ef9e1f6fe271af7); ?> <?php endif; ?> </div> </div> </div> </div> <div class="col-lg-4"> <div class="form-group"> <div class="d-flex mt-3"> <?php if (isset($component)) { $__componentOriginal9c5d7e5b2e4b8b16cfa941b5e69189f3 = $component; } ?> <?php $component = App\View\Components\Forms\Checkbox::resolve(['fieldLabel' => __('modules.leaves.allowedNotice'),'fieldName' => 'allowed_notice','fieldId' => 'allowed_notice','checked' => 'true','fieldValue' => '1','popover' => __('messages.leave.allowedNotice')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.checkbox'); ?> <?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\Checkbox::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['fieldRequired' => 'true']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal9c5d7e5b2e4b8b16cfa941b5e69189f3)): ?> <?php $component = $__componentOriginal9c5d7e5b2e4b8b16cfa941b5e69189f3; ?> <?php unset($__componentOriginal9c5d7e5b2e4b8b16cfa941b5e69189f3); ?> <?php endif; ?> </div> </div> </div> </div> </div> <div class="tab-pane" id="vacation"> <h3 class="heading-h3 mt-4"><?php echo app('translator')->get('modules.leaves.applicability'); ?></h3> <div class="row"> <div class="col-lg-4"> <div class="form-group my-3"> <?php if (isset($component)) { $__componentOriginal89b295b0763c93abe0143426334eb5d6 = $component; } ?> <?php $component = App\View\Components\Forms\Label::resolve(['fieldId' => 'gender','fieldLabel' => __('modules.employees.gender'),'fieldRequired' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.label'); ?> <?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\Label::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($__componentOriginal89b295b0763c93abe0143426334eb5d6)): ?> <?php $component = $__componentOriginal89b295b0763c93abe0143426334eb5d6; ?> <?php unset($__componentOriginal89b295b0763c93abe0143426334eb5d6); ?> <?php endif; ?> <i class="fa fa-question-circle text-dark-grey" data-toggle="popover" data-placement="top" data-html="true" data-content="<?php echo e(__('messages.leave.gender')); ?>" data-trigger="hover"></i> <select class="form-control multiple-option" multiple name="gender[]" id="gender" data-live-search="true" data-size="8"> <option value="male" selected><?php echo app('translator')->get('app.male'); ?></option> <option value="female" selected><?php echo app('translator')->get('app.female'); ?></option> <option value="others" selected><?php echo app('translator')->get('app.others'); ?></option> </select> </div> </div> <div class="col-lg-4"> <div class="form-group my-3"> <?php if (isset($component)) { $__componentOriginal89b295b0763c93abe0143426334eb5d6 = $component; } ?> <?php $component = App\View\Components\Forms\Label::resolve(['fieldId' => 'marital_status','fieldLabel' => __('modules.employees.maritalStatus'),'fieldRequired' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.label'); ?> <?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\Label::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($__componentOriginal89b295b0763c93abe0143426334eb5d6)): ?> <?php $component = $__componentOriginal89b295b0763c93abe0143426334eb5d6; ?> <?php unset($__componentOriginal89b295b0763c93abe0143426334eb5d6); ?> <?php endif; ?> <i class="fa fa-question-circle text-dark-grey" data-toggle="popover" data-placement="top" data-html="true" data-content="<?php echo e(__('messages.leave.maritalStatus')); ?>" data-trigger="hover"></i> <select class="form-control multiple-option" multiple name="marital_status[]" id="marital_status" data-live-search="true" data-size="8"> <option value="married" selected><?php echo app('translator')->get('modules.leaves.married'); ?></option> <option value="unmarried" selected><?php echo app('translator')->get('modules.leaves.unmarried'); ?></option> </select> </div> </div> <div class="col-lg-4"> <div class="form-group my-3"> <?php if (isset($component)) { $__componentOriginal89b295b0763c93abe0143426334eb5d6 = $component; } ?> <?php $component = App\View\Components\Forms\Label::resolve(['fieldId' => 'department','fieldLabel' => __('app.department'),'fieldRequired' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.label'); ?> <?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\Label::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($__componentOriginal89b295b0763c93abe0143426334eb5d6)): ?> <?php $component = $__componentOriginal89b295b0763c93abe0143426334eb5d6; ?> <?php unset($__componentOriginal89b295b0763c93abe0143426334eb5d6); ?> <?php endif; ?> <i class="fa fa-question-circle text-dark-grey" data-toggle="popover" data-placement="top" data-html="true" data-content="<?php echo e(__('messages.leave.department')); ?>" data-trigger="hover"></i> <select class="form-control multiple-option" multiple name="department[]" id="department" data-live-search="true" data-size="8"> <?php $__currentLoopData = $teams; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $team): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($team->id); ?>" selected><?php echo e($team->team_name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-lg-4"> <div class="form-group my-3"> <?php if (isset($component)) { $__componentOriginal89b295b0763c93abe0143426334eb5d6 = $component; } ?> <?php $component = App\View\Components\Forms\Label::resolve(['fieldId' => 'designation','fieldLabel' => __('app.designation'),'fieldRequired' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.label'); ?> <?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\Label::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($__componentOriginal89b295b0763c93abe0143426334eb5d6)): ?> <?php $component = $__componentOriginal89b295b0763c93abe0143426334eb5d6; ?> <?php unset($__componentOriginal89b295b0763c93abe0143426334eb5d6); ?> <?php endif; ?> <i class="fa fa-question-circle text-dark-grey" data-toggle="popover" data-placement="top" data-html="true" data-content="<?php echo e(__('messages.leave.designation')); ?>" data-trigger="hover"></i> <select class="form-control multiple-option" multiple name="designation[]" id="designation" data-live-search="true" data-size="8"> <?php $__currentLoopData = $designations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $designation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($designation->id); ?>" selected><?php echo e($designation->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="col-lg-4"> <div class="form-group my-3"> <?php if (isset($component)) { $__componentOriginal89b295b0763c93abe0143426334eb5d6 = $component; } ?> <?php $component = App\View\Components\Forms\Label::resolve(['fieldId' => 'role','fieldLabel' => __('app.role'),'fieldRequired' => 'true'] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.label'); ?> <?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\Label::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($__componentOriginal89b295b0763c93abe0143426334eb5d6)): ?> <?php $component = $__componentOriginal89b295b0763c93abe0143426334eb5d6; ?> <?php unset($__componentOriginal89b295b0763c93abe0143426334eb5d6); ?> <?php endif; ?> <i class="fa fa-question-circle text-dark-grey" data-toggle="popover" data-placement="top" data-html="true" data-content="<?php echo e(__('messages.leave.role')); ?>" data-trigger="hover"></i> <select class="form-control multiple-option" multiple name="role[]" id="role" data-live-search="true" data-size="8"> <?php $__currentLoopData = $roles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $roles): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($roles->id); ?>" selected><?php echo e($roles->display_name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> </div> </div> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginal18ad2e0d264f9740dc73fff715357c28)): ?> <?php $component = $__componentOriginal18ad2e0d264f9740dc73fff715357c28; ?> <?php unset($__componentOriginal18ad2e0d264f9740dc73fff715357c28); ?> <?php endif; ?> </div> </div> <div class="modal-footer"> <?php if (isset($component)) { $__componentOriginalc35c79ed7e812580313ad04118477974 = $component; } ?> <?php $component = App\View\Components\Forms\ButtonCancel::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('forms.button-cancel'); ?> <?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\ButtonCancel::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['data-dismiss' => 'modal','class' => 'border-0 mr-3']); ?><?php echo app('translator')->get('app.cancel'); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__componentOriginalc35c79ed7e812580313ad04118477974)): ?> <?php $component = $__componentOriginalc35c79ed7e812580313ad04118477974; ?> <?php unset($__componentOriginalc35c79ed7e812580313ad04118477974); ?> <?php endif; ?> <?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-leave-setting']); ?><?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; ?> </div> <script src="<?php echo e(asset('vendor/jquery/bootstrap-colorpicker.js')); ?>"></script> <script> $(document).ready(function () { setTimeout(function () { $('[data-toggle="popover"]').popover(); }, 500); }); $(".select-picker").selectpicker(); $('#colorpicker').colorpicker({ "color": "#16813D" }); $(".multiple-option").selectpicker({ actionsBox: true, selectAllText: "<?php echo e(__('modules.permission.selectAll')); ?>", deselectAllText: "<?php echo e(__('modules.permission.deselectAll')); ?>", multipleSeparator: ", ", selectedTextFormat: "count > 8", countSelectedText: function(selected, total) { return selected + " <?php echo e(__('app.membersSelected')); ?> "; } }); $('#save-leave-setting').click(function() { $.easyAjax({ container: '#createLeave', type: "POST", disableButton: true, blockUI: true, buttonSelector: "#save-leave-setting", errorPosition: 'inline', url: "<?php echo e(route('leaveType.store')); ?>", data: $('#createLeave').serialize(), success: function(response) { if (response.status == 'success') { if (response.page_reload == 'true') { window.location.reload(); } else { $('#leave_type_id').html(response.data); $('#leave_type_id').selectpicker('refresh'); $(MODAL_XL).modal('hide'); } } } }) }); </script> <?php /**PATH /home2/selectio/public_html/fms-worksuite/resources/views/leave-settings/create-leave-setting-type-modal.blade.php ENDPATH**/ ?>