<?php
    if (Route::currentRouteName() != 'plans'){
        $showViewMoreBtn = $plans->count() > 8;
        $plans           = $plans->limit(8)->get();
    }
?>
<div class="row justify-content-center mb-none-70">
    <?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="col-xl-3 col-lg-4 col-sm-6 mb-70 wow fadeInUp" data-wow-duration="0.5s" data-wow-delay="0.1s">
            <div class="package-card text-center bg_img" style="background-image: url('<?php echo e(getImage($activeTemplateTrue . 'images/plan.jpg', '770x945')); ?>');">
                <h4 class="package-card__title"><?php echo e(__($plan->name)); ?></h4>
                <div class="package-card__range mt-4 base--color"><?php echo e(curSym()); ?><?php echo e(showAmount($plan->fixed_amount)); ?></div>
                <ul class="package-card__features mt-3">
                    <li><?php echo app('translator')->get('ROI'); ?> <?php echo e(showAmount($plan->interest)); ?>%</li>
                    <li><?php echo app('translator')->get('Profit Withdrawal: Once Every'); ?> <?php echo e(__($plan->time->name)); ?></li>
                    <li><?php echo app('translator')->get('Total'); ?> <?php echo e(($plan->fixed_amount * $plan->interest) / 100); ?> <?php echo e(curText()); ?> + <span class="badge badge--base"><?php echo app('translator')->get('Capital'); ?></span>
                    <li><?php echo app('translator')->get('Accruals: Working Days'); ?></li>
                    </li>
                </ul>
                <button data-bs-toggle="modal" data-bs-target="#investModal" data-plan="<?php echo e($plan); ?>" class="btn btn-md btn--base mt-4 investModal" type="button"><?php echo app('translator')->get('Invest Now'); ?></button>
            </div>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>

<?php if(@$showViewMoreBtn): ?>
    <div class="row mt-50">
        <div class="col-lg-12 text-center">
            <a href="<?php echo e(route('plans')); ?>" class="btn btn--base"><?php echo app('translator')->get('View All Plans'); ?></a>
        </div>
    </div>
<?php endif; ?>
<?php /**PATH /home/tradveia/public_html/core/resources/views/templates/basic/partials/plans.blade.php ENDPATH**/ ?>