Zenova (Sitazit & gliiq Metric Changes)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m43s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m43s
Details
This commit is contained in:
parent
f4be5c25d6
commit
7375460364
|
|
@ -265,116 +265,98 @@
|
|||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-sankalp_lead_received_penvial').val($('option:selected', this).attr('lead_recieved'))
|
||||
if($('option:selected', this).attr('lead_recieved') === 'Yes') {
|
||||
$('#report-form input[name="sankalp_lead_recieved"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="sankalp_lead_recieved"]').val(0);
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-sankalp_lead_enrolled_penvial').val($('option:selected', this).attr('lead_enrolled'))
|
||||
if($('option:selected', this).attr('lead_enrolled') === 'Yes') {
|
||||
$('#report-form input[name="sankalp_lead_enrolled"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="sankalp_lead_enrolled"]').val(0);
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-pmos_dr').val($('option:selected', this).attr('pmos_dr'))
|
||||
if($('option:selected', this).attr('pmos_dr') === 'Yes') {
|
||||
$('#report-form input[name="pmos_dr_count"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="pmos_dr_count"]').val(0);
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-qbs_dr').val($('option:selected', this).attr('qbs_dr'))
|
||||
if($('option:selected', this).attr('qbs_dr') === 'Yes') {
|
||||
$('#report-form input[name="qbs_dr_count"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="qbs_dr_count"]').val(0);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-adboard_dr').val($('option:selected', this).attr('adboard_dr'))
|
||||
if($('option:selected', this).attr('adboard_dr') === 'Yes') {
|
||||
$('#report-form input[name="adboard_dr_count"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="adboard_dr_count"]').val(0);
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-fb_live_dr').val($('option:selected', this).attr('fb_live_dr'))
|
||||
if($('option:selected', this).attr('fb_live_dr') === 'Yes') {
|
||||
$('#report-form input[name="fb_live_dr_count"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="fb_live_dr_count"]').val(0);
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-ecme_dr').val($('option:selected', this).attr('ecme_dr'))
|
||||
if($('option:selected', this).attr('ecme_dr') === 'Yes') {
|
||||
$('#report-form input[name="ecme_dr_count"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="ecme_dr_count"]').val(0);
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
|
||||
if($('option:selected', this).attr('rtm_dr') === 'Yes') {
|
||||
$('#report-form input[name="rtm_dr_count"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="rtm_dr_count"]').val(0);
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-absi_camp').val(
|
||||
$('option:selected', this).attr('absi_camp') || ''
|
||||
);
|
||||
if($('option:selected', this).attr('absi_camp') === 'Yes') {
|
||||
$('#report-form input[name="absi_camp_count"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="absi_camp_count"]').val(0);
|
||||
}
|
||||
});
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-h1_cardio_conference').val(
|
||||
$('option:selected', this).attr('h1_cardio_conference') || ''
|
||||
);
|
||||
if($('option:selected', this).attr('h1_cardio_conference') === 'Yes') {
|
||||
$('#report-form input[name="h1_cardio_conference_count"]').val(1);
|
||||
} else {
|
||||
$('#report-form input[name="h1_cardio_conference_count"]').val(0);
|
||||
}
|
||||
});
|
||||
$('#field-sankalp_lead_received_penvial').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="sankalp_lead_received" value="1">')
|
||||
}
|
||||
})
|
||||
$('#field-sankalp_lead_enrolled_penvial').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="sankalp_lead_enrolled" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-pmos_dr').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="pmos_dr_count" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-qbs_dr').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="qbs_dr_count" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-adboard_dr').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="adboard_dr_count" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-fb_live_dr').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="fb_live_dr_count" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-ecme_dr').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="ecme_dr_count" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-rtm_dr').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="rtm_dr_count" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-absi_camp').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="absi_camp_count" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
$('#field-h1_cardio_conference').on('change',function(){
|
||||
let value=$(this).val();
|
||||
if(value=='Yes'){
|
||||
$('#report-form').append('<input type="hidden" name="h1_cardio_conference_count" value="1">')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
$('#field-msl_code,#field-speciality').attr('readonly',true);
|
||||
|
|
@ -754,8 +736,7 @@
|
|||
);
|
||||
}
|
||||
|
||||
let lead_recieved=$('#field-sankalp_lead_received_penvial').val();
|
||||
console.log("Lead Recieved : ",lead_recieved);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue