<?php $__env->startSection('content'); ?>
<div class="card">
    <div class="card-header">
        <h5><?php echo app('translator')->get('Bonus List'); ?></h5>
    </div>
    <div class="card-body">
        <table class="table table-bordered table-striped">
            <thead>
                <tr>
                    <th><?php echo app('translator')->get('ID'); ?></th>
                    <th><?php echo app('translator')->get('Bonus Name'); ?></th>
                    <th><?php echo app('translator')->get('Code'); ?></th>
                    <th><?php echo app('translator')->get('Amount'); ?></th>
                    <th><?php echo app('translator')->get('Winner'); ?></th>
                    <th><?php echo app('translator')->get('Service Counter'); ?></th>
                    <th><?php echo app('translator')->get('User'); ?></th>
                    <th><?php echo app('translator')->get('Status'); ?></th>
                </tr>
            </thead>
            <tbody>
                <?php $__empty_1 = true; $__currentLoopData = $datas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <tr>
                    <td><?php echo e($data->id); ?></td>
                    <td><?php echo e($data->bonus->bonus_name ?? '-'); ?></td>
                    <td><?php echo e($data->bonus->code ?? '-'); ?></td>
                    <td><?php echo e($data->bonus->amount ?? '-'); ?></td>
                    <td><?php echo e($data->bonus->winner ?? '-'); ?></td>
                    <td><?php echo e($data->bonus->set_service_counter ?? '-'); ?></td>
                    <td><?php echo e($data->user->name ?? '-'); ?></td>
                    <td><?php echo e($data->bonus->status ?? '-'); ?></td>
                </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <tr>
                    <td colspan="8" class="text-center"><?php echo app('translator')->get('No data found'); ?></td>
                </tr>
                <?php endif; ?>
            </tbody>
        </table>
        <a href="<?php echo e(route('admin.bonus.index')); ?>" class="btn btn-secondary mt-2"><?php echo app('translator')->get('Back'); ?></a>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/aureustwebsa/affiliate-center.biz.id/core/resources/views/admin/pages/bonus/bonuslist.blade.php ENDPATH**/ ?>