<?php $__env->startSection('content'); ?>
    <section class="plan-section padding-top padding-bottom oh">
        <div class="container">
            <div class="row justify-content-center">
                <?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-md-6 col-lg-4">
                        <div class="plan-item">
                            <div class="plan-header">
                                <span class="plan-badge">
                                    <?php echo e(__($plan->title)); ?>

                                </span>
                                <div class="icon">
                                    <i class="fas fa-piggy-bank"></i>
                                </div>
                                <h3 class="title"><?php echo e($general->cur_sym); ?><?php echo e(getAmount($plan->price)); ?></h3>
                            </div>
                            <ul class="plan-info">
                                <li>
                                    <h6 class="direct"><?php echo app('translator')->get('Direct Referral Donation'); ?> :
                                        <?php echo e($general->cur_sym); ?><?php echo e(getAmount($plan->donation)); ?></h6>
                                </li>
                                <?php
                                    $sumCommission = 0;
                                ?>

                                <?php $__currentLoopData = $levels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php
                                        $matrixCal = pow($general->matrix_width, $loop->iteration);
                                        $commission = getAmount($plan->donation * $matrixCal);
                                        $sumCommission += $commission;
                                    ?>

                                    <li>
                                        <?php echo app('translator')->get('L'); ?><?php echo e($loop->iteration); ?> :
                                        <?php echo e(__($general->cur_sym)); ?><?php echo e(getAmount($plan->donation)); ?> X <?php echo e($matrixCal); ?> <i
                                            class="fa fa-users"></i> = <strong
                                            class="profit"><?php echo e(__($general->cur_sym)); ?><?php echo e($commission); ?></strong>
                                    </li>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </ul>
                            <div class="total-return">
                                <h6 class="title"><?php echo app('translator')->get('Total Level Wise Donation'); ?> : <?php echo e(getAmount($sumCommission)); ?>

                                    <?php echo e(__($general->cur_text)); ?></h6>
                                
                            </div>

                            <div class="invest-now py-3 d-flex justify-content-center">
                                <a href="<?php echo e(route('user.home')); ?>" class="btn btn--base btn-lg d-flex flex-column">
                                    <div class="my-auto"><?php echo app('translator')->get('Donate Now'); ?></div>
                                </a>
                            </div>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>
    </section>

    <?php if (isset($component)) { $__componentOriginalbd5922df145d522b37bf664b524be380 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalbd5922df145d522b37bf664b524be380 = $attributes; } ?>
<?php $component = App\View\Components\ConfirmationModal::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('confirmation-modal'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\ConfirmationModal::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['is_custom' => 'yes']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalbd5922df145d522b37bf664b524be380)): ?>
<?php $attributes = $__attributesOriginalbd5922df145d522b37bf664b524be380; ?>
<?php unset($__attributesOriginalbd5922df145d522b37bf664b524be380); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalbd5922df145d522b37bf664b524be380)): ?>
<?php $component = $__componentOriginalbd5922df145d522b37bf664b524be380; ?>
<?php unset($__componentOriginalbd5922df145d522b37bf664b524be380); ?>
<?php endif; ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make($activeTemplate . 'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eofap/public_html/core/resources/views/templates/basic/plan.blade.php ENDPATH**/ ?>