{!! $module->name !!}
@if (! empty($module->subscription_type))
@php $subscription_color = 'bg-info'; @endphp
@if ($module->subscription_type == 'monthly')
@php $subscription_color = 'bg-warning'; @endphp
@endif
@if ($module->subscription_type == 'yearly')
{{ trans('modules.yearly') }}
@else
{{ trans('modules.monthly') }}
@endif
@endif
@if ($module->status_type == 'pre_sale')
{{ trans('modules.badge.pre_sale') }}
@endif
@if (isset($installedStatus[$module->slug]))
@php $color = 'bg-green'; @endphp
@if (!$installed[$module->slug])
@php $color = 'bg-warning'; @endphp
@endif
{{ trans('modules.badge.installed') }}
@endif
@if ($module->price == '0.0000')
{{ trans('modules.free') }}
@else
@if (! empty($module->is_discount))
{!! trans('modules.monthly_price', ['price' => '' . $module->yearly_per_monthly_price . ' ' . $module->yearly_per_monthly_special_price]) !!}
@else
{!! trans('modules.monthly_price', ['price' => $module->yearly_per_monthly_price]) !!}
@endif
@endif
@if ($module->status_type != 'pre_sale')
@if ($module->vote > 0)
@for ($i = 1; $i <= $module->vote; $i++)
star
@endfor
@for ($i = $module->vote; $i < 5; $i++)
star_border
@endfor
@endif
@if ($module->total_review)
{{ $module->total_review }} {{ trans('modules.tab.reviews') }}
@endif
@else
{{ trans('modules.pre_sale') }}
@endif