app/Http/Controllers/BarangController.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()
    {
       $lab['lab']=Lab::get(); 
       return view('admin.barang.formbarang')
       ->with($lab);
    }
public function create ( ) { $ lab [ 'lab' ] = Lab :: get ( ) ; return view ( 'admin.barang.formbarang' ) -> with ( $ lab ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
//