CRM-11836 Event Registrant is forced to select a Payment type when there is no fee...
authoratif-shaikh <shaikh388@gmail.com>
Wed, 4 Jun 2014 06:35:42 +0000 (12:05 +0530)
committeratif-shaikh <shaikh388@gmail.com>
Wed, 4 Jun 2014 06:35:42 +0000 (12:05 +0530)
----------------------------------------
* 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

templates/CRM/Event/Form/Registration/Register.tpl

index c91bcdde5ba105230ecaf8e60898a3cb54fa9ceb..6374ea42f99e8d623f2408b3ec2aa1a6803b5f08 100644 (file)
       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;
       }