 
 <?php $__env->startSection('content'); ?>
<div class="card">
      <div class="card-body">
           <div class="card-header">
           <form role="form" method="get" action="">
                  <div class="box-body">
                    <div class="row">
                      <div class="col-md-3">
                      <div class="form-group">
                              <!--<input type="text" name="search_mobile"  class="form-control  " value="<?php echo e(Request::get('search_mobile')); ?>" placeholder="user mobile">-->
                          <select  name="search_user"  class="form-control  " >
                              <option value="">Select Customer</option>
                              <?php $__currentLoopData = $customerss; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customers): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                               <option value="<?php echo e($customers->id); ?>" <?php echo e(Request::get('search_user') == $customers->id ? 'selected' : ''); ?>><?php echo e($customers->name); ?>  <?php echo e($customers->mobile_number); ?></option>
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                          </select>
                        </div>
                      </div>
                        
                         <input type="hidden" name="store_id"  class="form-control" value="<?php echo e(Request::get('store_id')); ?>" >
                      <div class="col-md-3">
                       <button type="submit" class="btn btn-success mr-2">Search</button>
                       <a href="<?php echo e(url('admin/your-store-palyed-open/'.$ids.'?store_id='.$storess->id)); ?>" class="btn btn-danger mr-2">Reset</a>
                        <!--<button type="submit" class="btn btn-danger mr-2">Reseat</button>-->
                  
                     </div>
                     
                   </div>
                 </div>
               </form>
        </div>
        <div class="card-header">
            <h3 class="card-title"><?php echo e($storess->name); ?> Open - <?php echo e(currentDate()); ?></h3>
            <h3 class="card-title">Total Bit Amount : ₹ <?php echo e($totalamount); ?></h3>
        </div>
        
        </div>
    
        
        <div class="card-body">
            <?php if(session()->has('message')): ?>
                <div class="alert alert-success">
                    <?php echo e(session()->get('message')); ?>

                </div>
            <?php endif; ?>
            <div id="example1_wrapper" class=" dt-bootstrap4">
                <div class="row">
                    <div class="col-sm-12">
                        <div style="overflow-x:auto;">
                       <div class='tablescroll'>
                            <div class="table-responsive">
                        <table id="example1" class="table table-bordered table-striped dataTable" role="grid"
                               aria-describedby="example1_info">
                            <thead>
                            <tr role="row">
                               <?php $__currentLoopData = $game; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $games): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <th class="sorting" tabindex="0" aria-controls="example1" rowspan="1" colspan="1"
                                    aria-label="Browser: activate to sort column ascending" style="width: 207px;">
                                    <?php echo e($games['name']); ?><br>Total Amount : <?php echo e($games['amount']); ?>

                                </th>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tr>
                            </thead>
                            <tbody>
                              <tr role="row">
                               <?php $__currentLoopData = $game; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $games): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <td>
                                    <?php if($result[$games['id']]!=''): ?>
                                  
                                      <?php $__currentLoopData = $result[$games['id']]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gamessss): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                      <h5>
                                        
                                          <?php if($games['id'] == 9 || $games['id'] == 10): ?>
                                         
                                            <?php echo e($gamessss->bit_place_panna); ?>, <?php echo e($gamessss->bit_place_single); ?>-<?php echo e($gamessss->total_val); ?>  
                                          <?php else: ?>
                                            <?php echo e($gamessss->bit_place); ?>-<?php echo e($gamessss->total_val); ?>  
                                          <?php endif; ?>
                                      
                                      </h5>
                                      <br>
                                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                   
                                   <?php endif; ?>
                                </th>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tr>
                            </tbody>
                   </table>
                   </div>
                   </div>
                   </div>

                  </div>
                </div>
              </div>
            </div>
          </div>


 <?php $__env->stopSection(); ?>
<?php $__env->startSection('js-content'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.main-layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/a1gamess/public_html/admin.a1gamess.com/resources/views/admin/your-played-game/open.blade.php ENDPATH**/ ?>