update marketing
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 5m14s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
Build, Push and Deploy / deploy-staging (push) Successful in 41s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-14 11:55:22 +07:00
parent f80fcc4c1b
commit 05fd3230b8
448 changed files with 17545 additions and 5128 deletions

View File

@@ -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>