<?php $__env->startSection('content'); ?>
    <link href="<?php echo e(asset('css/invest.css')); ?>" rel="stylesheet" type="text/css">

    <body class="investPage">

        <form action="<?php echo e(route('user.investment')); ?>" method="post">
            <?php echo csrf_field(); ?>

            <div class="app h5MaxWidth">
                <div class="pageHead display alignCenter">
                    <div class="logo flex1"><img src="<?php echo e(asset('assets/images/logoIcon/logo.png')); ?>" alt=""></div>
                </div>
                <div class="subject">
                    <div class="groundSkin display alignStart justifyEnd">
                        <img src="<?php echo e(asset('img/1.png')); ?>" alt="">
                    </div>
                </div>
                <div class="main">
                    <div class="financialList radius15PX">
                        <div class="swiper-container tagNavBar radius500PX isScrollTo flex1 display alignCenter"
                            id="tagNavBar">
                            <div class="swiper-wrapper radius500PX tagNavList alignEnd flex1">
                                <div class="swiper-slide tagNav tag_1 selected" data-type="1">
                                    <div class="radius500PX display alignCenter">
                                        <p>Daily</p>
                                    </div>
                                </div>
                                
                            </div>
                            <div class="myOrders">
                                <div class="radius500PX display alignCenter">
                                    <i class="iconfont icon-shield-document"></i>
                                </div>
                            </div>
                        </div>
                        <div class="ivestList typeList" id="typeList">
                            <!-- LIST BOX -->
                            <div class="productList" id="typeList1" style="display: block;">
                                <div class="explain length-limit-10">
                                    <h4>Daily product introductory</h4>
                                    <p>"Daily and high yield coexist, you deserve to have the best choice of financial
                                        management!" </p>
                                </div>
                                <div class="list">
                                    <ul>
                                        <?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <li class="goodsState_3"
                                                onclick="financeProduct({'create_time':'2024-08-30 07:18:55','daily_earnings':1125,'daily_earnings_s':'1,125','daily_yield':0.45,'daily_yield_s':'0.4500','each_price':2500,'each_price_s':'2,500','id':1,'maximum_share':100,'product_img':'001.png','product_name':'Tourmaline','revenue_days':30,'sort_number':1,'status':3,'stock_number':958101,'total_revenue':33750,'total_revenue_s':'33,750','type':1,'vip':{'create_time':'2024-08-30 07:18:39','customer_count':83452,'id':1,'level_number':0,'require_invest':0,'require_invest_s':'0','require_invite':0,'salary_money':0,'salary_money_s':'0','vip_code':'vip0','vip_name':'VIP 0'},'vip_id':1})">
                                                <div class="eachPrice display alignStart">
                                                    <div class="attribute radius15PX">
                                                        <ol class="cell">
                                                            <li>
                                                                <div class="title">
                                                                    <h3> <?php echo e($plan->name); ?> </h3>
                                                                </div>
                                                            </li>
                                                            <li class="display alignCenter">
                                                                <div class="infoBar display alignCenter flex1">
                                                                    <div class="titleLabel flex1">
                                                                        <span>Each Price</span>
                                                                    </div>
                                                                    <div class="contInfo">
                                                                        <h4><em
                                                                                class="currency">₦</em><?php echo e(number_format($plan->min_amount)); ?>

                                                                        </h4>
                                                                    </div>
                                                                </div>
                                                            </li>
                                                            <li class="display alignCenter">
                                                                <div class="infoBar display alignCenter flex1">
                                                                    <div class="titleLabel flex1">
                                                                        <span>Daily earnings</span>
                                                                    </div>
                                                                    <div class="contInfo">
                                                                        <h4><em
                                                                                class="currency">₦</em><?php echo e(number_format($plan->interest_amount)); ?>

                                                                        </h4>
                                                                    </div>
                                                                </div>
                                                            </li>
                                                            <li class="display alignCenter">
                                                                <div class="infoBar display alignCenter flex1">
                                                                    <div class="titleLabel flex1">
                                                                        <span>Total revenue</span>
                                                                    </div>
                                                                    <div class="contInfo">
                                                                        <h4><em
                                                                                class="currency">₦</em><?php echo e(number_format($plan->interest_amount * $plan->total_return)); ?>

                                                                        </h4>
                                                                    </div>
                                                                </div>
                                                            </li>
                                                            <li class="display alignCenter">
                                                                <div class="infoBar display alignCenter flex1">
                                                                    <div class="titleLabel flex1">
                                                                        <span>Revenue days</span>
                                                                    </div>
                                                                    <div class="contInfo">
                                                                        <h4><?php echo e($plan->total_return); ?><em
                                                                                class="unit">Days</em></h4>
                                                                    </div>
                                                                </div>
                                                            </li>
                                                            
                                                            <li class="stateName display alignCenter">
                                                                <div class="infoBar display alignCenter flex1">
                                                                    <div class="titleLabel flex1">
                                                                        <span>State</span>
                                                                    </div>
                                                                    <div class="contInfo">
                                                                        <h4>Sale</h4>
                                                                    </div>
                                                                </div>
                                                            </li>
                                                            
                                                            <li>
                                                                <input name="id" type="hidden"
                                                                    value="<?php echo e($plan->id); ?>">
                                                                <button type="submit"
                                                                    style="float: right; background:transparent;border:none;"
                                                                    class="headForBtn display alignCenter justifyEnd">
                                                                    <p>Invest Now <i class="iconfont icon-arrow-right"></i>
                                                                    </p>
                                                                </button>
                                                            </li>
                                                        </ol>
                                                    </div>
                                                    <div class="sketch radius15PX display alignCenter justifyCenter">
                                                        <img src="<?php echo e(asset('img/001.png')); ?>" alt="">
                                                    </div>
                                                </div>
                                            </li>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </ul>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </form>
        <?php echo $__env->make('templates.basic.partials.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>





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



<?php $__env->startPush('style'); ?>
    <style type="text/css">
        #copyBoard {
            cursor: pointer;
            height: 100%;
        }

        .input-group-text {
            background-color: #0a1227;
            border: 1px solid #373768;
            color: #fff;
        }

        #referralURL {
            background: #20204e;
            border-color: #20204e;
            color: #fff;
        }

        #social-links ul li {
            list-style: none !important;
            display: inline-block;
        }

        #social-links ul a {
            display: block;
            padding: 4px 10px;
        }
    </style>
<?php $__env->stopPush(); ?>

<?php $__env->startPush('script'); ?>
    <link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
    <script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>

    <script>
        $(document).ready(function() {
            $('.js-example-basic-single').select2({
                theme: "classic"
            });
        });
        (function($) {

            "use strict";
            $('.planModal').on('click', function() {
                var modal = $('#planModal');
                modal.find('input[name=id]').val($(this).data('id'));
                modal.find($('#planModalLabel').text($(this).data('name')));
            });
            $('.copyBoard').click(function() {
                "use strict";
                var copyText = document.getElementById("referralURL");
                copyText.select();
                copyText.setSelectionRange(0, 99999);
                /*For mobile devices*/
                document.execCommand("copy");
                iziToast.success({
                    message: "Copied: " + copyText.value,
                    position: "topRight"
                });
            });
        })(jQuery);
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.users', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/AMPPS/www/olam/core/resources/views/templates/basic/user/plans.blade.php ENDPATH**/ ?>