mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #59] Voucher duration in days #28
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dwmayr on GitHub (Jan 20, 2025).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/59
Originally assigned to: @glenndehaan on GitHub.
The feature
Hi,
I'd like to see an option to set default duration - not in minutes, but by days. In some environments it's better than per-minute vouchers :)
@aroundmyroom commented on GitHub (Jan 21, 2025):
Uh isn't that available already?
this is what is shown
I have configured that by using:
VOUCHER_TYPES='480,0,,,;1440,1,,,;10080,1,,,;525600,1,,,;'
@dwmayr commented on GitHub (Jan 21, 2025):
I mean when you go to custom:

Then you can specify duration, but you can specify it only in minutes.
And I'd like to see an option to specify it in days (so you don't have to type: 14400 for 10 day voucher :))
@aroundmyroom commented on GitHub (Jan 21, 2025):
Ok, clear.
I would opt to create some extra pre-defined based on what is common, But if needed: than another pull down option should be present
Like in the controller.
@glenndehaan commented on GitHub (Jan 21, 2025):
Hi @dwmayr,
I have just released version 4.7.0 that improves the custom voucher creation with an additional dropdown: