{{ Form::label('name', __('messages.medicine.medicine').(':'), ['class' => 'form-label']) }}
{{ Form::text('name', null, ['class' => 'form-control','minlength' => 2, 'id' => 'medicineNameId']) }}
{{ Form::label('category_id', __('messages.medicine.category').(':'), ['class' => 'form-label']) }}
{{ Form::select('category_id', $categories, (isset($medicine)) ? $medicine->category_id : null, ['class' => 'form-select', 'placeholder' => __('messages.medicine.select_category'), 'id' => 'categoryId']) }}
{{ Form::hidden('quantity', isset($medicine) ? $medicine->quantity : 0, ['class' => 'form-control', 'placeholder' => __('messages.item_stock.quantity'), 'id' => 'quantityId']) }}
{{ Form::hidden('available_quantity',isset($medicine) ? $medicine->available_quantity : 0, ['class' => 'form-control', 'placeholder' => __('messages.issued_item.available_quantity'), 'id' => 'AvailableQuantityId']) }}
{{ Form::label('brand_id', __('messages.medicine.brand').(':'), ['class' => 'form-label']) }}
{{ Form::select('brand_id', $brands, (isset($medicine)) ? $medicine->brand_id : null, ['class' => 'form-select', 'placeholder' => __('messages.medicine.select_brand'), 'id' => 'brandId']) }}
{{ Form::label('salt_composition', __('messages.medicine.salt_composition').(':'), ['class' => 'form-label']) }}
{{ Form::text('salt_composition', null, ['class' => 'form-control','required']) }}
{{ Form::label('buying_price', __('messages.medicine.buying_price').(':'), ['class' => 'form-label']) }}
{{ Form::text('buying_price', null, ['class' => 'form-control price-input']) }}
{{ Form::label('selling_price', __('messages.medicine.selling_price').(':'), ['class' => 'form-label']) }}
{{ Form::text('selling_price', null, ['class' => 'form-control price-input']) }}
{{ Form::label('side_effects', __('messages.medicine.side_effects').(':'), ['class' => 'form-label']) }}
{{ Form::textarea('side_effects', null, ['class' => 'form-control', 'rows'=>4]) }}
{{ Form::label('description', __('messages.medicine.description').(':'), ['class' => 'form-label']) }}
{{ Form::textarea('description', null, ['class' => 'form-control', 'rows'=>4]) }}
{{ Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary', 'id' => 'saveBtn']) }}
{{ __('messages.common.cancel') }}