
<?php $__env->startSection('content'); ?>
<?php Fun::lang()?>
<?php $total = 0?>
<div class="top-header">
    <ol class="breadcrumb">
      <li><a href="#"><?php echo e(__('administrator.Dashboard')); ?></a></li>
      <li><a href="<?php echo e(route('category.index')); ?>"><?php echo e(__('administrator.customer_payment')); ?> </a></li>
      <li class="active"><?php echo e(__('administrator.customer_payment')); ?></li>
    </ol>
</div>
<div class="page">
<div class=container-fluid>
    <div class="top-content">
        <div class="row">
            <div class="col-sm-12 col-xs-12">
                <div class="title-add">
                    <div class="pull-left">
                        <h3><?php echo e(__('administrator.customer_payment')); ?></h3>
                    </div>
                   
                </div>
            </div>
        </div>
    </div>
    <div class="list-detail">
       <div class="col-sm-12">
            <div class="summary-footer">
                <div class="list">
                    <label class="left"><?php echo e(__('administrator.invoice')); ?> :</label>
                    <label class="right"><?php echo e($payment->payment_invoice); ?></label>
                </div>
                <div class="list">
                    <label class="left"><?php echo e(__('administrator.date')); ?> :</label>
                    <label class="right"><?php echo e($payment->payment_date); ?></label>
                </div>
                
            </div>
       </div>
    </div>
     <div class="wrapper-table">
        <table  width="100%" class="table table-striped table-hover ">
             <thead>
                <tr>
                    <th>#</th>
                     <th><?php echo e(__('administrator.date')); ?></th>
                    <th><?php echo e(__('administrator.refund')); ?></th>
                   
                </tr>
            </thead>
            <tbody>
               <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php $total += $value->payment_refunds;?>
                <tr>
                    <td><?php echo e($key+1); ?></td>
                    <td><?php echo e(date('d-m-Y',strtotime($value->payment_date))); ?></td>
                    <td>$<?php echo e(number_format($value->payment_refunds,2)); ?></td>
                    
                </tr>
               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
            <tfoot>
                <tr>
                    <th></th>
                    <th></th>
                    <th class="green">$<?php echo e(number_format($total,2)); ?></th>
                </tr>
            </tfoot>
        </table>
    </div>
</div>


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








    


<?php echo $__env->make(branchMenu(), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/administrator/customer-payment/show.blade.php ENDPATH**/ ?>