App store pre-sale on category page.
This commit is contained in:
parent
badc8c68ac
commit
5330447620
@ -65,7 +65,7 @@ class Item extends Controller
|
|||||||
$module->action_url .= $character . http_build_query($parameters);
|
$module->action_url .= $character . http_build_query($parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($module->status == 'pre_sale') {
|
if ($module->status_type == 'pre_sale') {
|
||||||
return view('modules.item.pre_sale', compact('module', 'installed', 'enable'));
|
return view('modules.item.pre_sale', compact('module', 'installed', 'enable'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
@if ($modules)
|
@if ($modules)
|
||||||
@foreach ($modules->data as $module)
|
@foreach ($modules->data as $module)
|
||||||
@if ($module->status == 'active')
|
@if ($module->status_type == 'pre_sale')
|
||||||
@include('partials.modules.item')
|
|
||||||
@else
|
|
||||||
@include('partials.modules.pre_sale')
|
@include('partials.modules.pre_sale')
|
||||||
|
@else
|
||||||
|
@include('partials.modules.item')
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
<div class="col-md-12 no-padding-left">
|
<div class="col-md-12 no-padding-left">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user