@if ($module->payment_type)
@if ($module->payment_type == 'yearly')
@php
$color = 'bg-purple-100';
$text = trans('general.yearly');
@endphp
@else
@php
$color = 'bg-purple-100';
$text = trans('general.monthly');
@endphp
@endif
@endif
{{ $text }}
@foreach ($module->files as $file)
@if (($file->media_type == 'image') && ($file->pivot->zone == 'thumbnail'))
@endif
@endforeach
{{ $module->name }}
@if ($module->status_type == 'active')
@php
$color = 'bg-green-300';
$text = trans('general.enabled');
@endphp
@else
@php
$color = 'bg-red';
$text = trans('general.disabled');
@endphp
@endif
{{ $text }}