{{ __('messages.medicines') }} {{ __('lot no.') }} {{ __('Expiry Date') }} {{ __('Sale Price') }} {{ __('Purchase Price') }} {{ __('Quantity') }} {{ __('Tax') }} {{ __('Amount') }} {{ __('messages.common.add') }}
{{ Form::select('medicine[]', $medicines['medicines'], null,['class' => 'form-select purchaseMedicineId','placeholder'=>'Select Medicine','id'=>'medicineChooseId1','data-control'=>'select2','data-id'=>1,'required']) }} {{ Form::number('lot_no[]', null, ['class' => 'form-control', 'id' => 'lot_no1','required','placeholder'=>'Lot no.']) }} {{ Form::text('expiry_date[]', null, ['class' => 'form-control purchaseMedicineExpiryDate', 'id' => 'expiry_date1','placeholder'=>'Expiry Date']) }} {{ Form::number('sale_price[]', '0.00',['class' => 'form-control prescriptionMedicineMealId', 'readonly','id' => 'sale_price1','required']) }} {{ Form::number('purchase_price[]', '0.00', ['class' => 'form-control purchase-price', 'readonly', 'rows'=>1, 'id' => 'purchase_price1','required' ]) }} {{ Form::number('quantity[]', 0, ['class' => 'form-control purchase-quantity' ,'id'=>'quantity1','required']) }}
{{ Form::number('tax_medicine[]', 0, ['class' => 'form-control purchase-tax', 'rows'=>1, 'id'=>'tax1']) }} {{ __('%') }}
{{ Form::number('amount[]','0.00', ['class' => 'form-control purchase-amount','readonly', 'rows'=>1,'id'=>'amount1',]) }}
{{ Form::textarea('note', null, ['class' => 'form-control', 'rows'=>2,'Note']) }}
{{ Form::hidden('purchase_no',generateUniquePurchaseNumber(), ['class' => 'form-control']) }} {{ Form::number('total', '0.00', ['class' => 'form-control required','readonly', 'rows'=>1,'id'=>'total',]) }}
{{ Form::number('discount','0.00', ['class' => 'form-control purchase-discount required','id'=>'discountAmount']) }}
{{ Form::number('tax', '0.00', ['class' => 'form-control','id'=>'purchaseTaxId' ,'readonly','value'=>'0.00']) }} {{-- {{ __('$') }} --}}
{{ Form::number('net_amount', '0.00', ['class' => 'form-control required','id'=>'netAmount','readonly']) }}
{{ Form::select('payment_type', App\Models\PurchaseMedicine::PAYMENT_METHOD,null, ['class' => 'form-select', 'placeholder'=>'Payment Mode','id'=>'paymentMode', 'required']) }}
{{ Form::textarea('payment_note',null, ['class' => 'form-control', 'placeholder'=>'Payment Note','rows'=>3]) }}
{!! Form::submit(__('messages.common.save'), ['class' => 'btn btn-primary me-2','saveBtnPurchaseMedicne' ]) !!} {!! __('messages.common.cancel') !!}