|
@ -353,24 +353,24 @@ |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#paymentMode').change(function () { |
|
|
|
|
|
|
|
|
// $('#paymentMode').change(function () { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($(this).val() != '') { |
|
|
|
|
|
//PopulateDDL('paymentMode', 'pMode', $(this).val(), true, ''); |
|
|
|
|
|
//if ($(this).val()) |
|
|
|
|
|
//PopulateDDL('Relationship', 'getRelation', $(this).val(), true, ''); |
|
|
|
|
|
//PopulateDDL('idType', 'getIdType', $(this).val(), true, ''); |
|
|
|
|
|
PopulateDDL('bankName', 'select-agent', $(this).val(), true, ''); |
|
|
|
|
|
} |
|
|
|
|
|
else { |
|
|
|
|
|
//$('#paymentMode').empty(); |
|
|
|
|
|
// $('#Relationship').empty(); |
|
|
|
|
|
//$('#idType').empty(); |
|
|
|
|
|
$('#bankName').empty(); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
// if ($(this).val() != '') { |
|
|
|
|
|
// //PopulateDDL('paymentMode', 'pMode', $(this).val(), true, ''); |
|
|
|
|
|
// //if ($(this).val()) |
|
|
|
|
|
// //PopulateDDL('Relationship', 'getRelation', $(this).val(), true, ''); |
|
|
|
|
|
// //PopulateDDL('idType', 'getIdType', $(this).val(), true, ''); |
|
|
|
|
|
// PopulateDDL('bankName', 'select-agent', $(this).val(), true, ''); |
|
|
|
|
|
// } |
|
|
|
|
|
// else { |
|
|
|
|
|
// //$('#paymentMode').empty(); |
|
|
|
|
|
// // $('#Relationship').empty(); |
|
|
|
|
|
// //$('#idType').empty(); |
|
|
|
|
|
// $('#bankName').empty(); |
|
|
|
|
|
// } |
|
|
|
|
|
// }); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// $('#paymentMode').change(function () { |
|
|
// $('#paymentMode').change(function () { |
|
@ -392,6 +392,35 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function PopulateAgentDDL(id, flag, value, parm, countryId, showSelectOption, selectedVal) { |
|
|
|
|
|
let Data = { |
|
|
|
|
|
Flag: flag, |
|
|
|
|
|
Value: value, |
|
|
|
|
|
Parm: parm, |
|
|
|
|
|
CountryId: countryId |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
$.ajax( |
|
|
|
|
|
{ |
|
|
|
|
|
type: 'POST', |
|
|
|
|
|
url: '/ReceiverInformation/GetDDLAgentList', |
|
|
|
|
|
data: Data, |
|
|
|
|
|
headers: { |
|
|
|
|
|
"RequestVerificationToken": |
|
|
|
|
|
$('input[name="__RequestVerificationToken"]').val() |
|
|
|
|
|
}, |
|
|
|
|
|
async: false, |
|
|
|
|
|
success: function (response) { |
|
|
|
|
|
PopulateDDLMain(response, id, showSelectOption, selectedVal); |
|
|
|
|
|
}, |
|
|
|
|
|
error: function () { |
|
|
|
|
|
return null; |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
function Receiver() { |
|
|
function Receiver() { |
|
|
debugger; |
|
|
debugger; |
|
|
|
|
|
|
|
|