@if ($universalBundle)
@php $fetchSetting = null; if (in_array($universalBundle, $worksuitePlugins) && config(strtolower($universalBundle) . '.setting')) { $fetchSetting = config(strtolower($universalBundle) . '.setting')::first(); } @endphp
{{ $universalBundle->getName() }} @if (config(strtolower($universalBundle) . '.setting')) @include('custom-modules.sections.version', ['module' => $universalBundle]) @endif
@if ($fetchSetting?->license_type) {{ $fetchSetting->license_type }} @if (str_contains($fetchSetting->license_type, 'Regular')) Upgrade now @endif @endif @if ( $fetchSetting?->purchase_code && $fetchSetting?->supported_until && \Carbon\Carbon::parse($fetchSetting->supported_until)->isPast()) Support Expired @endif
@if ($fetchSetting?->purchase_code && $fetchSetting?->supported_until)
{{-- --}} @include('custom-modules.sections.support-date')
@endif
@if ($fetchSetting) @if (config(strtolower($universalBundle) . '.verification_required'))
@include('custom-modules.sections.purchase-code', ['module' => $universalBundle])
@endif @if ($plugins->where('envato_id', config(strtolower($universalBundle) . '.envato_item_id'))->first())
@include('custom-modules.sections.module-update', ['module' => $universalBundle, 'fetchSetting' => $fetchSetting]) {{--
notify_update) id="module-notification-{{ $universalBundle }}" data-module-name="{{ $universalBundle }}">
--}}
@endif @endif
@if (!config(strtolower($universalBundle) . '.name'))
@endif
@includeIf('universalbundle::install-modules') @endif