private function getReg($value) { return Registro::select('registros.faixa', 'registros.emol')->searchRegistro($value)->first(); }
/** * Display a listing of the resource. * * @return Response */ public function index() { return Registro::select('id', 'faixa', 'v_1', 'v_2', 'emol')->orderBy('v_1')->get(); }