apps show page information section update..

This commit is contained in:
Cüneyt Şentürk
2023-03-21 14:49:39 +03:00
parent 36011f60e6
commit 48d9e7fd64
2 changed files with 32 additions and 9 deletions

View File

@ -2,21 +2,43 @@
@if (! empty($module->plan))
<div x-show="price_type == 'monthly' || price_type == 'yearly'" class="text-center text-sm mt-3 mb--2 bg-red-100 rounded-lg p-2 cursor-default">
<span class="text-sm text-red-700">
{!! trans('modules.only_premium_plan') !!}
<span x-show="price_type == 'monthly'" class="text-sm text-red-700">
{!! trans('modules.information_on_preme', [
'period' => trans('modules.monthly'),
'url' => 'https://akaunting.com/features/why-akaunting-cloud?utm_source=software&utm_medium=app_show&utm_campaign=' . str_replace('-', '_', $module->slug)
]) !!}
</span>
<span x-show="price_type == 'yearly'" class="text-sm text-red-700">
{!! trans('modules.information_on_preme', [
'period' => trans('modules.yearly'),
'url' => 'https://akaunting.com/features/why-akaunting-cloud?utm_source=software&utm_medium=app_show&utm_campaign=' . str_replace('-', '_', $module->slug)
]) !!}
</span>
</div>
@elseif (in_array('onprime', $module->where_to_use))
<div x-show="price_type == 'monthly'" class="text-center text-sm mt-3">
<span style="font-size: 12px;">
<span class="text-red">*</span>
{!! trans('modules.information_monthly', ['url' => 'https://akaunting.com/features/why-akaunting-cloud?utm_source=software&utm_medium=app_show&utm_campaign=' . str_replace('-', '_', $module->slug)]) !!}
<div x-show="price_type == 'monthly'" class="text-center text-sm mt-3 mb--2 bg-red-100 rounded-lg p-2 cursor-default">
<span x-show="price_type == 'monthly'" class="text-sm text-red-700">
{!! trans('modules.information_on_preme', [
'period' => trans('modules.monthly'),
'url' => 'https://akaunting.com/features/why-akaunting-cloud?utm_source=software&utm_medium=app_show&utm_campaign=' . str_replace('-', '_', $module->slug)
]) !!}
</span>
</div>
@else
<div x-show="price_type == 'monthly' || price_type == 'yearly'" class="text-center text-sm mt-3 mb--2 bg-red-100 rounded-lg p-2 cursor-default">
<span class="text-sm text-red-700">
{!! trans('modules.only_works_cloud') !!}
<span x-show="price_type == 'monthly'" class="text-sm text-red-700">
{!! trans('modules.information_on_preme', [
'period' => trans('modules.monthly'),
'url' => 'https://akaunting.com/features/why-akaunting-cloud?utm_source=software&utm_medium=app_show&utm_campaign=' . str_replace('-', '_', $module->slug)
]) !!}
</span>
<span x-show="price_type == 'yearly'" class="text-sm text-red-700">
{!! trans('modules.information_on_preme', [
'period' => trans('modules.yearly'),
'url' => 'https://akaunting.com/features/why-akaunting-cloud?utm_source=software&utm_medium=app_show&utm_campaign=' . str_replace('-', '_', $module->slug)
]) !!}
</span>
</div>
@endif