app/Http/Controllers/MensualiteController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create(Eleve $elefe)
    {
        $eleves = Eleve::all();
        $niveaux = Level::all();
        return view('mensualites.create', compact('eleves', 'niveaux', 'elefe'));
    }
public function create ( Eleve $ elefe ) { $ eleves = Eleve :: all ( ) ; $ niveaux = Level :: all ( ) ; return view ( 'mensualites.create' , compact ( 'eleves' , 'niveaux' , 'elefe' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .