public function edit(Request $request, Product $itemgroup)
	{
		$listing = $this->products->filter($request->all());

		return view('dashboard.sections.products.grouping.edit', [
			'getQueryString' => trim($request->getQueryString()) != '' ? $request->getQueryString() . '&' : '',
			'filters' => Parsers\Filters::parse($listing->get()),
			'groupingIds' => $itemgroup->group->pluck('id'),
			'listing' => $listing->paginate(25),
			'product' => $itemgroup,
		]);
	}
public function edit(Request $request, Product $itemgroup)
	{
		$listing = $this->products->filter($request->all());

		return view('dashboard.sections.products.grouping.edit', [
			'getQueryString' => trim($request->getQueryString()) != '' ? $request->getQueryString() . '&' : '',
			'filters' => Parsers\Filters::parse($listing->get()),
			'groupingIds' => $itemgroup->group->pluck('id'),
			'listing' => $listing->paginate(25),
			'product' => $itemgroup,
		]);
	}
public function edit ( Request $ request , Product $ itemgroup ) { $ listing = $ this -> products -> filter ( $ request -> all ( ) ) ; return view ( 'dashboard.sections.products.grouping.edit' , [ 'getQueryString' => trim ( $ request -> getQueryString ( ) ) != '' ? $ request -> getQueryString ( ) . '&' : '' , 'filters' => Parsers \ Filters :: parse ( $ listing -> get ( ) ) , 'groupingIds' => $ itemgroup -> group -> pluck ( 'id' ) , 'listing' => $ listing -> paginate ( 25 ) , 'product' => $ itemgroup , ] ) ; }
Edits the given product grouping.

@param  Request $request
@param  Product $itemgroup

@return void
Edits the given product grouping .