<?php $__env->startSection('page_title'); ?>
	Booking
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_header_title'); ?>
	Block Booking
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_body'); ?>

<?php echo e(Breadcrumbs::render('blockbooking')); ?>

<div class="row row-cards row-deck">
    <div class="col-12">                

            <div class="card">
                	     <div class="card-header">					   
					    
                        <div class="col-md-3">
                          <h3 class="card-title">Blocked Bookings</h3>

                        </div>

                        <div class="col-md-5"></div>
                            
                        <div class="col-md-3" style="margin-left: 90px;">
                            <?php ($datatable_key = Crypt::encrypt('Block Booking')); ?>
                            <select onchange="showBranchWiseDataTable(event,this,'<?php echo e($datatable_key); ?>','show_blockbookings');" name="branch" class="form-control form-control-sm">
                              <option value="<?php echo e(Crypt::encrypt(0)); ?>">Select <?php echo e(ucwords(str_replace('_',' ',EF::branchWhiteLabel()['module']))); ?></option>
                  
                              <?php $__currentLoopData = $branch; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <option value="<?php echo e(Crypt::encrypt($rows->id)); ?>"><?php echo e($rows->name); ?> (<?php echo e($rows->code); ?>)</option>
                              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                        </div>

					            </div>

                    <div class="card-status card-status-left bg-blue"></div>
                  <div class="table-responsive">
                    <table class="table table-hover table-outline table-vcenter text-nowrap card-table cls_datatable">
                      <thead>
                        <tr>
                          
                          <th>Sr #</th>
                          <th>Reg #</th>
                          <th>Name</th>
                          <th>Cnic</th>
                          <th>Contact</th>
                          <th>Booking Details</th>
                          <th><?php echo e(ucwords(str_replace('_',' ',EF::branchWhiteLabel()['module']))); ?></th> 
                          <th>Booking Date</th>
                                                    
                        </tr>
                      </thead>
                      
                      <tbody id="show_blockbookings">
                      <?php echo $view_booking; ?> 
                      </tbody>

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

<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_modal'); ?>
  
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_script'); ?>
 

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/booking/view_block_booking.blade.php ENDPATH**/ ?>