New-OMIS/Modules/Admin/resources/views/partials/transfers/action.blade.php

38 lines
1.4 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')->class('form-select')->placeholder('Select Employee') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Department From')->class('form-label') }}
{{ html()->select('old_department_id')->class('form-select')->placeholder('Select Previous Department') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Department To')->class('form-label') }}
{{ html()->select('new_department_id')->class('form-select')->placeholder('Select New Department') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Transfer Date')->class('form-label') }}
{{ html()->date('transfer_date')->class('form-control')->placeholder('Select Transfer Date') }}
</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>
<div class="col-lg-12 col-md-12">
{{ html()->label('Remarks')->class('form-label') }}
{{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
</div>
<div class="text-end">
{{ html()->button($editable ? 'Update' : 'Add Transfer', 'submit')->class('btn btn-success') }}
</div>
</div>