-2
Comes a product query from the bank, and will be placed in a combobox, I have to display the unit of measure (which is in the same table in the BD) in a text field, after the user select the product.
Note: I use the framework (in the latest version).
<td>
<div class="col-md-12">
<div class="form-group @if ($errors->has('55')) has-error @endif">
{{ Form::text('55',$ordemCompra->ferramenta_id, array('class' => 'form-control', 'readonly' => TRUE )) }}
@if ($errors->has('55'))
<span class="help-block">
<strong>
{{ $errors->first('55') }}
</strong>
</span>
@endif
</div>
</div>
</td>
code, this ferramnta is the product.