mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Widget: fix missing voucher in seating (Z#23118206)
This commit is contained in:
committed by
GitHub
parent
3eceb33cfc
commit
464a25a678
@@ -1577,6 +1577,9 @@ var shared_root_methods = {
|
|||||||
redirect_url += '/' + this.$root.subevent;
|
redirect_url += '/' + this.$root.subevent;
|
||||||
}
|
}
|
||||||
redirect_url += '/seatingframe/?iframe=1&locale=' + lang;
|
redirect_url += '/seatingframe/?iframe=1&locale=' + lang;
|
||||||
|
if (this.$root.voucher_code) {
|
||||||
|
redirect_url += '&voucher=' + encodeURIComponent(this.$root.voucher_code);
|
||||||
|
}
|
||||||
if (this.$root.cart_id) {
|
if (this.$root.cart_id) {
|
||||||
redirect_url += '&take_cart_id=' + this.$root.cart_id;
|
redirect_url += '&take_cart_id=' + this.$root.cart_id;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user