<?php $__env->startSection('title'); ?>
    <?php echo e(__('addons')); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="content-wrapper">
        <div class="page-header">
            <h3 class="page-title">
                <?php echo e(__('manage') . ' ' . __('addons')); ?>

            </h3>
        </div>
        <div class="row">
            <div class="col-md-12 grid-margin stretch-card">
                <div class="card">
                    <div class="card-body">
                        <div class="row pricing-table">
                            <?php $__currentLoopData = $addons; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $addon): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="col-md-6 col-xl-3 grid-margin stretch-card pricing-card">
                                    <div class="card border-primary ribbon  border pricing-card-body">
                                        <div class="text-center pricing-card-head mb-2 text-center">
                                            <h4><?php echo e($addon->name); ?></h4>
                                            <p><?php echo e(__('price')); ?> : <?php echo e($settings['currency_symbol'] ?? null); ?> <?php echo e(number_format($addon->price, 2)); ?> </p>
                                            <h1 class="font-weight-normal mb-2"></h1>
                                            <hr>
                                            <div class="text-center">
                                                <?php echo e($addon->feature->name); ?>

                                            </div>
                                            <hr>
                                        </div>
                                        <div class="wrapper">
                                            <?php if(in_array($addon->feature_id, $subscibed_addons)): ?>
                                                <button disabled data-id="<?php echo e($addon->id); ?>" class="btn btn-outline-success add-addon btn-block"><?php echo e(__('added')); ?></button>
                                            <?php else: ?>
                                                <button data-id="<?php echo e($addon->id); ?>" class="btn btn-outline-success add-addon btn-block"><?php echo e(__('add')); ?></button>
                                            <?php endif; ?>
                                            
                                        </div>

                                    </div>
                                </div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/mimeld/mxul.mimeld.com/resources/views/addons/plan.blade.php ENDPATH**/ ?>