2022-06-13 16:00:25 +03:00
|
|
|
@props(['module'])
|
|
|
|
|
2022-06-25 03:05:33 +03:00
|
|
|
@if (! empty($module->plan))
|
2022-11-28 16:51:15 +03:00
|
|
|
<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">
|
2022-06-25 03:05:33 +03:00
|
|
|
<span class="text-sm text-red-700">
|
|
|
|
{!! trans('modules.only_premium_plan') !!}
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-06-28 10:15:29 +03:00
|
|
|
@elseif (in_array('onprime', $module->where_to_use))
|
2022-11-28 13:17:36 +03:00
|
|
|
<div x-show="price_type == 'monthly'" class="text-center text-sm mt-3">
|
2022-06-24 14:40:49 +03:00
|
|
|
<span style="font-size: 12px;">
|
2022-11-28 13:17:36 +03:00
|
|
|
<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)]) !!}
|
2022-06-24 14:40:49 +03:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
@else
|
2022-11-28 16:51:15 +03:00
|
|
|
<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">
|
2022-06-24 14:40:49 +03:00
|
|
|
<span class="text-sm text-red-700">
|
|
|
|
{!! trans('modules.only_works_cloud') !!}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
@endif
|