Releases: verbb/gift-voucher
Releases · verbb/gift-voucher
3.0.12
Added
- Add support for programatically setting a code’s
codeKey
.
Fixed
- Fix order of operations when uninstalling the plugin.
3.0.11
Added
- PDFs now support using the current site’s locale language and formatting.
3.0.10
Added
- Add currently-applied voucher codes to manage for modal when editing an order in the control panel.
- Add
codeKey
as an available variable for thevoucherCodesPdfFilenameFormat
setting.
Changed
- Voucher modal now shows message instead of refreshing, ensuring unsaved changes to the order aren’t discarded.
Fixed
- Fix “enter” key not submitting the gift voucher modal when editing an order in the control panel.
- Fix
codeKey
reference when rendering PDFs.
2.7.5
Added
- Add currently-applied voucher codes to manage for modal when editing an order in the control panel.
Changed
- Voucher modal now shows message instead of refreshing, ensuring unsaved changes to the order aren’t discarded.
Fixed
- Fix “enter” key not submitting the gift voucher modal when editing an order in the control panel.
3.0.9
Fixed
- Implement
Element::trackChanges()
for Blitz compatibility.
3.0.8
Fixed
- Fix an issue when creating new sites and not propagating voucher types correctly.
2.7.4
Fixed
- Fix an issue when creating new sites and not propagating voucher types correctly.
3.0.7
Changed
- Only admins are now allowed to access plugin settings.
Fixed
- Fix an error when creating a voucher of custom value with no value provided.
- Fix an error when creating a voucher code. (thanks @darinlarimore).
3.0.6
Fixed
- Fix an error when viewing a voucher code with no order associated with it.
3.0.5
Fixed
- Fix permissions check for managing Vouchers and Codes.
- Fix voucher and code element indexes not providing edit links due to Craft 4.3.2 changes.
- Fix cannot assign Dompdf\Options to property PdfRenderOptionsEvent::$options. (thanks @CMeldgaard).
- Fix an error when saving vouchers containing commas in price.