Transaction ChangeVoucherValidity
Authentication mode: Checked (known user, must have the privilege)
Database access mode: updating
Changes the validity date of the voucher.
Inputs:
- voucherid: astring
ID of the voucher
- validforever: bool
If true: set validity to infinite.
- validtime: int64
Validity time of the voucher (will be rounded to a full day)
- comment: string
optional comment for emptying the voucher
Outputs:
- voucher: Voucher
The voucher as it is left after changing
- order: Order
The order of the voucher as it is left after changing