Venues public ready for Test
This commit is contained in:
parent
a58f736843
commit
b76ec01ae5
|
|
@ -26,15 +26,20 @@ class PublicController extends Controller
|
|||
public function showHomePage(){
|
||||
$cinema = Category::where('view_type','cinema')
|
||||
->categoryLiveEvents(16)
|
||||
->first();
|
||||
->limit(1);
|
||||
|
||||
$cartoon = Category::where('view_type','exhibition')//todo change to cartoon multik
|
||||
->categoryLiveEvents(16)
|
||||
->first();
|
||||
->limit(1)
|
||||
->union($cinema);
|
||||
|
||||
$musical =Category::where('view_type','concert')
|
||||
$musical = Category::where('view_type','concert')
|
||||
->categoryLiveEvents(8)
|
||||
->first();
|
||||
->limit(1)
|
||||
->union($cartoon);
|
||||
$all = $musical->get();
|
||||
|
||||
dd($all);
|
||||
|
||||
$sliders = Slider::where('active',1)
|
||||
->where(Config::get('app.locale'),1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue