@foreach ($packages as $package) @if($package->is_private == 1 && !auth()->user()->can('superadmin')) @php continue; @endphp @endif

{{$package->name}}

@if($package->location_count == 0) @lang('superadmin::lang.unlimited') @else {{$package->location_count}} @endif @lang('business.business_locations')
@if($package->user_count == 0) @lang('superadmin::lang.unlimited') @else {{$package->user_count}} @endif @lang('superadmin::lang.users')
@if($package->product_count == 0) @lang('superadmin::lang.unlimited') @else {{$package->product_count}} @endif @lang('superadmin::lang.products')
@if($package->invoice_count == 0) @lang('superadmin::lang.unlimited') @else {{$package->invoice_count}} @endif @lang('superadmin::lang.invoices')
@if(!empty($package->custom_permissions)) @foreach($package->custom_permissions as $permission => $value) @isset($permission_formatted[$permission]) {{$permission_formatted[$permission]}}
@endisset @endforeach @endif @if($package->trial_days != 0) {{$package->trial_days}} @lang('superadmin::lang.trial_days')
@endif

@php $interval_type = !empty($intervals[$package->interval]) ? $intervals[$package->interval] : __('lang_v1.' . $package->interval); @endphp @if($package->price != 0) {{$package->price}} / {{$package->interval_count}} {{$interval_type}} @else @lang('superadmin::lang.free_for_duration', ['duration' => $package->interval_count . ' ' . $interval_type]) @endif

@if($loop->iteration%3 == 0)
@endif @endforeach