
<?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="logo-abbr" src="<?php echo e(asset('Gymove_assets/public/assets/images/logo.png')); ?>" alt="">
    <img class="logo-compact" src="<?php echo e(asset('Gymove_assets/public/assets/images/logo-text.png')); ?>" alt="">
    <img class="brand-title" src="<?php echo e(asset('Gymove_assets/public/assets/images/logo-text.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-12">
            <div class="card">
                <div class="card-header bg-primary">
                    <h4 class="card-title text-white">Accept Request</h4>
                </div>
                <div class="card-body">
                    <div class="table-responsive">
                        <table id="example" class="display min-w850">
                            <thead>
                                <tr>
                                    <th>Serial</th>
                                    <th>UserName</th>
                                    <th>Refer Id</th>
                                    <th>Transaction Phone Number</th>
                                    <th>transaction_number</th>
                                    <th>Mobile Operator</th>
                                    <th>Tk</th>
                                    <th>Duration</th>
                                    <th>Status</th>
                                    <th>Action</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php $__empty_1 = true; $__currentLoopData = $invest_money; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$invest): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
        <tr>
            <td><?php echo e($key+1); ?></td>
            <td><?php echo e($invest->rel_to_user->name); ?></td>
            <td><?php echo e($invest->rel_to_user->Refer_id); ?></td>
            <td><?php echo e($invest->phone_number); ?></td>
            <td><?php echo e($invest->transaction_number); ?></td>
            <td><?php echo e($invest->mobile_operator); ?></td>
            <td><?php echo e($invest->Tk); ?></td>
            <td><?php echo e($invest->time_period); ?></td>
            <td>
                <?php if($invest->status == 1): ?>
                <div class="alert alert-success" role="alert">
                    Accepted
                  </div>
                  
                <?php endif; ?>
            </td>
            <td>
                <div class="btn-group">
                    <button type="button" class="btn btn-danger dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
                      Action
                    </button>
                    <ul class="dropdown-menu">
                      <li><a class="dropdown-item" href="<?php echo e(route('reject.customer_invest',$invest->id)); ?>">Reject</a></li>
                      
                    </ul>
                  </div>
            </td>
        </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
        <?php endif; ?>
                              
                                
                            </tbody>
                            <tfoot>
                                <tr>
                                    <th>Serial</th>
                                <th>UserName</th>
                            <th>Refer Id</th>
                               <th>Transaction Phone Number</th>
                               <th>transaction_number</th>
                               <th>Mobile Operator</th>
                               <th>Tk</th>
                               <th>Duration</th>
                               <th>Status</th>
                               <th>Action</th>
                                </tr>
                            </tfoot>
                        </table>
                    </div>
                </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>
<script>
    $(document).ready( function () {
    $('#myTable').DataTable();
} );
</script>

<?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/accept_request.blade.php ENDPATH**/ ?>