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

<!-- ------------ month-loop  ------------- -->
<section class="box valign">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-5 valign">
                <div class="content w-100">
                    <h3 class="title wow fadeInUp"><?php echo e(date('F', strtotime($loopDetails['loop_date']))); ?>'s Loop</h3>
                    <div class="month-loop">
                        <div class="content row">
                            <div class="col-6">
                                <div class="items">
                                    <ul>
                                        <li>
                                            <p>start month</p>
                                            <span><?php echo e(date('M Y', strtotime($loopDetails['loop_date']))); ?></span>
                                        </li>
                                        <li>
                                            <p>loop's period</p>
                                            <span><?php echo e($loopDetails['period']); ?> months</span>
                                        </li>
                                        <li>
                                            <p>collecting month</p>
                                            <span><?php echo e(date('M Y', strtotime($loopDetails['encashment_month']))); ?></span>
                                        </li>
                                        <li>
                                            <p>monthly share</p>
                                            <span><?php echo e($loopDetails['share']); ?> SAR</span>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="col-6">
                                <div class="items">
                                    <p>loop value</p>
                                    <h5><?php echo e($totalShare); ?> SAR</h5>

                                    <small>management fees</small>
                                    <span><?php echo e($fees['managment_fees']); ?> SAR</span>

                                    <small>VAT</small>
                                    <span><?php echo e($fees['vat_fees']); ?> SAR</span>

                                    <small>Govemmental fees</small>
                                    <span><?php echo e($fees['government_fees']); ?> SAR</span>

                                    <p>tolat collection amounts</p>
                                    <h5> <?php echo e($totalShare + $totalFees); ?> SAR</h5>
                                </div>
                            </div>
                        </div>
                        <!-- <div class="btns">
                            <button type="button" data-toggle="modal" data-target="#exampleModalCenter" class="butn wow zoomIn">Pay Now</button>
                            <button type="button" data-toggle="modal" data-target="#exampleModalCenter2" class="butn wow zoomIn color">with darwl</button>
                        </div> -->
                    </div>
                </div>
            </div>
            <div class="col-lg-6 offset-lg-1 valign">
                <div class="right">
                    <div class="month-circle">
                        <ul>
                            <?php $__currentLoopData = $months; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $month): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <li class="<?php echo e($month['class']); ?>">
                                <span><?php echo e($month['month']); ?></span>
                                <a href="#0" disabled>
                                    <img src="<?php echo e(asset('assets/web/images/icons/'.$month['image'])); ?>" alt="">
                                </a>
                            </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                        </ul>
                    </div>
                    <!-- <div class="month-share text-center mt-5">
                        <a href="#"><i class="fas fa-minus"></i></a>
                        <span>monthly share <br> 3000 SAR</span>
                        <a href="#"><i class="fas fa-plus"></i></a>
                    </div> -->
                </div>
            </div>
        </div>
    </div>
</section>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
<script>
    var route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>";
    var url = "<?php echo e(url('/')); ?>/";
</script>

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




<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\wamp64\www\gam3iea\resources\views/admin/loops/loop_user_details.blade.php ENDPATH**/ ?>