From: atif-shaikh Date: Wed, 4 Jun 2014 06:35:42 +0000 (+0530) Subject: CRM-11836 Event Registrant is forced to select a Payment type when there is no fee... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f7b9ebd682c03cabd50578b7397a9f15d60c06ca;p=civicrm-core.git CRM-11836 Event Registrant is forced to select a Payment type when there is no fee if pay later enabled ---------------------------------------- * CRM-11836: Event Registrant is forced to select a Payment type when there is no fee if pay later enabled https://issues.civicrm.org/jira/browse/CRM-11836 --- diff --git a/templates/CRM/Event/Form/Registration/Register.tpl b/templates/CRM/Event/Form/Registration/Register.tpl index c91bcdde5b..6374ea42f9 100644 --- a/templates/CRM/Event/Form/Registration/Register.tpl +++ b/templates/CRM/Event/Form/Registration/Register.tpl @@ -215,7 +215,7 @@ var payment_processor = cj("div.payment_processor-section"); var payment_information = cj("div#payment_information"); - if (isMultiple && cj("#additional_participants").val()) { + if (isMultiple && cj("#additional_participants").val() && cj('#pricevalue').text() !== symbol + " 0.00") { flag = 0; }