app/Http/Controllers/PasienController.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()
    {
        $dokter = Dokter::all();
        $jamkes = Jamkes::orderBy('created_at', 'DESC')->get();
        return view('pasien.create', compact('jamkes', 'dokter'));
    }
public function create ( ) { $ dokter = Dokter :: all ( ) ; $ jamkes = Jamkes :: orderBy ( 'created_at' , 'DESC' ) -> get ( ) ; return view ( 'pasien.create' , compact ( 'jamkes' , 'dokter' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .