Add display of shelve

This commit is contained in:
Ludovic CANDELLIER
2022-01-23 22:49:23 +01:00
parent 81b6c87d59
commit 52019357ba
10 changed files with 38 additions and 27 deletions

View File

@@ -23,9 +23,7 @@ class HomeController extends Controller
$input = $request->input();
$data = self::init();
$data['display_by_rows'] = $input['by_rows'] ?? false;
// $data['offers'] = Offers::getLast()->toArray();
$data['articles'] = Articles::getArticlesToSell();
// $data['tags'] = Tags::getWithCountOffers();
$data['tags'] = TagGroups::getWithTagsAndCountOffers();
return view('Shop.home', $data);
}