Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking time before expiration #2

Open
lazmo88 opened this issue Nov 12, 2017 · 1 comment
Open

Checking time before expiration #2

lazmo88 opened this issue Nov 12, 2017 · 1 comment

Comments

@lazmo88
Copy link

lazmo88 commented Nov 12, 2017

Heya! Really great and much needed addition to UniFi controller!

I'm wondering if this could be expanded to check time based vouchers / authorizations done by payments as well?

Instead of only showing data quota left, it would also display the time when voucher or payment authorization will expire.

@seanmavley
Copy link
Owner

seanmavley commented Nov 12, 2017

I think something of the sort of time-based vouchers/authorization done by payments could be achieved.

We don't use payments in our system so not sure how I could test the implementation. But this should help, I think: https://github.com/delian/node-unifiapi#unifiapistat_paymentwithin-site--promise

However, about the time left to expire, I think that can be added to the current implementation. Will see about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants