mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Connect giftcards with customer accounts (#5126)
Connect giftcards with customer accounts, show giftcards during checkout and in account , show giftcard list in backend customer view
This commit is contained in:
@@ -222,6 +222,12 @@ var form_handlers = function (el) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
el.find('.use_giftcard').on("click", function () {
|
||||
var value = $(this).data('value');
|
||||
$('#id_payment_giftcard-code').val(value)
|
||||
})
|
||||
|
||||
};
|
||||
|
||||
function setup_basics(el) {
|
||||
|
||||
Reference in New Issue
Block a user