Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
$(function(){function hideSettlementUploadForms() {$('#hdfc, #ebs, #bluedart, #aramex').hide();}hideSettlementUploadForms();$('input[name="reportSource"]').click(function(){hideSettlementUploadForms();if($(this).val() == 'ebs') {$('#ebs').show();}else if($(this).val() == 'bluedart') {$('#bluedart').show();}else if($(this).val() == 'hdfc') {$('#hdfc').show();}else if($(this).val() == 'aramex') {$('#aramex').show();}});$('select[name="settlementId"]').change(function(){var settlementId = parseInt($(this).val());if (settlementId > 0) {$('#ebsSettlement').show();} else {$('#ebsSettlement').hide();}});});