{!! Form::label('department_id', __('messages.issued_item.department_id').':', ['class' => 'form-label']) !!}
{{ Form::select('department_id', $data['userTypes'], null, ['id' => 'issueUserType','class' => 'form-select','required','placeholder' => __('messages.issued_item.select_user_type'), 'data-control' => 'select2']) }}
{!! Form::label('user_id', __('messages.issued_item.user_id').':', ['class' => 'form-label']) !!}
{{ Form::select('user_id', [null], null, ['id' => 'issueTo','class' => 'form-select','required','disabled', 'data-control' => 'select2', 'placeholder' => __('messages.message.select_user')]) }}
{!! Form::label('issued_by', __('messages.issued_item.issued_by').':', ['class' => 'form-label']) !!}
{!! Form::text('issued_by', null, ['id'=>'issuedBy', 'class' => 'form-control', 'required']) !!}
{!! Form::label('issued_date', __('messages.issued_item.issued_date').':', ['class' => 'form-label']) !!}
{!! Form::text('issued_date', null, ['id'=>'issueDate', 'class' => (getLoggedInUser()->thememode ? 'bg-light form-control' : 'bg-white form-control'), 'required', 'autocomplete' => 'off']) !!}
{!! Form::label('return_date', __('messages.issued_item.return_date').':', ['class' => 'form-label']) !!}
{!! Form::text('return_date', null, ['id'=>'issueReturnDate', 'class' => (getLoggedInUser()->thememode ? 'bg-light form-control' : 'bg-white form-control'), 'autocomplete' => 'off']) !!}
{!! Form::label('item_category_id', __('messages.issued_item.item_category').':', ['class' => 'form-label']) !!}
{{ Form::select('item_category_id', $data['itemCategories'], null, ['id' => 'issueItemCategory','class' => 'form-select','required','placeholder' => __('messages.item.select_item_category'), 'data-control' => 'select2']) }}
{!! Form::label('item_id', __('messages.issued_item.item').':', ['class' => 'form-label']) !!}
{{ Form::select('item_id', [null], null, ['id' => 'issueItems','class' => 'form-select','required','disabled', 'data-control' => 'select2', 'placeholder' => 'Select Item']) }}
{!! Form::hidden('available_quantity', null, ['id'=>'itemAvailableQuantity']) !!}
{!! Form::label('quantity', __('messages.issued_item.quantity').':', ['class' => 'form-label']) !!}
({{ __('messages.item.available_quantity') . ':' }} 0)
{!! Form::number('quantity', null, ['id'=>'itemQuantity','class' => 'form-control', 'required', 'min' => 1, 'disabled']) !!}
{{ Form::label('description', __('messages.item_stock.description').(':'), ['class' => 'form-label']) }}
{{ Form::textarea('description', null, ['class' => 'form-control', 'rows' => 4]) }}
{!! Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-3', 'id' => 'issuedItemSave']) !!}
{!! __('messages.common.cancel') !!}