@if($errors->all())
{{ HTML::ul($errors->all()) }}
@endif
{{ Form::model($topupRequest, array('route' => array('topup.update', $topupRequest->id), 'method' => 'PUT', 'id' => 'form-edit-topup')) }}
{{ Form::label('lab_section ', Lang::choice('messages.test-category', 1)) }}
{{ Form::select('lab_section', array(null => '')+ $sections, $topupRequest->test_category_id,
array('class' => 'form-control', 'rows' => '2')) }}
{{ Form::label('commodity', trans('messages.commodity')) }}
{{ Form::select('commodity', array(null => '')+ $commodities,
$topupRequest->commodity_id, array('class' => 'form-control', 'id' => 'commodity_id')) }}
{{ Form::label('current_bal', trans('messages.current-bal')) }}
{{ Form::text('current_bal', $topupRequest->commodity->available(), array('class' => 'form-control', 'rows' => '2', 'disabled')) }}
{{ Form::label('order_quantity', trans('messages.order-qty')) }}
{{ Form::text('order_quantity', Input::old('order_quantity'),array('class' => 'form-control', 'rows' => '2')) }}
{{ Form::label('remarks ', trans('messages.remarks')) }}
{{ Form::textarea('remarks', Input::old('remarks'),array('class' => 'form-control', 'rows' => '2')) }}
{{ Form::button(' '.trans('messages.save'),
array('class' => 'btn btn-primary', 'onclick' => 'submit()')) }}
{{ Form::close() }}