| @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']))
                                            
                                             
                                                    @if($item->package_type->value === 'trial')
                                                         @lang('modules.package.trialPackage')@lang('modules.package.trialPackageDetails')@elseif($item->package_type->value === 'default') @lang('modules.package.defaultPackage')@lang('modules.package.defaultPackageDetails') @lang('modules.package.defaultPackageDetails2')@endif @lang('modules.package.thisPackageCannotBeDeleted') 
                                            @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 | {{ global_currency_format($item->monthly_price, $item->currency_id) }} | {{ global_currency_format($item->annual_price, $item->currency_id) }} | {{ global_currency_format($item->price, $item->currency_id) }} | 
                                        @foreach ($allModules as $module)
                                             
                                                @if($item->modules->contains('id', $module->id))
                                                    
                                                @else
                                                    
                                                @endif
                                                {{ $module->name }}
                                            @endforeach
                                        @php $existFeatures = collect(json_decode($item->additional_features, true) ?? []); @endphp
                                        @foreach ($additionalFeatures as $feature)
                                            @php $isActive = $existFeatures->contains($feature); @endphp 
                                                
                                                {{ $feature }}
                                            @endforeach |  | 
| @lang('messages.noPackageFound') | ||||||