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