app/Http/Controllers/TunjanganpController.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()
    {
        $tunjangan=Tunjangan::all();
        $pegawai=Pegawai::all();
        return view('tunjanganpegawai.create',compact('pegawai','tunjangan'));
    }
public function create ( ) { $ tunjangan = Tunjangan :: all ( ) ; $ pegawai = Pegawai :: all ( ) ; return view ( 'tunjanganpegawai.create' , compact ( 'pegawai' , 'tunjangan' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
//