New-OMIS/Modules/Leave/resources/views/leave/partials/action.blade.php

35 lines
1.2 KiB
PHP
Raw Normal View History

2024-04-14 12:44:29 +00:00
<div class="row g-2">
<div class="col-md-6">
{{ html()->label('Leave Type')->class('form-label') }}
{{ html()->select('leave_type_id', $leaveTypeList)->class('form-select')->placeholder('Select Leave Type') }}
</div>
2024-04-09 12:15:26 +00:00
2024-04-14 12:44:29 +00:00
<div class="col-md-6">
{{ html()->label('Employee')->class('form-label') }}
{{ html()->select('employee_id', [1 => 'Deepak'])->class('form-select')->placeholder('Select Employee') }}
</div>
2024-04-05 12:11:16 +00:00
2024-04-14 12:44:29 +00:00
<div class="col-md-6">
{{ html()->label('Start Date')->class('form-label') }}
{{ html()->date('start_date')->class('form-control')->placeholder('Select Start Date') }}
</div>
2024-04-05 12:11:16 +00:00
2024-04-14 12:44:29 +00:00
<div class="col-md-6">
{{ html()->label('Start Date')->class('form-label') }}
{{ html()->date('end_date')->class('form-control')->placeholder('Select Start Date') }}
</div>
<div class="col-md-12">
{{ html()->label('Description')->class('form-label') }}
{{ html()->textarea('description')->class('form-control')->placeholder('Write Reason for Leave') }}
</div>
2024-04-05 12:11:16 +00:00
2024-04-14 12:44:29 +00:00
<div class="text-end">
{{ html()->button($editable ? 'Update' : 'Add Leave', 'submit')->class('btn btn-success') }}
</div>
2024-04-04 10:35:27 +00:00
</div>
2024-04-04 16:52:34 +00:00
@push('js')
2024-04-05 12:11:16 +00:00
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
2024-04-04 16:52:34 +00:00
@endpush