<?php $__env->startSection('content'); ?>
<div class="container py-4">
    <h3 class="mb-3 text-warning"><?php echo e($pageTitle); ?></h3>
    
    <div class="card border-warning shadow-sm">
        <div class="card-body">
            <h5 class="card-title text-gold">Kode Bonus: <span class="text-light"><?php echo e($data->code); ?></span></h5>
            <p><strong>Nama Bonus:</strong> <?php echo e($data->bonus_name); ?></p>
            <p><strong>Nominal Bonus:</strong> Rp <?php echo e(number_format($data->amount, 0, ',', '.')); ?></p>
            <p><strong>Status:</strong> 
                <span class="<?php echo e($data->status == 'active' ? 'text-success' : 'text-danger'); ?>">
                    <?php echo e(ucfirst($data->status)); ?>

                </span>
            </p>
            <p><strong>Jumlah Pemenang:</strong> <?php echo e($data->winner); ?></p>
            <p><strong>Dibuat pada:</strong> <?php echo e($data->created_at); ?></p>

            <a href="<?php echo e(route('admin.bonus.index')); ?>" class="btn btn-secondary mt-3">← Kembali</a>
        </div>
    </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/view.blade.php ENDPATH**/ ?>