Remove redundant filter in cart rule index page
This commit is contained in:
parent
bfeff060c2
commit
5c2db445b8
|
|
@ -11,40 +11,6 @@
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<div class="page-title">
|
<div class="page-title">
|
||||||
<h1>{{ __('admin::app.promotions.cart-rules.title') }}</h1>
|
<h1>{{ __('admin::app.promotions.cart-rules.title') }}</h1>
|
||||||
|
|
||||||
<div class="control-group">
|
|
||||||
<select class="control" id="channel-switcher" name="channel"
|
|
||||||
onchange="reloadPage('channel', this.value)">
|
|
||||||
<option value="all" {{ ! isset($channel) ? 'selected' : '' }}>
|
|
||||||
{{ __('admin::app.admin.system.all-channels') }}
|
|
||||||
</option>
|
|
||||||
|
|
||||||
@foreach (core()->getAllChannels() as $channelModel)
|
|
||||||
<option
|
|
||||||
value="{{ $channelModel->id }}" {{ (isset($channel) && ($channelModel->id) == $channel) ? 'selected' : '' }}>
|
|
||||||
{{ $channelModel->name }}
|
|
||||||
</option>
|
|
||||||
|
|
||||||
@endforeach
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="control-group">
|
|
||||||
<select class="control" id="customer-group-switcher" name="customer_group"
|
|
||||||
onchange="reloadPage('customer_group', this.value)">
|
|
||||||
<option value="all" {{ ! isset($locale) ? 'selected' : '' }}>
|
|
||||||
{{ __('admin::app.admin.system.all-customer-groups') }}
|
|
||||||
</option>
|
|
||||||
|
|
||||||
@foreach (core()->getAllCustomerGroups() as $customerGroupModel)
|
|
||||||
<option
|
|
||||||
value="{{ $customerGroupModel->id }}" {{ (isset($customerGroupModel) && ($customerGroupModel->id) == $customer_group) ? 'selected' : '' }}>
|
|
||||||
{{ $customerGroupModel->name }}
|
|
||||||
</option>
|
|
||||||
|
|
||||||
@endforeach
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="page-action">
|
<div class="page-action">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue