---------------------------------------------------------------
<?php echo e($details['storess']->name); ?> <?php echo e($details['type'] == 'open' ? 'Open' : 'Close'); ?> - <?php echo e($details['date']); ?>

----------------------------------------------------------------
                               <?php $__currentLoopData = $details['game']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $games): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                               -----------------------------------------------------------
                               *<?php echo e($games['name']); ?> Total Amount : <?php echo e($games['amount']); ?>*
                               -----------------------------------------------------------
                               <br>
                               <?php
                               $groupedBets = [];
                               ?>
                               
                                     <?php if($details['result'][$games['id']]!=''): ?>
                                    
                                        <?php $__currentLoopData = $details['result'][$games['id']]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gamessss): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <?php if($games['id']==9 || $games['id']==10): ?>
                                                
                                                
                                                <?php
                                                    $groupedBets = [];
                                                    foreach ($details['result'][$games['id']] as $bet) {
                                                        $key = $bet->bit_place_panna . ',' . $bet->bit_place_single;
                                                        if (!isset($groupedBets[$key])) {
                                                            $groupedBets[$key] = 0;
                                                        }
                                                        $groupedBets[$key] += $bet->total_val;
                                                    }
                                                ?>
                                        
                                               
                                            <?php else: ?>
                                                
                                                
                                                <?php
                                                    $groupedBets = []; 
                                                    foreach ($details['result'][$games['id']] as $bet) {
                                                        $key = $bet->bit_place;
                                                        if (!isset($groupedBets[$key])) {
                                                            $groupedBets[$key] = 0;
                                                        }
                                                        $groupedBets[$key] += $bet->total_val;
                                                    }
                                                ?>
                                        
                                               
                                            <?php endif; ?>
                                        
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                    <?php endif; ?>
                                         <?php if($games['id']==9 || $games['id']==10): ?>
                                        <?php $__empty_1 = true; $__currentLoopData = $groupedBets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bitPlace => $totalVal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                       
                                            <?php echo e($bitPlace); ?> - <?php echo e($totalVal); ?>

                                            <br>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                            No Bets !!!
                                        <?php endif; ?>
                                        
                                        <?php else: ?>
                                        
                                        <?php $__empty_1 = true; $__currentLoopData = $groupedBets; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $bitPlace => $totalVal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                          <?php echo e($bitPlace); ?> - <?php echo e($totalVal); ?>

                                          <br><br>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                            No Bets !!!
                                        <?php endif; ?>
                                        
                                        <?php endif; ?>

                                   
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                
                                ------------------------------------------------
                                Total Bit Amount : ₹ <?php echo e($details['totalamount']); ?>

                                ------------------------------------------------
<?php /**PATH /home/a1gamess/public_html/admin.a1gamess.com/resources/views/played-text.blade.php ENDPATH**/ ?>