-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Is your feature request related to a problem? Please describe.
Right now the extension behave options to trigger the device restricted by
- Opening time
- payable x times during the last 24 hours
Describe the solution you'd like
One more option to allow triggering by a quantity check would allow a few more usecases.
I would like it to be possible to specify the quantity of availability for each product/machine. That way, it can no longer be triggered if the product is sold out.
This would allow or improve the "misuse" of the extension, e.g. for the use of vending machines.
This is my solution
Add a "optional int" value field to specify the quantity during configuration/editing of the device.
Additional context
- If the field is empty do not consider this option.
- If value 0 give back sold out
- if value <1 allow create invoice
Metadata
Metadata
Assignees
Labels
No labels
