Skip to content
Snippets Groups Projects
Commit e75336c4 authored by yashodha's avatar yashodha
Browse files

CRM-13233

parent 5dd4a27d
No related branches found
No related tags found
No related merge requests found
...@@ -213,8 +213,15 @@ ...@@ -213,8 +213,15 @@
function skipPaymentMethod() { function skipPaymentMethod() {
var symbol = '{/literal}{$currencySymbol}{literal}'; var symbol = '{/literal}{$currencySymbol}{literal}';
var isMultiple = '{/literal}{$event.is_multiple_registrations}{literal}';
var flag = 1;
if (isMultiple && cj("#additional_participants").val()) {
flag = 0;
}
cj('#priceset input').change(function () { cj('#priceset input').change(function () {
if ((cj(this).attr('data-amount') == '0') || (cj('#pricevalue').text() == symbol + " 0.00" )) { if (((cj(this).attr('data-amount') == '0') || (cj('#pricevalue').text() == symbol + " 0.00" )) && flag ) {
cj(".payment_options-group").hide(); cj(".payment_options-group").hide();
cj("div.payment_processor-section").hide(); cj("div.payment_processor-section").hide();
cj("div#payment_information").hide(); cj("div#payment_information").hide();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment