46 lines
2.0 KiB
PHP
46 lines
2.0 KiB
PHP
<div class="row gy-3">
|
|
|
|
<div class="col-lg-4 col-md-6">
|
|
{{ html()->label('Employee')->class('form-label') }}
|
|
{{ html()->select('employee_id', $employeeLists)->class('form-select select2')->placeholder('Employee')->required() }}
|
|
{{ html()->div('Please select Resigner')->class('invalid-feedback') }}
|
|
</div>
|
|
|
|
<div class="col-lg-4 col-md-6">
|
|
{{ html()->label('Department From')->class('form-label') }}
|
|
{{ html()->select('old_department_id', $departmentLists)->class('form-select select2')->placeholder('Previous Department')->required() }}
|
|
{{ html()->div('Please select Resigner')->class('invalid-feedback') }}
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-lg-4 col-md-6">
|
|
{{ html()->label('Department To')->class('form-label') }}
|
|
{{ html()->select('new_department_id', $departmentLists)->class('form-select select2')->placeholder('New Department')->required() }}
|
|
{{ html()->div('Please select Resigner')->class('invalid-feedback') }}
|
|
</div>
|
|
|
|
<div class="col-lg-4 col-md-6">
|
|
{{ html()->label('Transfer Date')->class('form-label') }}
|
|
{{ html()->date('transfer_date')->class('form-control')->placeholder('Transfer Date')->required() }}
|
|
{{ html()->div('Please select transfer_date')->class('invalid-feedback') }}
|
|
</div>
|
|
|
|
<div class="col-lg-4 col-md-6">
|
|
{{ html()->label('Employee')->class('form-label') }}
|
|
{{ html()->select('transfer_type', \Modules\Admin\Models\Transfer::TRANSFER_TYPE)->class('form-select select2')->placeholder('Transfer Type')->required() }}
|
|
{{ html()->div('Please select transfer_type')->class('invalid-feedback') }}
|
|
</div>
|
|
|
|
<div class="col-lg-12 col-md-12">
|
|
{{ html()->label('Description')->class('form-label') }}
|
|
{{ html()->textarea('description')->class('form-control')->attributes(['rows' => 3]) }}
|
|
</div>
|
|
|
|
<x-form-buttons :editable="$editable" label="Add" href="{{ route('transfer.index') }}" />
|
|
</div>
|
|
|
|
@push('js')
|
|
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
|
|
@endpush
|