<form method="post" action="<?= base_url('/discount/apply') ?>">
    <?= csrf_field() ?>
    <input type="hidden" name="student_id" value="<?= esc($studentId) ?>">
    <div class="input-group mb-3">
        <input type="text" name="voucher_code" class="form-control" placeholder="Enter Voucher Code" required>
        <button class="btn btn-primary" type="submit">Apply</button>
    </div>
</form>
