@if($plans->count() == 0)
No hay planes {{ $this->tab === 'business' ? 'business' : 'de cliente final' }}

Comienza creando tu primer plan

@else
@if($this->tab === 'business') @else @endif @foreach ($plans as $plan) @if($this->tab === 'business') @else @endif @endforeach
# Plan NivelPeríodo Invitaciones PrecioCaracterísticas PrecioEstado Acciones
{{ $plan->id }}
{{ $plan->name }}
@if($plan->description) {{ Str::limit($plan->description, 50) }} @endif
{{ $plan->level ?? 0 }} @switch($plan->business_period) @case('monthly') Mensual @break @case('quarterly') Trimestral @break @case('annual') Anual @break @default @endswitch @if($plan->business_unlimited_invitations) Ilimitadas @else {{ $plan->business_invitation_quota ?? 0 }} invitaciones @endif @if(!empty($plan->business_price))
{{ optional($plan->businessCurrency)->symbol ?? '$' }}{{ number_format($plan->business_price, 2) }}
{{ optional($plan->businessCurrency)->code ?? 'USD' }} @if(!empty($plan->business_stripe_price_id))
{{ Str::limit($plan->business_stripe_price_id, 10) }}
@endif @else @endif
@php $items = collect(preg_split("/(\r\n|\r|\n)/", (string) $plan->features))->filter(); @endphp @if($items->isNotEmpty()) {{ $items->count() }} características @endif
@php $firstPrice = $plan->prices()->first(); @endphp @if($firstPrice)
{{ optional($firstPrice->currency)->symbol ?? '$' }}{{ number_format($firstPrice->price, 2) }}
{{ optional($firstPrice->currency)->code ?? 'USD' }} @if($firstPrice->upgrade_price)
Upgrade: {{ optional($firstPrice->currency)->symbol ?? '$' }}{{ number_format($firstPrice->upgrade_price, 2) }}
@endif @else @endif
{{ $plan->is_visible ? 'Visible' : 'Oculto' }}
@if($plans->hasPages()) @endif
@endif
@push('styles') @endpush