File manager - Edit - /var/www/payraty/hris/resources/views/holiday/create.blade.php
Back
@php $setting = App\Models\Utility::settings(); $plan = App\Models\Plan::first(); @endphp {{ Form::open(['url' => 'holiday', 'method' => 'post', 'class' => 'needs-validation', 'novalidate']) }} <div class="modal-body"> @if (1==2) <div class="card-footer text-end"> <a href="#" class="btn btn-sm btn-primary" data-size="medium" data-ajax-popup-over="true" data-url="{{ route('generate', ['holiday']) }}" data-bs-toggle="tooltip" data-bs-placement="top" title="{{ __('Generate') }}" data-title="{{ __('Generate Content With AI') }}"> <i class="fas fa-robot"></i>{{ __(' Generate With AI') }} </a> </div> @endif <div class="row"> <div class="form-group col-md-12"> {{ Form::label('occasion', __('Occasion'), ['class' => 'col-form-label']) }}<x-required></x-required> {{ Form::text('occasion', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => __('Enter Occasion')]) }} </div> <div class="form-group col-md-6"> {{ Form::label('start_date', __('Start Date'), ['class' => 'col-form-label']) }} {{ Form::date('start_date', null, ['class' => 'form-control current_date', 'autocomplete' => 'off']) }} </div> <div class="form-group col-md-6"> {{ Form::label('end_date', __('End Date'), ['class' => 'col-form-label']) }} {{ Form::date('end_date', null, ['class' => 'form-control current_date', 'autocomplete' => 'off']) }} </div> @if(isset($setting['is_enabled']) && $setting['is_enabled'] =='on') <div class="form-group col-md-6"> {{ Form::label('synchronize_type', __('Synchroniz in Google Calendar ?'), ['class' => 'form-label']) }} <div class=" form-switch"> <input type="checkbox" class="form-check-input mt-2" name="synchronize_type" id="switch-shadow" value="google_calender"> <label class="form-check-label" for="switch-shadow"></label> </div> </div> @endif </div> </div> <div class="modal-footer"> <input type="button" value="Cancel" class="btn btn-light" data-bs-dismiss="modal"> <input type="submit" value="{{ __('Create') }}" class="btn btn-primary"> </div> {{ Form::close() }} <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>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings