Accounts

Vouchers

Vouchers are single-use or time-limited access codes. They share the same underlying table as Users but are identified by ktype = 'voucher'. Guests redeem them on the captive portal without needing a pre-registered account.

'alt' => 'Dashboard overview', 'caption' => 'The default Kiwire dashboard layout', 'screenshot' => true, 'class' => '', ]) Drop images into: public/assets/img/docs/{page}/{filename} --}}
Image not uploaded yet public/assets/img/docs/vouchers/overview.png
Voucher list with status, profile, expiry, and usage columns.

Key Fields

FieldDescription
usernameThe voucher code guests type on the portal
statusn = unused, y = redeemed / active
profile_subsAccess profile applied when redeemed
date_expiryCode expires even if unredeemed
session_time / quota_in / quota_outConsumed usage counters
login_countTimes this code has been used to log in
bulk_idBatch identifier — groups codes generated together

Generate Vouchers

Click Generate to open the batch creation form:

  • Quantity — number of codes to generate
  • Profile — access profile to assign
  • Expiry date — optional; codes expire even if unredeemed
  • Code prefix — optional string prepended to each code
  • Code length — total characters (prefix + random suffix)
  • Remark — internal label for the batch

Large batches are queued via GenerateVouchersJob. A progress indicator polls until generation completes.

All codes in one generation share the same bulk_id. You can filter the grid by bulk_id to select and print an entire batch at once.

Actions

  • Reset — clears usage counters (session_time, quota). Useful to re-issue a partially used voucher.
  • Reset MAC — removes the MAC binding so the code can be used on a different device.
  • Delete — permanently removes the voucher code.
  • Login Records — view every redemption event for this code.
  • Active Sessions — see if this code is currently in use.

Required Permissions

view-vouchers · create-vouchers · update-vouchers · delete-vouchers