Program Registration ~ MOHID © (2024)

Program Registration ~ MOHID © (1)

Islamic Center of Staten Island

365 VETERANS RD W, Staten Island, New York 10309, USA

homeHome

attach_moneySummer camp shirtsbookmarkPledgebookProgram Registrationassignment_indMembership Signupvpn_keyMember Login

Swipe Credit Card

Please swipe credit card ......

Scan Check

Please scan check ......

\n' + '

\n' + '
\n'; $.each(payment_plan, function (index, value) { str += '\n' + '
'; }); $('.payment_plan_summary').show(500); $('.payment_plan_summary').html(str); $('#hidden_payment_plan').val(JSON.stringify(payment_plan)); } }); $('#hidden_recurring_checked').val(YES); } else { $('#for_lifetime').attr('disabled', false); $('#number_of_months').attr('readonly', false).val(''); $('#program_fee').val($('#hidden_total_fee').val()); $('.payment_plan_summary').hide(500); $('.payment_plan_summary').html(''); $('#hidden_recurring_checked').val(NO); $('#reset_code').click(); $('#hidden_payment_plan').val(''); //$('#no_of_months').find('label').removeClass('bmd-label-static').addClass('bmd-label-floating'); $('#trans_count').val(actual_trans_count); updateConsent(); } }); $('#apply_promotion').on('click', function () { $('#error_code_message').slideUp(); var promotion_code = $("#promotion_code").val(); var promotion_code_name = $("#promotion_code").prop('name'); var path = "https://us.mohid.co/ny/newyork/icsi/ajax_apply_program_promotion_codes"; var total_fee = $('#hidden_total_fee').val(); var programs_with_occurance = $('#hidden_programs_with_occurance').val(); var partial_payment_exist = $('#hidden_partial_payment_exist').val(); var is_recurring_checked = $('#hidden_recurring_checked').val(); var old_payment_plan = g_payment_plan; var obj = new Object(); if (is_recurring_checked == NO) { old_payment_plan = []; } if (promotion_code == '') { obj[promotion_code_name] = "Enter Code"; validator.showErrors(obj); } else { $.ajax({ type: "GET", datatype: 'json', cache: false, global: false, url: path, data: {_promotion_code: promotion_code, _total_fee:total_fee,_programs_with_occurance:programs_with_occurance, _partial_payment_exist:partial_payment_exist,_recurring_checked:is_recurring_checked,_old_payment_plan:old_payment_plan}, error: function(){ console.log('Error loading data'); }, success: function(data) { var json = $.parseJSON(data); var calculated_fee = json.total_fee; var errors = json.is_error; var payment_plan = json.payment_plan; var number_of_months = json.number_of_months; var months_count = json.months_count; g_months_count_promo = months_count; var promotional_program = json.promotional_program; if (errors == 'Y') { var response = json.r_response; $('#error_code_message').html(response).slideDown(); } else { $('.total_fee_summary').html(currency_sign + calculated_fee); $('#hidden_total_fee').val(calculated_fee); $('#program_promotion_code').attr('readonly', true); $('#apply_promotion').attr('disabled', true); $('#reset_code').attr('disabled', false).slideDown(200); $('#promotion_applied_message').slideDown(); $('#program_fee').val(calculated_fee); $('#actual_amount').val($('#program_fee').val()); $('#trans_count').val(months_count); updateConsent(); $('#hidden_promotional_program').val(promotional_program); is_promotion_applied = YES; if (parseInt(calculated_fee) <= 0) { without_payment = YES; $('.online_payment_info').slideUp(); } if (!$.isEmptyObject(payment_plan)) { var str = ''; str = '

\n' + '

\n' + '

\n' + '
\n'; $.each(payment_plan, function (index, value) { str += '\n' + '
'; }); $('.payment_plan_summary').hide().html(str).show(500); $('#number_of_months').val(number_of_months); $('#hidden_payment_plan').val(JSON.stringify(payment_plan)); } } } }); } }); $('#reset_code').on('click', function () { $('#reset_code').prop('disabled', true).slideUp(); $('#promotion_applied_message').slideUp(); $('#error_code_message').slideUp(); $('#promotion_code').attr('readonly', false).val('').notFilled(); $('#apply_promotion').attr('disabled', false); $('#hidden_promotional_program').val(''); var reset_fee = $('#hidden_total_fee_for_reset').val(); is_promotion_applied = NO; $('#hidden_total_fee').val(reset_fee); $('#program_fee').val(reset_fee); $('#actual_amount').val($('#program_fee').val()); if($('#is_recurrent').is(':checked')) { $('#trans_count').val(g_months_count_recc); } else { $('#trans_count').val(actual_trans_count); } updateConsent(); $('.total_fee_summary').html(currency_sign + reset_fee); $('#number_of_months').val(no_of_months).isFilled(); $('.payment_plan_summary').html(''); if($('#is_recurrent').is(':checked')) { if (!$.isEmptyObject(g_payment_plan)) { var total_fee = $('#hidden_total_fee').val(); var str = ''; str = '

\n' + '

\n' + '

\n' + '
\n'; $.each(g_payment_plan, function (index, value) { str += '\n' + '
'; }); $('.payment_plan_summary').hide().html(str).show(500); $('#hidden_payment_plan').val(JSON.stringify(g_payment_plan)); } } if (without_payment == YES) { $('.online_payment_info').slideDown(); } }); $(document).on('click', '.edit_details', function () { var edit_type = $(this).data('edit-type'); if (edit_type == 'contact_info') { $('#2-registrants_info').find('.m-portlet__body').hide(500); $('#3-payment_info').find('.m-portlet__body').hide(500); $('.form_submit_buttons').hide(500); $('.form_submit_captcha').hide(500); hideDonorPay(); $('#registrants_info_show_min').hide(500); $('#registrants_info_show_full').show(500); $('#contact_info_show_min').hide(500); $('#contact_info_show_all').show(500); $('#reset_code').trigger('click'); scrollPage('#1-contact_info', 80); } else if (edit_type == 'registrant_info') { $('#3-payment_info').find('.m-portlet__body').hide(500); $('.form_submit_buttons').hide(500); $('.form_submit_captcha').hide(500); hideDonorPay(); $('#registrants_info_show_min').hide(500); $('#registrants_info_show_full').show(500); $('#reset_code').trigger('click'); scrollPage('#2-registrants_info', 80); } }); $(document).on('click', '#add_registrant', function () { $('.registrant_programs').addSelect2Simple(); $('.registrants_list').bootstrapMaterialDesign(); if (hide_age == YES) { $('.reg_age_div:last').addClass('m--hide'); } if (hide_gender == YES) { $('.reg_gender_div:last').addClass('m--hide'); } if (hide_email == YES) { $('.reg_email_div:last').addClass('m--hide'); } if (is_single_program != NO) { $('.registrant_programs:last').val(program_id).trigger('change'); } if (selected_programs_count == 1) { $('.registrant_programs:last').val(selected_pr_id).trigger('change'); } if (is_single_program == NO) { $('.registrant_programs:last option').each(function() { if (jQuery.inArray(parseInt($(this).val()), g_selected_program_ids) === -1) { $(this).remove(); } }); if (g_selected_program_ids.length == 1) { $('.custom_fields_div:last').html(custom_fields_html); } } scrollPage('.registrants_list:last', 20); $('.registrants_list:last').find('.registrant_name:input').setMask(); }); $(document).on('click','#payment_method',function () { scrollPage('#3-payment_info', 80); }); $(document).on('click','#is_recurrent',function () { if ($(this).is(':checked')) { scrollPage('#3-payment_info', 100); } }); if (hide_age == YES) { $('.reg_age_div').addClass('m--hide'); } if (hide_gender == YES) { $('.reg_gender_div').addClass('m--hide'); } if (hide_email == YES) { $('.reg_email_div').addClass('m--hide'); } $('#promotion_applied_message').hide(); $('#error_code_message').hide(); $('#reset_code').prop('disabled', true).hide(); // Old Scripts var is_readonly_names = "N"; if (is_readonly_names == YES) { $("#first_name").prop('readonly',true); $("#last_name").prop('readonly',true); } var is_readonly_phone = "N"; if (is_readonly_phone == YES) { $("#phone").prop('readonly',true); } var is_readonly_email = "N"; if (is_readonly_email == YES) { $("#email").prop('readonly',true); } $(document).on('click', '#verify_captcha', function () { var form = $('#validate_add').serialize(); if ($('#validate_add').valid()) { $.post('https://us.mohid.co/ny/newyork/icsi/ajax_verify_online_donation_captcha', form, function (response) { if (response.success) { $('#verify_captcha').prop('disabled', true); $('#captcha_reload').prop('disabled', true); $('.captcha_input').attr('readonly', true); $('.verify_captcha_note').html('Correct Captcha'); $('.verify_captcha_note').removeClass('text-danger').addClass('text-success'); $('#captcha_verified').val(YES); } else { $('.verify_captcha_note').html('Invalid Captcha'); $('.verify_captcha_note').removeClass('text-success').addClass('text-danger'); $('#captcha_verified').val(NO); } }); } }); $('#captcha_verified').val(NO); $('#captcha_reload').click(function () { $.ajax({ type: 'GET', global: false, url: 'https://us.mohid.co/ny/newyork/icsi/reload_captcha', success: function (data) { $("#captcha_div .captcha_img").html(data.captcha); $("#captcha_div .captcha_input").val(''); } }); }); $('#pay').on('click', function () { return true; }); $('#pre_pay').on('click', function () { if ($('#captcha_verified').val() != YES) { bootstrapNotify('danger', 'Please Verify Captcha!'); $('#captcha_verified').val(NO); return false; } else { var submit_form = true; //$('#pay').click(); if ($("#validate_add").valid() == false) submit_form = false; if (submit_form == true) { let form = $('#validate_add'); let url = form.attr('action'); $("").attr({ name: "pay", id: "pay", type: "hidden", value: $('#pay').val() }).appendTo("form"); $('#pre_pay').prop('disabled', true); $.ajax({ type: "POST", dataType: 'json', contentType: 'application/x-www-form-urlencoded; charset=UTF-8', url: url, data: form.serialize(), success: function(data) { // Ajax call completed successfully if(data.response == 'success'){ $('#pre_pay').prop('disabled', true); window.location.href = data.message; return true; }else if(data.response == 'fail_redirect'){ $('#pre_pay').prop('disabled', true); window.location.href = data.message; return true; } else { bootstrapNotify('danger', data.message, 5 ); $('#pre_pay').prop('disabled', false); hcaptcha.reset(); $('#captcha_verified').val(NO); return true; } }, error: function(data) { // Some error in ajax call bootstrapNotify('danger', "Some thing went wrong. Contact to administrator.", 5 ); $('#pre_pay').prop('disabled', false); hcaptcha.reset(); $('#captcha_verified').val(NO); return true; } }); } } }); $('#cancel').on('click', function () { $(".price_changes_notice").hide(); validator.cancelSubmit = true; }); $(document).on('click', '#default_primary_contact_as_registrant', function () { if($(this).is(':checked')) { var first_name = $('#first_name').val(); var last_name = $('#last_name').val(); var email = $('#email').val(); $('.registrants_list:first').find('.registrant_name').val(first_name +' '+last_name); $('.registrants_list:first').find('.registrant_email').val(email); } else { $('.registrants_list:first').find('.registrant_name').val('').notFilled(); $('.registrants_list:first').find('.registrant_email').val('').notFilled(); } }); $(document).on('click', '.pr_description', function () { let description = ''; let title = ''; let program_label = 'Program'; description = $('#view_details_template').html(); title = program_label+' Details'; var des_modal = $('#ajax_modal_default'); des_modal.find('.modal-body').html(description); des_modal.find('.modal-title').html(title); des_modal.find('.modal-footer').remove(); des_modal.modal('show'); }); $(document).on('click', '#view_offering_days', function () { var offering_days_html_template = $('#offering_days_template').html(); var modal = $('#ajax_modal_default'); modal.find('.modal-body').html(offering_days_html_template); modal.find('.modal-title').html('Offering Days'); modal.find('.modal-footer').remove(); modal.modal('show'); }); if ($('.is_smart_phone').css('display') == 'none') { // Smartphone $('.custom_field_label').addClass('bmd-label-floating-custom'); $(document).on('click', '#add_registrant', function () { $('#mt-repeater').find('.registrants_list:last').find('.custom_field_label').addClass('bmd-label-floating-custom'); }); } else { // Desktop $('.custom_field_label').removeClass('bmd-label-floating-custom'); } }); function captcha_success() { $('#captcha_verified').val(YES); } function captcha_error() { bootstrapNotify('danger', 'Captcha Error.'); $('#captcha_verified').val(NO); } function captcha_expires() { $('#captcha_verified').val(NO); }

Program Registration ~ MOHID © (2024)

References

Top Articles
Gargoyle Name Generator
Htrnews Obituary
Muk Chalinee
No Hard Feelings Showtimes Near Metropolitan Fiesta 5 Theatre
Die Reiseauskunft auf bahn.de - mit aktuellen Alternativen gut ans Ziel
Hsqa Online Renewal System
Lkq Pull-A-Part
Lkq Pull-A-Part
Paulding County Bus Stop Locator
Uber Hertz Marietta
Tyson Employee Paperless
Authentication Portal Pvusd
Blooket Botter
Is Holly Warlick Married To Susan Patton
Osrs Blessed Axe
Apple Nails & Spa, 3429 Toringdon Way, Charlotte, Reviews and Appointments
Summoners War Update Notes
Ttw Cut Content
Icy Veins Necromancer Diablo 4
When Is Hobby Lobby Opening In Olean Ny
Humongousbazonkers
Dcuo Exalted Style
Laura Houston Wbap
Kaylani Lei Photos
Weather | Livingston Daily Voice
O'reilly's Eastman Georgia
Los Garroberros Menu
Square Coffee Table Walmart
Who Is Acropolis 1989? Wiki, Bio, Age, Boyfriend, Net Worth | Biography Lane
Search results for: Kert\u00E9sz, Andr\u00E9, page 1
Cheeksorpillows
Eromancer Kemono Party
Look Who Got Busted New Braunfels
Wbap Iheart
M3Gan Showtimes Near Cinemark North Hills And Xd
Litter-Robot 3 Pinch Contact & Dfi Kit
Adaptibar Vs Uworld
Enlightenment Egg Calculator
Dr Roger Rosenstock Delray Beach
MAXSUN Terminator Z790M D5 ICE Motherboard Review
Super Bowl 17 Ray Finkle
Top Dog Boarding in The Hague with Best Prices on PetBacker
9294027542
How To Pause Tamagotchi Gen 2
Warranty Killer Performance Reviews
2015 | Ducati 1299 Panigale S Test
Neo Geo Bios Raspberry Pi 3
Netdania.com Gold
Watermelon Cucumber Basil Lemonade - Wine a Little, Cook a Lot
Akc Eo Tryouts 2022
Ideological variation in preferred content and source credibility on Reddit during the COVID-19 pandemic
Signature Learn 365 | airSlate SignNow
Latest Posts
Article information

Author: Edwin Metz

Last Updated:

Views: 5861

Rating: 4.8 / 5 (78 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Edwin Metz

Birthday: 1997-04-16

Address: 51593 Leanne Light, Kuphalmouth, DE 50012-5183

Phone: +639107620957

Job: Corporate Banking Technician

Hobby: Reading, scrapbook, role-playing games, Fishing, Fishing, Scuba diving, Beekeeping

Introduction: My name is Edwin Metz, I am a fair, energetic, helpful, brave, outstanding, nice, helpful person who loves writing and wants to share my knowledge and understanding with you.