public function index() { $title_sell_product = '販売'; $tile_branch = '自社ブランド'; $title_cat_product = '販売'; $products = SellProduct::getAllSellPro(); $catSell = CategoryProduct::getCatSell(); $lps = SellProduct::getListPro(); return view('frontend.product.list', compact('products', 'title_sell_product', 'tile_branch', 'title_cat_product', 'catSell', 'lps')); }
public function getOsusume() { //list sell product $lsp = SellProduct::getAllSellPro(); return view('admin.sell.osusume', compact('lsp')); }