@csrf

Multiplica tus Eventos y tu Eficiencia con Nuestros Planes Ilimitados para Proveedores.

La única suscripción que te permite gestionar un volumen ilimitado de eventos, ahorrar cientos de horas de trabajo manual y ofrecer un servicio premium a tus clientes.

@forelse($plans as $plan) @php $count = $plans->count(); // Highlight Pro plan (annual) $isHighlight = $plan->business_period === 'annual'; // Period mapping $periodMap = [ 'monthly' => ['Por mes', 'Mensual'], 'quarterly' => ['Por 3 meses', 'Trimestral'], 'annual' => ['Por 12 meses', 'Anual'], ]; [$periodText, $periodBadge] = $periodMap[$plan->business_period ?? ''] ?? [null, null]; // Calcular ahorro respecto al plan mensual $savingsPercentage = null; if ($plan->business_period === 'quarterly' && !empty($plan->business_price)) { $monthlyPlan = $plans->firstWhere('business_period', 'monthly'); if ($monthlyPlan && !empty($monthlyPlan->business_price)) { $monthlyEquivalent = $monthlyPlan->business_price * 3; $savingsPercentage = round((($monthlyEquivalent - $plan->business_price) / $monthlyEquivalent) * 100); } } elseif ($plan->business_period === 'annual' && !empty($plan->business_price)) { $monthlyPlan = $plans->firstWhere('business_period', 'monthly'); if ($monthlyPlan && !empty($monthlyPlan->business_price)) { $monthlyEquivalent = $monthlyPlan->business_price * 12; $savingsPercentage = round((($monthlyEquivalent - $plan->business_price) / $monthlyEquivalent) * 100); } } @endphp
@if($isHighlight) Más elegido @endif
@if($plan->name) {{ $plan->name }} @endif @if(!empty($plan->business_price))
@php // Calcular precio mensual equivalente $monthlyEquivalentPrice = $plan->business_price; $billingDescription = null; if ($plan->business_period === 'quarterly') { $monthlyEquivalentPrice = $plan->business_price / 3; $billingDescription = 'Facturado trimestralmente'; } elseif ($plan->business_period === 'annual') { $monthlyEquivalentPrice = $plan->business_price / 12; $billingDescription = 'Facturado anualmente'; } @endphp
{{ optional($plan->businessCurrency)->code ?? 'USD' }} ${{ number_format($monthlyEquivalentPrice, 0) }}
/mes
@if($billingDescription)
{{ $billingDescription }}
@endif @if($savingsPercentage && $savingsPercentage > 0)
Ahorra {{ $savingsPercentage }}%
@endif
@endif
Incluye todas las funciones descriptas más abajo
@if(($currentPlanId ?? null) === $plan->id) @else @if($plan->business_stripe_price_id) Suscribirse Ahora @else @endif @endif
@empty
No hay planes Business visibles.
@endforelse
@php // Get ED Go! plan to display features $edGoPlan = $plans->firstWhere('name', 'ED Go!'); @endphp @if($edGoPlan)

Todos nuestros planes incluyen

@if($edGoPlan->activeFeatures->isNotEmpty()) @php // Dividir features en 3 columnas $chunks = $edGoPlan->activeFeatures->chunk(ceil($edGoPlan->activeFeatures->count() / 3)); @endphp
@foreach($chunks as $chunk)
    @foreach($chunk as $feature)
  • {{ $feature->title }}
    @if($feature->description)

    {{ $feature->description }}

    @endif
  • @endforeach
@endforeach
@elseif(!empty($edGoPlan->features)) @php $items = collect(preg_split('/(\r\n|\r|\n)/', (string) $edGoPlan->features))->filter(); $chunks = $items->chunk(ceil($items->count() / 3)); @endphp
@foreach($chunks as $chunk)
    @foreach($chunk as $item)
  • {{ $item }}
  • @endforeach
@endforeach
@endif

Facturación flexible y transparente

Sin compromiso. Podrá cancelar en cualquier momento con un solo clic desde su panel de control.

@endif