We don't need to check if we are dealing with a multiple participant event because that
is the only scenario where the field additional_participants is present
& it will fail gracefully if it is not present. This has been causing notices across
all flows that include the payment block
*/
function skipPaymentMethod() {
var isHide = false;
- var isMultiple = {/literal}{$event.is_multiple_registrations|@json_encode}{literal};
- var alwaysShowFlag = (isMultiple && cj("#additional_participants").val());
+ var alwaysShowFlag = (cj("#additional_participants").val());
var alwaysHideFlag = (cj("#bypass_payment").val() == 1);
var total_amount_tmp = cj('#pricevalue').data('raw-total');
// Hide billing questions if this is free