<?php $__env->startSection('content'); ?>
<div class="card">
    <div class="card-header">
        <h5><?php echo e($data ? __('Edit Bonus') : __('Add Bonus')); ?></h5>
    </div>
    <div class="card-body">
        <form action="<?php echo e(route('admin.bonus.insert')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <input type="hidden" name="id" value="<?php echo e($data->id ?? ''); ?>">
            <div class="mb-3">
                <label class="form-label"><?php echo app('translator')->get('Bonus Name'); ?></label>
                <input type="text" name="bonus_name" class="form-control" value="<?php echo e($data->bonus_name ?? old('bonus_name')); ?>" required>
            </div>
            <div class="mb-3">
                <label class="form-label"><?php echo app('translator')->get('Code'); ?></label>
                <input type="text" name="code" class="form-control" value="<?php echo e($data->code ?? old('code')); ?>" required>
            </div>
            <div class="mb-3">
                <label class="form-label"><?php echo app('translator')->get('Amount'); ?></label>
                <input type="number" name="amount" class="form-control" value="<?php echo e($data->amount ?? old('amount')); ?>" required>
            </div>
            <div class="mb-3">
                <label class="form-label"><?php echo app('translator')->get('Winner'); ?></label>
                <input type="number" name="winner" class="form-control" value="<?php echo e($data->winner ?? old('winner')); ?>" required>
            </div>
            <div class="mb-3">
                <label class="form-label"><?php echo app('translator')->get('Service Counter'); ?></label>
                <input type="number" name="set_service_counter" class="form-control" value="<?php echo e($data->set_service_counter ?? old('set_service_counter')); ?>" required>
            </div>
            <button type="submit" class="btn btn-primary"><?php echo app('translator')->get($data ? 'Update' : 'Create'); ?></button>
        </form>
    </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/nicelivingweb/public_html/core/resources/views/admin/pages/bonus/insert.blade.php ENDPATH**/ ?>