app/Http/Controllers/tunjanganController.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()
    {
        $golongan=Golongan::all();
        $jabatan=Jabatan::all();
        return view('tunjangan.create',compact('golongan','jabatan'));
    }
public function create ( ) { $ golongan = Golongan :: all ( ) ; $ jabatan = Jabatan :: all ( ) ; return view ( 'tunjangan.create' , compact ( 'golongan' , 'jabatan' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .