update marketing
All checks were successful
All checks were successful
This commit is contained in:
@@ -853,22 +853,34 @@
|
||||
@endif
|
||||
|
||||
@if (moduleCheck('MarketingAddon'))
|
||||
<li class="dropdown {{ Request::routeIs('business.sms-templates.index', 'business.sms-gateways.index', 'business.sms-gateways.create', 'business.sms-gateways.edit', 'business.devices.index', 'business.devices.create', 'business.devices.edit') ? 'active' : '' }}">
|
||||
<li class="dropdown {{ Request::routeIs('business.templates.index', 'business.sms-gateways.index', 'business.sms-gateways.create', 'business.sms-gateways.edit', 'business.message-logs.index', 'business.email-settings.index') ? 'active' : '' }}">
|
||||
<a href="#">
|
||||
<span class="sidebar-icon">
|
||||
<img src="{{ asset('assets/images/sidebar/stocklist.svg') }}">
|
||||
</span>
|
||||
{{ __('SMS Marketing') }}
|
||||
{{ __('Marketing') }}
|
||||
</a>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="{{ Request::routeIs('business.sms-templates.index') ? 'active' : '' }}" href="{{ route('business.sms-templates.index') }}">{{ __('SMS Template') }}</a>
|
||||
<a class="{{ Request::routeIs('business.templates.index') && request('type') == 'sms' ? 'active' : '' }}" href="{{ route('business.templates.index', ['type' => 'sms']) }}">{{ __('SMS Template') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ Request::routeIs('business.sms-gateways.index', 'business.sms-gateways.create', 'business.sms-gateways.edit') ? 'active' : '' }}" href="{{ route('business.sms-gateways.index') }}">{{ __('API Gateway') }}</a>
|
||||
<a class="{{ Request::routeIs('business.templates.index') && request('type') == 'whatsapp' ? 'active' : '' }}" href="{{ route('business.templates.index', ['type' => 'whatsapp']) }}">{{ __('WhatsApp Template') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ Request::routeIs('business.devices.index', 'business.devices.create', 'business.devices.edit') ? 'active' : '' }}" href="{{ route('business.devices.index') }}">{{ __('Android Gateway') }}</a>
|
||||
<a class="{{ Request::routeIs('business.templates.index') && request('type') == 'email' ? 'active' : '' }}" href="{{ route('business.templates.index', ['type' => 'email']) }}">{{ __('Email Template') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ Request::routeIs('business.sms-gateways.index') && request('channel') == 'sms' ? 'active' : '' }}" href="{{ route('business.sms-gateways.index', ['channel' => 'sms']) }}">{{ __('SMS Gateway') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ Request::routeIs('business.sms-gateways.index') && request('channel') == 'whatsapp' ? 'active' : '' }}" href="{{ route('business.sms-gateways.index', ['channel' => 'whatsapp']) }}">{{ __('WhatsApp Gateway') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ Request::routeIs('business.email-settings.index') ? 'active' : '' }}" href="{{ route('business.email-settings.index') }}">{{ __('Email Setting') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ Request::routeIs('business.message-logs.index') ? 'active' : '' }}" href="{{ route('business.message-logs.index') }}">{{ __('Message Logs') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user