    <div class="card card-outline-info">
    <div class="row">
    <div class="card-body">
            <h3 class="card-title">Plot Summary</h3>
            <div class="row">
              <div class="col-md-3" id="registryAmount">
                  <div class="form-group">
                      <label class="control-label font-bold" for="registry_amount">Name : </label>
                      <span class="" id="registry_amount"><?php echo e($plot->name); ?></span>
                  </div>
              </div>
              <div class="col-md-3" id="registryAmount">
                  <div class="form-group">
                      <label class="control-label font-bold" for="registry_amount">Area : </label>
                      <span class="" id="registry_amount"><?php echo e($plot->area); ?></span>
                  </div>
              </div>
              <div class="col-md-3" id="registryAmount">
                  <div class="form-group">
                      <label class="control-label font-bold" for="registry_amount">Dimension : </label>
                      <span class="" id="registry_amount"><?php echo e($plot->dimension); ?></span>
                  </div>
              </div>
              <div class="col-md-3" id="registryAmount">
                  <div class="form-group">
                      <label class="control-label font-bold" for="registry_amount">Project Name : </label>
                      <span class="" id="registry_amount"><?php echo e($plot->projectName); ?></span>
                  </div>
              </div>
              <div class="col-md-3" id="registryAmount">
                  <div class="form-group">
                      <label class="control-label font-bold" for="registry_amount">Sector Name : </label>
                      <span class="" id="registry_amount"><?php echo e($plot->sectorName); ?></span>
                  </div>
              </div>
              <div class="col-md-3" id="registryAmount">
                  <div class="form-group">
                      <label class="control-label font-bold" for="registry_amount">Block Name : </label>
                      <span class="" id="registry_amount"><?php echo e($plot->blockName); ?></span>
                  </div>
              </div>
              <div class="col-md-3" id="registryAmount">
                  <div class="form-group">
                      <label class="control-label font-bold" for="registry_amount">Status : </label>
                      <span class="" id="registry_amount"><?php echo e(ucfirst($plot->status)); ?></span>
                  </div>
              </div>
            </div>
            <h3 class="card-title">Deal Summary</h3>
            <div class="row" id="full_payment">
              <?php $__currentLoopData = $invoices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $invoice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-md-3" id="registryAmount">
                    <div class="form-group">
                        <label class="control-label font-bold" for="registry_amount"><?php echo e($invoice->comment); ?> : </label>
                        <span class="" id="registry_amount"><?php echo e(IND_money_format($invoice->amount, 2)); ?></span>
                        <span class="label label-<?php echo e(($invoice->status)?'info':'warning'); ?>" style="color:#fff;">[<?php echo e(($invoice->status)?'Paid on '.$invoice->paid_on:'Pending'); ?>]</span>
                    </div>
                </div>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <div class="col-md-3" id="registryAmount">
                    <div class="form-group">
                        <label class="control-label font-bold" for="registry_amount">Total Payment Done : </label>
                        <span class="" id="registry_amount"><?php echo e(IND_money_format($deal->paid_amount, 2)); ?></span>
                    </div>
                </div>
                <div class="col-md-3" id="registryAmount">
                    <div class="form-group">
                        <label class="control-label font-bold" for="registry_amount">Total Due Amount : </label>
                        <span class="" id="registry_amount"><?php echo e(IND_money_format($deal->due_amount, 2)); ?></span>
                    </div>
                </div>
            </div>
      <h3 class="card-title">Payments Done</h3>
        <div class="x_content">
          <table id="datatable-fixed-header" class="table table-striped table-bordered">
            <thead>
              <tr>
                <th>Amount</th>
                <th>Remark</th>
                <th>Status</th>
                <th>Created at</th>
                <th>Action</th>
              </tr>
            </thead>


            <tbody>
            <?php $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
              <tr>
                <td><?php echo e(IND_money_format($payment->amount)); ?></td>
                <td><?php echo str_replace('/////////////', '<br />', $payment->comment); ?></td>
                <td><?php echo e(($payment->status==1)?'Approved':'Pending'); ?></td>
                <td><?php echo e($payment->created_at); ?></td>
                <td>
                  <?php if($payment->status == 0): ?>
                    <span class="label label-light-warning">Pending</a>
                  <?php else: ?>
                    <span class="bg-<?php echo e(($payment->status == 1)?'info':'danger'); ?>" style="color: #fff;"><?php echo e(($payment->status == 1)?'Paid':'Cancelled/Revoked'); ?> on <?php echo e($payment->paid_on); ?></span>
                    <?php if($payment->status == 1): ?>
                      <span class="label label-light-success">Approved</span>
                    <?php elseif($payment->status == 2): ?>
                      <span class="label label-light-danger">Cancelled</span>
                    <?php elseif($payment->status == 3): ?>
                      <span class="label label-light-danger">Revoked</span>
                    <?php endif; ?>
                  <?php endif; ?>
                </td>
              </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
          </table>
        </div>
      </div>
    </div>
<a class="btn btn-info" href="<?php echo e(url('/').'/payments/addpayments/'.$deal->id); ?>">View Deal</a>
</div>
<?php /**PATH G:\xampp\htdocs\yespropmart2.loc\resources\views/partials/dealsAjax.blade.php ENDPATH**/ ?>