33 lines
1.5 KiB
PHP
33 lines
1.5 KiB
PHP
|
<div class="row gy-3">
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Resigner')->class('form-label') }}
|
||
|
{{ html()->select('employee_id', $employeeLists)->class('form-select select2')->placeholder('Resigner')->required() }}
|
||
|
{{ html()->div('Please select Resigner')->class('invalid-feedback') }}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Employee')->class('form-label') }}
|
||
|
{{ html()->select('resignation_type', \Modules\Admin\Models\Resignation::RESIGNATION_TYPE)->class('form-select select2')->placeholder('Resignation Type')->required() }}
|
||
|
{{ html()->div('Please select resignation_type')->class('invalid-feedback') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Resignation Date')->class('form-label') }}
|
||
|
{{ html()->date('resignation_date')->class('form-control')->placeholder('Select Resignation Date')->required() }}
|
||
|
{{ html()->div('Please select resignation_date')->class('invalid-feedback') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-12 col-md-12">
|
||
|
{{ html()->label('Reason')->class('form-label') }}
|
||
|
{{ html()->textarea('description')->class('form-control')->placeholder('Write reason for resgination')->attributes(['rows' => 3]) }}
|
||
|
</div>
|
||
|
|
||
|
<x-form-buttons :editable="$editable" label="Add" href="{{ route('resignation.index') }}" />
|
||
|
</div>
|
||
|
|
||
|
@push('js')
|
||
|
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
|
||
|
@endpush
|