first commit

This commit is contained in:
Sampanna Rimal
2024-08-27 17:48:06 +05:45
commit 53c0140f58
10839 changed files with 1125847 additions and 0 deletions

View File

@ -0,0 +1,39 @@
<div class="row gy-3">
<div class="col-lg-4 col-md-6">
{{ html()->label('Asset Category')->class('form-label') }}
{{ html()->select('asset_category_id',$assetCategoryLists)->class('form-select select2')->placeholder('Asset Category Name')->required() }}
{{ html()->div('Please Select Asset Category Name')->class('invalid-feedback') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Asset User (If provided to)')->class('form-label') }}
{{ html()->select('asset_user', $employeeList)->class('form-select select2')->placeholder('Asset User')->required() }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Approved By (If asset user)')->class('form-label') }}
{{ html()->select('approved_by', $employeeList)->class('form-select select2')->placeholder('Approved By') }}
</div>
<div class="col-lg-6 col-md-6">
{{ html()->label('Department')->class('form-label') }}
{{ html()->select('department_id', $departmentList)->class('form-select select2')->placeholder('Department')->required() }}
{{ html()->div('Please Select Department')->class('invalid-feedback') }}
</div>
<div class="col-lg-12 col-md-12">
{{ html()->label('Name')->class('form-label') }}
{{ html()->text('name')->class('form-control')->placeholder('Category Name') }}
</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="text-end">
{{ html()->button($editable ? 'Update' : 'Add Asset Category', 'submit')->class('btn btn-success') }}
</div>
</div>