<?php $__env->startSection('content'); ?>

    <div class="side-title">
        <h3><?php echo e($title ?? ''); ?></h3>
    </div>

    <div class="border-item">
        <form class="form-row"  >
            <?php if($message): ?>
                <div class="col-lg-12" >
                    <h5><?php echo e($message); ?></h5>
                </div>
            <?php endif; ?>
            <div class="col-lg-12" >
                <?php $__currentLoopData = $packages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="row pricing-list-item mb-4 "  style="background-color: rgba(21,97,203,0.1);height:auto;padding: 20px">
                        <div class="form-group col-lg-6" >
                            <label><?php echo e(__('packages.title')); ?> </label>
                            <input type="text" class="form-control" disabled  value='<?php echo e($row->title); ?>'/>
                        </div>
                        <div class="form-group col-lg-6" >
                            <label><?php echo e(__('packages.length')); ?> </label>
                            <input type="text" class="form-control" disabled  value='<?php echo e($row->length); ?>'/>
                        </div>
                        <?php if($row->cost_discount): ?>
                            <div class="form-group col-lg-6" >
                                <label><?php echo e(__('packages.cost_before_discount')); ?> </label>
                                <input type="text" class="form-control" disabled  value='<?php echo e($row->cost); ?>'/>
                            </div>
                            <div class="form-group col-lg-6" >
                                <label><?php echo e(__('packages.cost_discount')); ?> </label>
                                <input type="text" class="form-control" disabled  value='<?php echo e($row->cost_discount); ?>'/>
                            </div>
                        <?php else: ?>
                        
                            <div class="form-group col-lg-6" >
                                <label><?php echo e(__('packages.cost')); ?> </label>
                                <input type="text" class="form-control" disabled  value='<?php echo e($row->price); ?>'/>
                            </div>
                        <?php endif; ?>
                        <div class="form-group col-lg-12" >
                            <?php if($row->lastSubscribe()): ?>
                                <?php if($row->lastSubscribe() > date('Y-m-d')): ?>
                                    <label><?php echo e(__('subscribes.end_subscribe')); ?> </label>
                                    <input type="text" class="form-control" disabled  value='<?php echo e($row->lastSubscribe()->end_date); ?>'/>
                                <?php endif; ?>
                            <?php endif; ?>
                        </div>

                        <div class=" col-4"></div>
                        <div class="text-center mt-5 col-4">
                            <a href="<?php echo e(route('subscribe.edit',$row->id)); ?>" class="butn"><span><?php echo e(__('packages.subscribe')); ?></span></a>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>



        </form>
    </div>
<?php $__env->stopSection(); ?>



<?php $__env->startSection('inner_js'); ?>

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

<?php echo $__env->make('store.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/made/resources/views/store/subscribe/index.blade.php ENDPATH**/ ?>