
<div class = "col-md-12 col-sm-12">
  <div class= "card " style="height:425px;">
    <div class="card-status bg-yellow">
    </div>
    <div class="card-header">             
     <h3 style="padding-top:15px; padding-bottom:15px;" class="card-title">Cancel Details</h3>
   </div>
   <div class="table-responsive booking-table-height">
    <table class="table table-hover table-outline table-vcenter text-nowrap card-table">
      <thead>
        <tr>
          <th>Name</th>
          <th>Description</th>
          <th>Amount</th>
          <th>Received</th> 
          <th>Balance</th>   


          <th>Status</th>
          <th style="text-align: center;"><i class="dropdown-icon fa fa-cogs"></i></th>                          
        </tr>
      </thead>
      <tbody>
        <?php if(isset($commission_list)): ?>
        <?php $__currentLoopData = $commission_list; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rows): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

        <?php ($pass_data = []); ?>



       

        <?php if($rows->payment_type == "Refund" || $rows->payment_type == "Deduction"): ?>

       

        <tr>
     
          <td><?php echo e(ucfirst($rows->user->name)); ?> (<?php echo e($rows->commission_type); ?>)</td>

          <td><?php echo e($rows->description); ?></td>
          <td><?php echo e(EF::numberformat($rows->amount)); ?></td>
          <td><?php echo e(EF::numberformat($rows->received_amount)); ?></td>
          <td><?php echo e(EF::numberformat($rows->amount - $rows->received_amount)); ?></td>




          <td><?php echo e($rows->status); ?></td>
          <td class="text-center"> 
            <?php if($rows->status == 'Unpaid'): ?>
            <div class="item-action dropdown">
              <a href="javascript:void(0)" data-toggle="dropdown" class="icon"><i class="fa fa-list-ul"></i></a>
              <div class="dropdown-menu dropdown-menu-right">
            
               <?php if(Auth::user()->hasAnyPermission(['All','Pay Commission'])): ?>
                <a href="#" id="pay" class="dropdown-item" onclick="showPayPaymentModel(event,'<?php echo e(Crypt::encrypt(EF::getGenericTableIndex()['Commission'])); ?>','<?php echo e(Crypt::encrypt($rows->id)); ?>')"><i class="dropdown-icon fa fa-money"   ></i> Pay </a>
               <?php endif; ?>
             </div>
           </div>
           <?php endif; ?>


         </td>

       </tr>
       <?php endif; ?>
       <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
       <?php endif; ?>
     </tbody>
   </table>
 </div>                               


</div>
</div>


<?php /**PATH /home/ubuntu/rebmgisplus/skylite/resources/views/booking/manage_canceldetails.blade.php ENDPATH**/ ?>