{!! Form::label('item_category_id', __('messages.item_stock.item_category').':', ['class' => 'form-label required fs-6 fw-bolder text-gray-700 mb-3']) !!} {{ Form::select('item_category_id', $itemCategories, $itemStock->item_category_id, ['id' => 'itemCategory','class' => 'form-select form-select-solid','required','placeholder' => 'Select Item Category', 'data-control' => 'select2']) }}
{!! Form::label('item_id', __('messages.item_stock.item').':', ['class' => 'form-label required fs-6 fw-bolder text-gray-700 mb-3']) !!} {{ Form::select('item_id', [null], $itemStock->item_id, ['id' => 'items','class' => 'form-select form-select-solid', 'required', 'disabled', 'placeholder' => 'Select Item']) }}
{!! Form::label('supplier_name', __('messages.item_stock.supplier_name').':', ['class' => 'form-label fs-6 fw-bolder text-gray-700 mb-3']) !!} {!! Form::text('supplier_name', null, ['id'=>'supplierName','class' => 'form-control form-control-solid']) !!}
{!! Form::label('store_name', __('messages.item_stock.store_name').':', ['class' => 'form-label fs-6 fw-bolder text-gray-700 mb-3']) !!} {!! Form::text('store_name', null, ['id'=>'storeName','class' => 'form-control form-control-solid']) !!}
{!! Form::label('quantity', __('messages.item_stock.quantity').':', ['class' => 'form-label required fs-6 fw-bolder text-gray-700 mb-3']) !!} {!! Form::text('quantity', null, ['id'=>'quantity','class' => 'form-control form-control-solid','required', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")', 'maxlength' => '4','minlength' => '1']) !!}
{!! Form::label('purchase_price', __('messages.item_stock.purchase_price').':', ['class' => 'form-label required fs-6 fw-bolder text-gray-700 mb-3']) !!} {!! Form::text('purchase_price', null, ['id'=>'purchasePrice','class' => 'form-control price-input form-control-solid','required', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")', 'maxlength' => '6','minlength' => '1']) !!}
{{ Form::label('description', __('messages.item_stock.description').(':'), ['class' => 'form-label fs-6 fw-bolder text-gray-700 mb-3']) }} {{ Form::textarea('description', null, ['class' => 'form-control form-control-solid', 'rows' => 4]) }}
{{ Form::label('attachment', __('messages.document.attachment').':', ['class' => 'fs-5 fw-bold mb-2 d-block']) }}
@if(!empty($itemStock->item_stock_url)) @endif
{!! Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-3', 'id' => 'btnSave']) !!} {!! __('messages.common.cancel') !!}