





<?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>Ticket Rates</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;">Adult Rate</th>
                            <th class="align-middle" style="text-align: center;">Child Rate</th>
                        </tr>
                    </thead>
                    <?php 
                      $organisation_id = $organisation->id;
                      $n=0;
                    ?>
                    <?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;
                        ?>
                        <tr class="btn-reveal-trigger">
                            <td class="py-2" style="height: 50px;"><?php echo e($n); ?></td>
                            <td class="py-2"><?php echo e($facility->facility_name); ?></td>
                            <td class="py-2" style="text-align: center;">
                              <i class='fa fa-rupee'></i>&nbsp;
                              <?php if(isset($rates[$facility_id]->adult_rate)): ?>
                                <?php echo e($rates[$facility_id]->adult_rate); ?>

                              <?php endif; ?>
                            </td>
                            <td class="py-2" style="text-align: center;">
                              <i class='fa fa-rupee'></i>&nbsp;
                              <?php if(isset($rates[$facility_id]->child_rate)): ?>
                                <?php echo e($rates[$facility_id]->child_rate); ?>

                              <?php endif; ?>
                            </td>
                           
                        </tr>
                      <?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/ksstmorg/resources/views/tickets/rates.blade.php ENDPATH**/ ?>