<?php $__env->startSection('title','E-SHOP || All Invoices'); ?>
<?php $__env->startSection('main-content'); ?>
 <!-- DataTales Example -->
 <div class="card shadow mb-4">
     <div class="row">
         <div class="col-md-12">
            <?php echo $__env->make('backend.layouts.notification', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
         </div>
     </div>
    <div class="card-header py-3">
      <h6 class="m-0 font-weight-bold text-primary float-left">Merchant Payarc Live Data</h6>
    </div>
    <div class="card-body">
      <div class="table-responsive">
        <?php if(!empty($charges)>0): ?>
        <table class="table table-bordered" id="banner-dataTable" width="100%" cellspacing="0">
          <thead>
            <tr>
              <th>Transaction ID</th>
              <th>Amount</th>
              <th>Merchant Status</th>
              <th>Email</th>
              <th>Created At</th>
              <th>Token ID</th>
              <th>card_holder_name</th>
              <th>exp_month</th>
              <th>exp_year</th>
              <th>zip</th>
              <th>first6digit</th>
              <th>last4digit</th>
            </tr>
          </thead>
          <tfoot>
            <tr>
              <th>Transaction ID</th>
              <th>Amount</th>
              <th>Merchant Status</th>
              <th>Email</th>
              <th>Created At</th>
              <th>Token ID</th>
              <th>card_holder_name</th>
              <th>exp_month</th>
              <th>exp_year</th>
              <th>zip</th>
              <th>first6digit</th>
              <th>last4digit</th>
            </tr>
          </tfoot>
          <tbody>
            <?php $__currentLoopData = $charges; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $charge): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td> <?php echo e($charge->id); ?> </td>
                    <td> <?php echo e($charge->amount / 100); ?> </td>
                    <td> <?php echo e($charge->status); ?> </td>
                    <td> <?php echo e($charge->email); ?> </td>
                    <td> <?php echo e($charge->created_at); ?> </td>
                    <td> <?php echo e($charge->card->data->id); ?> </td>
                    <td> <?php echo e($charge->card->data->card_holder_name); ?> </td>
                    <td> <?php echo e($charge->card->data->exp_month); ?> </td>
                    <td> <?php echo e($charge->card->data->exp_year); ?> </td>
                    <td> <?php echo e($charge->card->data->zip); ?> </td>
                    <td> <?php echo e($charge->card->data->first6digit); ?> </td>
                    <td> <?php echo e($charge->card->data->last4digit); ?> </td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          </tbody>
        </table>

        <?php echo e($charges->links()); ?>


        <?php else: ?>
          <h6 class="text-center">No Invoices found!!!</h6>
        <?php endif; ?>
      </div>
    </div>
</div>
<?php $__env->stopSection(); ?>


<?php echo $__env->make('backend.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/amzpubli/admin.amzpublicationwing.com/resources/views/backend/nft/merchant.blade.php ENDPATH**/ ?>