<?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-md-6 col-lg-4 mb-25">
    <div class="price-card-item h-100 p-30">
        <form class="ajax" action="<?php echo e(route('user.subscription.order')); ?>" method="post" enctype="multipart/form-data" data-handler="setPaymentModal">
            <input type="hidden" name="id" value="<?php echo e($plan->id); ?>">
            <input type="hidden" class="plan_type" name="duration_type" value="1">
            <h4 class="font-medium"><?php echo e($plan->name); ?></h4>
            <p class="font-13 pb-1 pt-1"><?php echo e($plan->description); ?></p>
            <hr>
            <h2 class="price-title price-monthly"><?php echo e(currencyPrice($plan->monthly_price)); ?><span
                    class="font-13 font-medium">/<?php echo e(__("monthly")); ?></span></h2>
            <h2 class="price-title d-none price-yearly"><?php echo e(currencyPrice($plan->yearly_price)); ?><span
                    class="font-13 font-medium">/<?php echo e(__("yearly")); ?></span></h2>
            <h4 class="font-18 font-medium mt-2"><?php echo e(__("What’s included")); ?></h4>
            <ul class="pricing-features">
                <li class="d-flex align-items-center mb-3">
                    <span
                        class="price-check-icon d-inline-flex align-items-center justify-content-center status-btn-purple radius-50 me-2">
                        <span class="iconify font-16" data-icon="material-symbols:check-small-rounded"></span>
                    </span>
                    <span class="font-13"><?php echo e(__("Generate")); ?> <?php echo e($plan->generate_characters); ?> <?php echo e(__("Characters")); ?></span>
                </li>
                <li class="d-flex align-items-center mb-3">
                    <span
                        class="price-check-icon d-inline-flex align-items-center justify-content-center status-btn-purple radius-50 me-2">
                        <span class="iconify font-16" data-icon="material-symbols:check-small-rounded"></span>
                    </span>
                    <span class="font-13"><?php echo e(("Access")); ?> <?php echo e(count($plan->access_use_cases)); ?> <?php echo e(("use cases")); ?></span>
                </li>
                
                <li class="d-flex align-items-center mb-3">
                    <span
                        class="price-check-icon d-inline-flex align-items-center justify-content-center status-btn-purple radius-50 me-2">
                        <span class="iconify font-16" data-icon="material-symbols:check-small-rounded"></span>
                    </span>
                    <span class="font-13"><?php echo e(__("Write in")); ?> <?php echo e($plan->write_languages); ?> <?php echo e(__("languages")); ?></span>
                </li>
                <li class="d-flex align-items-center mb-3">
                    <span
                        class="price-check-icon d-inline-flex align-items-center justify-content-center status-btn-purple radius-50 me-2">
                        <span class="iconify font-16" data-icon="material-symbols:check-small-rounded"></span>
                    </span>
                    <span class="font-13"><?php echo e(__("Access")); ?> <?php echo e($plan->access_tones); ?> <?php echo e(__("tones")); ?></span>
                </li>

                <?php if($plan->access_community != NULL && $plan->access_community != ""): ?>
                <li class="d-flex align-items-center mb-3">
                    <span
                        class="price-check-icon d-inline-flex align-items-center justify-content-center status-btn-purple radius-50 me-2">
                        <span class="iconify font-16" data-icon="material-symbols:check-small-rounded"></span>
                    </span>
                    <span class="font-13"><?php echo e($plan->access_community); ?></span>
                </li>
                <?php endif; ?>

                <?php if($plan->support != NULL && $plan->support != ""): ?>
                <li class="d-flex align-items-center mb-3">
                    <span
                        class="price-check-icon d-inline-flex align-items-center justify-content-center status-btn-purple radius-50 me-2">
                        <span class="iconify font-16" data-icon="material-symbols:check-small-rounded"></span>
                    </span>
                    <span class="font-13"><?php echo e($plan->support); ?></span>
                </li>
                <?php endif; ?>

            </ul>
            <?php if($plan->id == $currentPlan?->package_id): ?>
            <button type="button" class="theme-btn-outline current-plan-button mt-15 payment-gateway-active" disabled="disabled" title="Current Plan">
                <?php echo e(__("Current Plan")); ?>

            </button>
            <?php else: ?>
            <button type="submit" class="theme-btn-outline mt-15" title="Subscribe Now">
                <?php echo e(__("Subscribe Now")); ?>

            </button>
            <?php endif; ?>
        </form>
    </div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php /**PATH /Users/masumbd/project/ZaiwriteAI/resources/views/user/subscriptions/partials/plan-list.blade.php ENDPATH**/ ?>