@forelse ($packages as $item) @empty @endforelse
@lang('app.id') @lang('modules.package.packageName') @lang('modules.package.monthlyPrice') @lang('modules.package.annualPrice') @lang('modules.package.lifetimePrice') @lang('modules.package.moduleInPackage') @lang('app.action')
{{ $loop->iteration }}
{{ $item->package_name}} @if(in_array($item->package_type->value, ['trial', 'default'])) @endif
@if($item->is_recommended) @lang('modules.package.recommended') @endif @if($item->is_private) @lang('modules.package.private') @endif
@if ($item->package_type->value == 'trial') @lang('modules.package.trial') @elseif($item->package_type->value == 'lifetime') @lang('modules.package.lifetime') @endif @if($item->package_type->value == 'trial') $item->trial_status == true, 'bg-red-500 dark:bg-red-700 border border-red-500' => $item->trial_status == false ])> {{ $item->trial_status == true ? __('app.active') : __('app.inactive') }} @endif
@if($item->package_type->value == 'trial' && $item->trial_days) @lang('modules.package.trialPeriod'): {{ $item->trial_days }} @lang('modules.package.days') @endif
{{ $item->monthly_price ? $item->currency->currency_symbol . $item->monthly_price : '--' }} {{ $item->annual_price ? $item->currency->currency_symbol . $item->annual_price : '--' }} {{ $item->price ? $item->currency->currency_symbol . $item->price : '--' }}
@foreach ($allModules as $module)
@if($item->modules->contains('id', $module->id)) @else @endif {{ $module->name }}
@endforeach
@lang('app.update') @if($item->package_type->isDeletable()) @endif
@lang('messages.noPackageFound')
{{ $packages->links() }}
@lang('modules.package.deletePackage') @lang('modules.package.deletePackageMessage') {{ __('Close') }} @if ($packageDelete) {{ __('Delete') }} @endif