app/Http/Controllers/PrincipalController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
protected function index()
    {
        $tipo = $serv = DB::select("SELECT * FROM mudate24bd.recursiva where rec_nemonico = 'SER' or rec_nemonico ='TSE' ORDER BY rec_nemonico, rec_detalle;");
        return view('principal.principal', compact('serv','tipo'));
    }
protected function index ( ) { $ tipo = $ serv = DB :: select ( " SELECT * FROM mudate24bd.recursiva where rec_nemonico = 'SER' or rec_nemonico ='TSE' ORDER BY rec_nemonico, rec_detalle; " ) ; return view ( 'principal.principal' , compact ( 'serv' , 'tipo' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .