<?php $__env->startSection('content'); ?>
    <div class="page-content-wrapper">
        <div class="page-content">
            <div class="row">
                <div class="col-lg-12 ">

                    <div class="card"
                        style="box-shadow: 0 4px 8px 0 rgb(146 140 175);transition: 0.3s;border: 1px solid #ffefef;">
                        <div class="card-body">
                            <center>
                                <br><br>
                                <div class="col-md-4">
                                    <div style="border: 1px solid #000;border-radius:12px;" class="card">
                                        <div class="card-body">
                                            <div class="media">
                                                <div class="media-body overflow-hidden">

                                                    
                                                    <p class="text-truncate font-size-14 mb-2">Your Unpaid Salary Amount</p>
                                                    <h4 class="mb-0">$<?php echo e($affliate_tr ? round($affliate_tr, 2) : 0); ?></h4>
                                                </div>
                                                <div class="text-primary">
                                                    <i class="ri-exchange-dollar-fill font-size-40"></i>
                                                </div>
                                            </div>
                                        </div>


                                    </div>

                                </div>



                                <br>
                                <p class="card-title-desc">From our Hr Department you can see all your salary histroy from
                                    here</p>

                                <center>

                                    <div class="table-responsive ">
                                        <table class="table table-bordered table-striped w-100" id="example">
                                            <thead>
                                                <th>Date</th>
                                                <th>Amount</th>
                                                <th>Method</th>
                                                <th>Payment Detail</th>
                                                <th>Status</th>
                                                <th>Payment Cycle</th>
                                                <!--        <th>Action</th> -->



                                            </thead>
                                            
                                            <tbody>
                                                <?php $__currentLoopData = $affliate_withdraw; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $q): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <tr>
                                                        <td><?php echo e($q->created_at); ?></td>
                                                        <td><?php echo e(round($q->amount, 2)); ?></td>
                                                        <td><?php echo e($q->method); ?></td>
                                                        <td><?php echo e($q->payment_details); ?></td>
                                                        <td><?php echo e($q->status); ?></td>
                                                        <td><?php echo e($q->payterm); ?></td>
                                                        <!--      <td><a type="button" href="<?php echo e(url('publisher/generate-payment-pdf')); ?>/?&id=<?php echo e($q->id); ?>" target="_blank"><img src="<?php echo e(asset('assets/img/pdf.jpg')); ?>" width="40"></a></td> -->
                                                    </tr>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                            </tbody>
                                        </table>



                                    </div>
                                </center>
                            </center>
                        </div>
                    </div>
                <?php $__env->stopSection(); ?>
                <?php $__env->startSection('js'); ?>
                <?php $__env->stopSection(); ?>

<?php echo $__env->make('affiliate.layout.affiliate-dashboard', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/johir784/public_html/fiverr.bdbse.com/backend/resources/views/affiliate/payment.blade.php ENDPATH**/ ?>