app/Http/Controllers/Transaksi.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()
    {
         $kategori = ModelKontak::all();
         $sub = ModelSub::all();  
         return view('transaksi_create',compact('sub','kategori'));
    }
public function create ( ) { $ kategori = ModelKontak :: all ( ) ; $ sub = ModelSub :: all ( ) ; return view ( 'transaksi_create' , compact ( 'sub' , 'kategori' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .