42 lines
1.5 KiB
PHP
42 lines
1.5 KiB
PHP
|
<div class="row gy-3">
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Name')->class('form-label') }}
|
||
|
{{ html()->text('name')->class('form-control')->placeholder('Category Name') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Department')->class('form-label') }}
|
||
|
{{ html()->select('department_id')->class('form-select select2')->placeholder('Department') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Designation')->class('form-label') }}
|
||
|
{{ html()->select('designation_id')->class('form-select select2')->placeholder('Desgination') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Employee')->class('form-label') }}
|
||
|
{{ html()->select('employee_id')->class('form-select select2')->placeholder('Employee') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Asset')->class('form-label') }}
|
||
|
{{ html()->select('asset_id', $availableAssetLists)->class('form-select select2')->placeholder('Available Asset') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-4 col-md-6">
|
||
|
{{ html()->label('Date')->class('form-label') }}
|
||
|
{{ html()->date('request_date')->class('form-control') }}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-12 col-md-12">
|
||
|
{{ html()->label('Reason')->class('form-label') }}
|
||
|
{{ html()->textarea('reason')->class('form-control')->attributes(['rows' => 3]) }}
|
||
|
</div>
|
||
|
|
||
|
<div class="text-end">
|
||
|
{{ html()->button($editable ? 'Update' : 'Add Demand', 'submit')->class('btn btn-success') }}
|
||
|
</div>
|
||
|
</div>
|