
<?php $__env->startSection('content'); ?>
    <div id="main-wrapper">

        <!--**********************************
    Nav header start
    ***********************************-->
        <div class="nav-header">
            <a href="index.html" class="brand-logo" aria-label="Gymove">
                <img class="brand-title" src="https://i.ibb.co/GvQRQF4/final-e1701807626614.png" alt="">
            </a>


            <div class="nav-control">
                <div class="hamburger">
                    <span class="line"></span><span class="line"></span><span class="line"></span>
                </div>
            </div>
        </div>

        <header class="header">
            <div class="header-content">
                <nav class="navbar navbar-expand">
                    <div class="collapse navbar-collapse justify-content-between">
                        <div class="header-left">
                            <div class="dashboard_bar">
                                Dashboard </div>
                        </div>
                        <ul class="navbar-nav header-right">


                            <li class="nav-item dropdown notification_dropdown">


                            </li>


                            <li class="nav-item dropdown header-profile">
                                <a class="nav-link" href="javascript:void(0)" role="button" data-bs-toggle="dropdown">
                                    <img src="<?php echo e(asset('Gymove_assets/public/assets/images/profile/17.jpg')); ?>"
                                        width="20" alt="">
                                    <div class="header-info">
                                        <span class="text-black"><strong>Peter Parkur</strong></span>
                                        <p class="fs-12 mb-0">Super Admin</p>
                                    </div>
                                </a>
                                <div class="dropdown-menu dropdown-menu-end">

                                    <a href="page_login.html" class="dropdown-item ai-icon">
                                        <svg id="icon-logout" xmlns="http://www.w3.org/2000/svg" class="text-danger"
                                            width="18" height="18" viewBox="0 0 24 24" fill="none"
                                            stroke="currentColor" stroke-width="2" stroke-linecap="round"
                                            stroke-linejoin="round">
                                            <path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path>
                                            <polyline points="16 17 21 12 16 7"></polyline>
                                            <line x1="21" y1="12" x2="9" y2="12"></line>
                                        </svg>
                                        <span class="ms-2">Logout </span>
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </div>
                </nav>
            </div>
        </header>

        <?php echo $__env->make('Admin.admin_dashboard_sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <div class="content-body default-height">
            <!-- row -->
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-6">
                     
                        <table class="table table-striped">
                            <tr>
                                <th>Serial</th>
                                <th>Profit Percentage</th>
                                <th>Created</th>
                            </tr>
                            <?php if(isset($profit_percentage)): ?>
                                <tr>

                                    <td><?php echo e($profit_percentage->id); ?></td>
                                    <td><?php echo e($profit_percentage->profit_percentage); ?>%</td>
                                    <td><?php echo e($profit_percentage->created_at->format('d-m-Y')); ?></td>
                                </tr>
                            <?php else: ?>
                                Nothing Added Yet
                            <?php endif; ?>
                        </table>





                    </div>
                    <div class="col-lg-4">
                        <div class="card">
                            <div class="card-header bg-primary">
                                <h3 class="text-white">Profit Percentage Add</h3>
                            </div>

                            <div class="card-body">
                                <form action="<?php echo e(route('profit_percentage_add.confirm')); ?>" method="POST">
                                    <?php echo csrf_field(); ?>
                                    <?php if(session('success')): ?>
                                        <div class="alert alert-success" role="alert">
                                            <?php echo e(session('success')); ?>

                                        </div>
                                    <?php endif; ?>
                                    <?php if(session('error')): ?>
                                        <div class="alert alert-danger" role="alert">
                                            <?php echo e(session('error')); ?>

                                        </div>
                                    <?php endif; ?>
                                    <div class="mb-3">
                                        <label for="" class="form-label">Invest Limit</label>
                                        <input type="number" name="profit_percentage" class="form-control" step="any">

                                    </div>
                                    <div class="mb-3">
                                        <button class="btn btn-primary">Submit</button>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <footer class="footer">
            <div class="copyright">
                <p>Designed &amp; Developed by <a href="https://softtech.com.bd/" target="_blank">SOFTTECH</a>
                    2023</p>
            </div>
        </footer>
        <!--**********************************
    Footer end
    ***********************************-->
        
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('Admin.admin_dashboard_links', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH H:\Laravel Projects\abir_vaiya's Second Project\Abir_vaiya_second_project\resources\views/Admin/profit_percentage_add.blade.php ENDPATH**/ ?>