





<?php $__env->startSection('content'); ?>
<style>

.circle { 
   width: 140px;
   height: 140px;
   background: lightgray; 
   -moz-border-radius: 70px; 
   -webkit-border-radius: 70px; 
   border-radius: 70px;
}
</style>

<div class="container-fluid">
  <div class="row">
    <div class="col-xl-12">
        <div class="card">
            <div class="card-body">
              <div class="table-responsive">
                 <h4><u>Show Timings</u></h4>
                <?php $__currentLoopData = $organisations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $organisation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                  <div class="card-header">
                      <span style="color: blue;"> <?php echo e($organisation->organisation_name); ?>, <?php echo e($organisation->city); ?> </span>
                  </div>
                  <table class="table table-sm table-responsive-sm mb-0" style="font-size:100% width: 70%;" align="center">
                    <thead>
                        <tr>
                            <th class="align-middle" style="height: 50px;">#</th>
                            <th class="align-middle">Facility Name</th>
                            <th class="align-middle pr-7" style="text-align: center;">Show Start Time</th>
                            <th class="align-middle" style="text-align: center;">Show End Time</th>
                            <th class="align-middle" style="text-align: center;">&nbsp;</th>
                        </tr>
                    </thead>
                    <?php 
                      $organisation_id = $organisation->id;
                      $n=0;
                      $bgcolor = '#ebe8e8';
                    ?>
                    <?php if(isset($facilities[$organisation_id])): ?>
                      <?php $__currentLoopData = $facilities[$organisation_id]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $facility): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php  
                          $n++;                            
                          $facility_id = $facility->id;
                          $facility_name = $facility->facility_name;
                          $slno = $n;
                          if($bgcolor=='#ebe8e8')
                            $bgcolor = '#fff';
                          else
                            $bgcolor = '#ebe8e8';
                        ?>
                        <?php $__currentLoopData = $showtimtings[$facility_id]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $shows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                          <tr class="btn-reveal-trigger" style="background-color: <?php echo e($bgcolor); ?>;">
                              <td class="py-2" style="height: 50px;"><?php echo e($slno); ?></td>
                              <td class="py-2"><?php echo e($facility_name); ?></td>
                              <td class="py-2" style="text-align: center;">
                                <?php echo e(date("g:i A", strtotime($shows->from_time))); ?>

                              </td>
                              <td class="py-2" style="text-align: center;">
                                <?php echo e(date("g:i A", strtotime($shows->to_time))); ?>

                              </td>
                              <td><?php echo e($shows->remark); ?></td>
                          </tr>
                          <?php
                            $facility_name = '';
                            $slno = '';
                          ?>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                  </table>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
              </div>
            </div>
        </div>
    </div>
  </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        $("#centreselection").modal('show');
    });
</script>
<?php $__env->stopSection(); ?>			
<?php echo $__env->make('layout.public', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/ksstmprod/resources/views/tickets/shows.blade.php ENDPATH**/ ?>