@extends('layouts/layoutMaster') @section('title', $pageTitle) @section('page-style') @endsection @section('page-script') @endsection @section('content') @php use Illuminate\Support\Str; use App\Support\Entitlements\EntitlementKey; $displayEntitlementGroups = collect($entitlementGroups)->except('pricing')->all(); $groupNotes = [ 'listings' => 'Define el flujo del producto: cuántos borradores simultáneos puede abrir el mariachi y cuántos anuncios puede mantener publicados. Usa 0 en publicados si ese paquete no tiene tope.', 'media' => 'Controla cuánta galería y video puede mostrar cada anuncio.', 'contact' => 'Decide qué canales de contacto se ven en la ficha pública del anuncio.', 'coverage' => 'Controla hasta dónde puede extender su cobertura geográfica cada anuncio.', 'filters' => 'Limita cuántos filtros y combinaciones puede usar para aparecer en búsquedas.', 'visibility' => 'Ajusta prioridad y posiciones destacadas dentro del marketplace.', 'extras' => 'Aquí solo viven señales comerciales del plan y métricas. La verificación del perfil se vende por separado.', ]; $softUnlimitedKeys = [ EntitlementKey::MAX_PUBLISHED_LISTINGS, EntitlementKey::MAX_OPEN_DRAFTS, ]; $videoEnabled = (bool) old('entitlements.'.EntitlementKey::CAN_ADD_VIDEO, $entitlementValues[EntitlementKey::CAN_ADD_VIDEO] ?? false); $pricingCards = [ [ 'title' => 'Opción 1', 'subtitle' => 'Tarifa base visible primero', 'months_key' => EntitlementKey::LISTING_TERM_PRIMARY_MONTHS, 'discount_key' => EntitlementKey::LISTING_TERM_PRIMARY_DISCOUNT_PERCENT, ], [ 'title' => 'Opción 2', 'subtitle' => 'Plazo de ahorro intermedio', 'months_key' => EntitlementKey::LISTING_TERM_SECONDARY_MONTHS, 'discount_key' => EntitlementKey::LISTING_TERM_SECONDARY_DISCOUNT_PERCENT, ], [ 'title' => 'Opción 3', 'subtitle' => 'Plazo largo o anual', 'months_key' => EntitlementKey::LISTING_TERM_TERTIARY_MONTHS, 'discount_key' => EntitlementKey::LISTING_TERM_TERTIARY_DISCOUNT_PERCENT, ], ]; @endphp @if ($errors->any())
Controla capacidades reales, cuotas y visibilidad para cada paquete.