StocksNew/Modules/Asset/resources/views/assets/partials/action.blade.php

87 lines
3.4 KiB
PHP
Raw Normal View History

2024-08-27 12:03:06 +00:00
<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') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Name')->class('form-label') }}
{{ html()->text('name')->class('form-control')->placeholder('Asset Name') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Purchased Date')->class('form-label') }}
{{ html()->date('purchased_date')->class('form-control') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Purchased From (If not from supplier)')->class('form-label') }}
{{ html()->text('purchased_from')->class('form-control')->placeholder('Purchased From') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Manufacturer')->class('form-label') }}
{{ html()->text('manufacturer')->class('form-control')->placeholder('Manufacturer Name') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Model')->class('form-label') }}
{{ html()->text('model')->class('form-control')->placeholder('Model Number') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Supplier')->class('form-label') }}
{{ html()->text('supplier')->class('form-control')->placeholder('Supplier Name') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Serial Number')->class('form-label') }}
{{ html()->text('serial_number')->class('form-control')->placeholder('Serial Number') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Value')->class('form-label') }}
{{ html()->text('value')->class('form-control')->placeholder('Asset Value') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Warranty')->class('form-label') }}
{{ html()->text('condition')->class('form-control')->placeholder('Warranty Period') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Condition')->class('form-label') }}
{{ html()->text('condition')->class('form-control')->placeholder('Condition') }}
</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') }}
</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-4 col-md-6">
{{ html()->label('Approved Date (If asset user)')->class('form-label') }}
{{ html()->date('approved_date')->class('form-control') }}
</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 Asset', 'submit')->class('btn btn-success') }}
</div>
</div>