

<?php $__env->startSection('title'); ?>
    BETTING VOICE | Plan Manager
<?php $__env->stopSection(); ?>
<?php $__env->startSection('page'); ?>
    Subscription Plan Manager
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="col" style="min-height: 323px;;">
        <br>

        <div class="row" style="margin-top: -20px;">
            <?php foreach($data->all() as $plan): ?>
                <div class="col-md-4 col-sm-4 col-xs-12 profile_details">
                    <div class="well profile_view">
                        <div class="col-sm-12">
                            <div class="left col-xs-10">
                                <h1><?php echo e($plan->category); ?> <br><small>(<?php echo e($plan->planName); ?>) - <?php echo e($plan->accessTime); ?></small></h1>
                                <p><strong>Naira: </strong> N<?php echo e($plan->nairaPrice); ?> </p>
                                <p><strong>Kenya Shillings: </strong> KSH<?php echo e($plan->keshPrice); ?> </p>
                                <p><strong>Dollar: </strong> $<?php echo e($plan->dollarPrice); ?> </p>
                            </div>
                            <div class="right col-xs-2 text-center"><br><br>
                                <span class="fa fa-4x fa-certificate"></span>
                            </div>
                        </div>
                        <div class="col-xs-12 bottom text-center">
                            <div class="col-xs-12 col-sm-6 emphasis pull-right">
                                <button type="button" class="btn btn-primary btn-xs planLoader" data-target="#planEditor" data-toggle="modal" data-id="<?php echo e($plan->id); ?>">
                                    <i class="fa fa-edit"> </i> Edit/Update
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            <?php endforeach; ?>
        </div>
    </div>

    <div class="modal" id="planEditor">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <a href="" data-dismiss="modal"><div class="pull-right"><span class="fa fa-times"></span></div></a>
                    <h5>PLAN EDITOR</h5>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-sm-12" id="planBody">

                        </div>
                    </div>
                </div>
                <div class="modal-footer"></div>
            </div>
        </div>
    </div>


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

<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>