@include('superadmin::layouts.partials.currency')
@foreach ($packages as $package) @php $img = ($loop->index > 3) ? 3 : $loop->index; @endphp
{{$package->name}}
@if($package->mark_package_as_popular == 1)
@if($package->trial_days != 0)
@endif
@if(!empty($package->custom_permissions))
@foreach($package->custom_permissions as $permission => $value)
@isset($permission_formatted[$permission])
{{$permission_formatted[$permission]}}
@endisset @endforeach @endif
{{$package->description}}
@if($loop->iteration%3 == 0)
@endif
@endforeach
@foreach ($packages as $package) @php $img = ($loop->index > 3) ? 3 : $loop->index; @endphp
{{$package->name}}
@if($package->mark_package_as_popular == 1)
@lang('superadmin::lang.popular')
@endif
@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')
{{$package->trial_days}} @lang('superadmin::lang.trial_days')
@endisset @endforeach @endif
@if($package->price != 0) {{$package->price}} / {{$package->interval_count}} {{__('lang_v1.' . $package->interval)}} @else @lang('superadmin::lang.free_for_duration', ['duration' => $package->interval_count . ' ' . __('lang_v1.' . $package->interval)]) @endif
{{$package->description}}
{{ $packages->links() }}