app/Http/Controllers/ProductController.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()
    {
        $data['kategori'] = Category::all();
        $data['unit'] = Unit::all();
        $data['curr'] = Curr::all();
        return view('inventory.product.create',$data);
    }
public function create ( ) { $ data [ 'kategori' ] = Category :: all ( ) ; $ data [ 'unit' ] = Unit :: all ( ) ; $ data [ 'curr' ] = Curr :: all ( ) ; return view ( 'inventory.product.create' , $ data ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .