File manager - Edit - /var/www/payraty/hris/storage/framework/views/934ffc229ad2a797faacec25ffcbb50d.php
Back
<?php $plan = App\Models\Plan::first(); ?> <?php $__env->startSection('page-title'); ?> <?php echo e(__('Create Job')); ?> <?php $__env->stopSection(); ?> <?php $__env->startPush('css-page'); ?> <link href="<?php echo e(asset('public/libs/bootstrap-tagsinput/dist/bootstrap-tagsinput.css')); ?>" rel="stylesheet" /> <link rel="stylesheet" href="<?php echo e(asset('css/summernote/summernote-bs4.css')); ?>"> <?php $__env->stopPush(); ?> <?php $__env->startPush('script-page'); ?> <script src="<?php echo e(asset('public/libs/bootstrap-tagsinput/dist/bootstrap-tagsinput.min.js')); ?>"></script> <script> var e = $('[data-toggle="tags"]'); e.length && e.each(function() { $(this).tagsinput({ tagClass: "badge badge-primary" }) }); </script> <script src="<?php echo e(asset('css/summernote/summernote-bs4.js')); ?>"></script> <?php $__env->stopPush(); ?> <?php $__env->startSection('breadcrumb'); ?> <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('Home')); ?></a></li> <li class="breadcrumb-item"><a href="<?php echo e(route('job.index')); ?>"><?php echo e(__('Manage Job')); ?></a></li> <li class="breadcrumb-item"><?php echo e(__('Create Job')); ?></li> <?php $__env->stopSection(); ?> <?php $__env->startSection('action-button'); ?> <?php if(1==2): ?> <div class="text-end"> <a href="#" class="btn btn-sm btn-primary" data-size="medium" data-ajax-popup-over="true" data-url="<?php echo e(route('generate', ['job'])); ?>" data-bs-toggle="tooltip" data-bs-placement="top" title="<?php echo e(__('Generate')); ?>" data-title="<?php echo e(__('Generate Content With AI')); ?>"> <i class="fas fa-robot"></i><?php echo e(__(' Generate With AI')); ?> </a> </div> <?php endif; ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <?php echo e(Form::open(['url' => 'job', 'method' => 'post', 'class' => 'needs-validation', 'novalidate'])); ?> <div class="row"> <div class="col-md-6 "> <div class="card card-fluid job-card"> <div class="card-body "> <div class="row"> <div class="form-group col-md-12"> <?php echo Form::label('title', __('Job Title'), ['class' => 'col-form-label']); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php echo Form::text('title', old('title'), [ 'class' => 'form-control', 'required' => 'required', 'placeholder' => __('Enter job title'), ]); ?> </div> <div class="form-group col-md-6"> <?php echo Form::label('branch', __('Branch'), ['class' => 'col-form-label']); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php echo e(Form::select('branch', $branches, null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => __('Select Branch')])); ?> </div> <div class="form-group col-md-6"> <?php echo Form::label('category', __('Job Category'), ['class' => 'col-form-label']); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php echo e(Form::select('category', $categories, null, ['class' => 'form-control', 'required' => 'required'])); ?> </div> <div class="form-group col-md-6"> <?php echo Form::label('position', __('No. of Positions'), ['class' => 'col-form-label']); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php echo Form::number('position', old('positions'), [ 'class' => 'form-control', 'required' => 'required', 'placeholder' => __('Enter job Positions'), ]); ?> </div> <div class="form-group col-md-6"> <?php echo Form::label('status', __('Status'), ['class' => 'col-form-label']); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php echo e(Form::select('status', $status, null, ['class' => 'form-control', 'required' => 'required'])); ?> </div> <div class="form-group col-md-6"> <?php echo Form::label('start_date', __('Start Date'), ['class' => 'col-form-label']); ?> <?php echo Form::date('start_date', old('start_date'), [ 'class' => 'form-control current_date', 'autocomplete' => 'off', ]); ?> </div> <div class="form-group col-md-6"> <?php echo Form::label('end_date', __('End Date'), ['class' => 'col-form-label']); ?> <?php echo Form::date('end_date', old('end_date'), ['class' => 'form-control current_date', 'autocomplete' => 'off']); ?> </div> <div class="form-group col-md-12"> <label class="col-form-label" for="skill"><?php echo e(__('Skill Box')); ?></label><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <input type="text" class="form-control" value="" data-toggle="tags" name="skill" placeholder="Skill" required /> </div> </div> </div> </div> </div> <div class="col-md-6 "> <div class="card card-fluid job-card" style="height: 567px;"> <div class="card-body "> <div class="row"> <div class="col-md-6"> <div class="form-group"> <h6><?php echo e(__('Need to Ask ?')); ?></h6> <div class="my-4"> <div class="form-check custom-checkbox"> <input type="checkbox" class="form-check-input" name="applicant[]" value="gender" id="check-gender"> <label class="form-check-label" for="check-gender"><?php echo e(__('Gender')); ?> </label> </div> <div class="form-check custom-checkbox"> <input type="checkbox" class="form-check-input" name="applicant[]" value="dob" id="check-dob"> <label class="form-check-label" for="check-dob"><?php echo e(__('Date Of Birth')); ?></label> </div> <div class="form-check custom-checkbox"> <input type="checkbox" class="form-check-input" name="applicant[]" value="address" id="check-address"> <label class="form-check-label" for="check-address"><?php echo e(__('Address')); ?></label> </div> </div> </div> </div> <div class="col-md-6"> <div class="form-group"> <h6><?php echo e(__('Need to show Option ?')); ?></h6> <div class="my-4"> <div class="form-check custom-checkbox"> <input type="checkbox" class="form-check-input" name="visibility[]" value="profile" id="check-profile"> <label class="form-check-label" for="check-profile"><?php echo e(__('Profile Image')); ?> </label> </div> <div class="form-check custom-checkbox"> <input type="checkbox" class="form-check-input" name="visibility[]" value="resume" id="check-resume"> <label class="form-check-label" for="check-resume"><?php echo e(__('Resume')); ?></label> </div> <div class="form-check custom-checkbox"> <input type="checkbox" class="form-check-input" name="visibility[]" value="letter" id="check-letter"> <label class="form-check-label" for="check-letter"><?php echo e(__('Cover Letter')); ?></label> </div> <div class="form-check custom-checkbox"> <input type="checkbox" class="form-check-input" name="visibility[]" value="terms" id="check-terms"> <label class="form-check-label" for="check-terms"><?php echo e(__('Terms And Conditions')); ?></label> </div> </div> </div> </div> <div class="form-group col-md-12"> <h6><?php echo e(__('Custom Questions')); ?></h6> <div class="my-4"> <?php $__currentLoopData = $customQuestion; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $question): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="form-check custom-checkbox"> <input type="checkbox" class="form-check-input" name="custom_question[]" value="<?php echo e($question->id); ?>" <?php if($question->is_required == 'yes'): ?> required <?php endif; ?> id="custom_question_<?php echo e($question->id); ?>"> <label class="form-check-label" for="custom_question_<?php echo e($question->id); ?>"><?php echo e($question->question); ?> <?php if($question->is_required == 'yes'): ?> <?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php endif; ?> </label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> </div> </div> <div class="col-md-6"> <div class="card card-fluid job-card"> <div class="card-body "> <div class="row"> <div class="form-group col-md-12"> <?php echo Form::label('description', __('Job Description'), ['class' => 'col-form-label']); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <textarea class="form-control summernote-simple-2" name="description" id="exampleFormControlTextarea1" rows="15"></textarea> </div> </div> </div> </div> </div> <div class="col-md-6"> <div class="card card-fluid job-card"> <div class="card-body"> <div class="text-end"> </div> <div class="row"> <div class="form-group col-md-12"> <?php echo Form::label('requirement', __('Job Requirement'), ['class' => 'col-form-label']); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if(1==2): ?> <a href="#" data-size="md" class="btn btn-primary btn-icon btn-sm float-end" data-ajax-popup-over="true" id="grammarCheck" data-url="<?php echo e(route('grammar', ['grammar'])); ?>" data-bs-placement="top" data-title="<?php echo e(__('Grammar check with AI')); ?>"> <i class="ti ti-rotate"></i> <span><?php echo e(__('Grammar check with AI')); ?></span> </a> <?php endif; ?> <textarea class="form-control summernote-simple" name="requirement" id="exampleFormControlTextarea2" rows="15"></textarea> </div> </div> </div> </div> </div> <div class="col-md-12" id="termsandcondition"> <div class="card card-fluid job-card"> <div class="card-body "> <div class="row"> <div class="form-group col-md-12"> <?php echo Form::label('terms_and_conditions', __('Terms And Conditions'), ['class' => 'col-form-label']); ?><?php if (isset($component)) { $__componentOriginaleab1765d328ab3f8835fc5d78676a070 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaleab1765d328ab3f8835fc5d78676a070 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.required','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('required'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $attributes = $__attributesOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__attributesOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <?php if (isset($__componentOriginaleab1765d328ab3f8835fc5d78676a070)): ?> <?php $component = $__componentOriginaleab1765d328ab3f8835fc5d78676a070; ?> <?php unset($__componentOriginaleab1765d328ab3f8835fc5d78676a070); ?> <?php endif; ?> <textarea class="form-control summernote-simple-3" name="terms_and_conditions" id="exampleFormControlTextarea3" rows="15"></textarea> </div> </div> </div> </div> </div> <div class="col-md-12 text-end"> <a class="btn btn-secondary btn-submit" href="<?php echo e(route('job.index')); ?>"><?php echo e(__('Cancel')); ?></a> <button class="btn btn-primary btn-submit ms-1" type="submit" id="submit"><?php echo e(__('Create')); ?></button> </div> <?php echo e(Form::close()); ?> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('script-page'); ?> <script> $(document).ready(function() { var now = new Date(); var month = (now.getMonth() + 1); var day = now.getDate(); if (month < 10) month = "0" + month; if (day < 10) day = "0" + day; var today = now.getFullYear() + '-' + month + '-' + day; $('.current_date').val(today); }); </script> <script> $(document).ready(function() { // Get the checkbox element var checkbox = $('#check-terms'); // Get the div containing the terms and conditions textarea var termsDiv = $('#termsandcondition'); // Add change event listener to the checkbox checkbox.change(function() { // If checkbox is checked, show the terms and conditions div if (checkbox.is(':checked')) { termsDiv.show(); } else { // If checkbox is unchecked, hide the terms and conditions div termsDiv.hide(); } }); // Initially hide the terms and conditions div if checkbox is not checked if (!checkbox.is(':checked')) { termsDiv.hide(); } }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/payraty/hris/resources/views/job/create.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings