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


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

<?php echo e(Breadcrumbs::render('cancelbooking_detail',Crypt::encrypt($booking->id),($plot->plot_id.' '.$plot->type))); ?>


<?php if($booking->status == 'Unapprove'): ?>
 <?php echo $__env->make('booking.approve_booking', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

 <?php else: ?>

<?php ($label_list = EF::getWhiteLabel()); ?>
<div class="row">
  <div class="col-md-4 col-sm-12 " >  
   <div class="card">
     <div class="card-header">            
       <div class="card-title">
         <strong>Booking Information </strong>
       </div>
       
    </div>
    <div class ="card-body cls-clear-padding"> 
     <div class="cls_border-bottom"> </div>
     <div class="row">

      <div class="col-md-5 cls_alignment col-sm-6">
        <label class="form-label">Booking Details: </label>
      </div>
      <div class="col-md-7 cls_alignment col-sm-6">

       <?php echo e($plot->plot_id); ?> <?php echo e($plot->type); ?>, <?php echo e($plot->category); ?>


     </div>
   </div>

 <div class="cls_border-bottom"> </div>
 <div class="row">
  <div class="col-md-5  cls_alignment col-sm-6">
    <label class="form-label"><?php echo e(ucwords(str_replace('_',' ',$label_list['total_amount']))); ?>: </label>
  </div>
  <div class="col-md-7  cls_alignment col-sm-6">
    <?php echo e(EF::numberFormat($booking->rate_per_marla)); ?>

  </div>
</div>

<div class="cls_border-bottom"> </div>
<div class="row">
  <div class="col-md-5 cls_alignment col-sm-6">
    <label class="form-label"><?php echo e(ucwords(str_replace('_',' ',$label_list['discount']))); ?>: </label>
  </div>
  <div class="col-md-7  cls_alignment col-sm-6">
   <?php echo e(EF::numberFormat($booking->discount)); ?>

 </div>
</div>
<div class="cls_border-bottom"> </div>
<div class="row">
  <div class="col-md-5 cls_alignment col-sm-6">
    <label class="form-label" ><?php echo e(ucwords(str_replace('_',' ',$label_list['feature_charges']))); ?>: </label>
  </div>
  <div class="col-md-7 cls_alignment col-sm-6">
    <?php echo e(EF::numberFormat($booking->feature_charges)); ?>

  </div>
</div>
<div class="cls_border-bottom"> </div>
<div class="row">
  <div class="col-md-5  cls_alignment col-sm-6">
    <label class="form-label" ><?php echo e(ucwords(str_replace('_',' ',$label_list['agreed_amount']))); ?>: </label>
  </div>
  <div class="col-md-7  cls_alignment col-sm-6">
    <span class="badge badge-primary">
     <?php echo e(EF::numberFormat($booking->agreed_amount)); ?>

   </span>
 </div>
</div>
<div class="cls_border-bottom"> </div>
<?php ($balance_detail = $booking->getBalanceDetail($booking->id)); ?>

<div class="row">
  <div class="col-md-5  cls_alignment col-sm-6">
    <label class="form-label" >Received Amount: </label>
  </div>
  <div class="col-md-7  cls_alignment col-sm-6 ">
    <span class="badge badge-success"> <?php echo e(EF::numberFormat($balance_detail['debit'])); ?>

    </span>
  </div>
</div>
<div class="cls_border-bottom"> </div>

<div class="row">
  <div class="col-md-5  cls_alignment col-sm-6">
    <label class="form-label" >Balance Amount: </label>
  </div>
  <div class="col-md-7  cls_alignment col-sm-6">
    <span class="badge badge-danger">
     <?php echo e(EF::numberFormat($balance_detail['credit'])); ?>

   </span>
 </div>
</div>
<div class="cls_border-bottom"> </div>
<div class="row">
  <div class="col-md-5  cls_alignment col-sm-6">
    <label class="form-label" ><?php echo e(ucwords(str_replace('_',' ',$label_list['booking_date']))); ?>: </label>
  </div>
  <div class="col-md-7 cls_alignment  col-sm-6">
   <?php echo e(EF::dateFormat($booking->created_at)); ?>

 </div>
</div>
<div class="cls_border-bottom"> </div>
<div class="row">
  <div class="col-md-5  cls_alignment col-sm-6">
    <label class="form-label" ><?php echo e(ucwords(str_replace('_',' ',$label_list['approve_date']))); ?>: </label>
  </div>
  <div class="col-md-7 cls_alignment  col-sm-6">
   <?php echo e(EF::dateFormat($booking->approve_date)); ?>

 </div>
</div>

<div class="cls_border-bottom"> </div>
</div>

<div class="card-status  card-status-left bg-blue">
</div>

</div>                 
</div>


<div class = "col-md-8 col-sm-12">
  <div class = "row">

    <?php echo $__env->make('booking.manage_canceldetails', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>


  </div>





</div> 

</div>
<?php endif; ?>

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


<?php $__env->startSection('page_modal'); ?>
<div id="modal_add_payment"> </div>
<div id="modal_update_payment"> </div>
<div id="modal_payment_voucher"> </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('page_script'); ?>
<?php echo $__env->make('scripts.payment', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> 
<?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/cancel_bookingdetails.blade.php ENDPATH**/ ?>