Zenova (Glipiq & Sitazit - Append Values)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m43s Details

This commit is contained in:
zeeshan 2026-09-28 12:49:41 +05:30
parent 7375460364
commit 073747e9a1
1 changed files with 18 additions and 44 deletions

View File

@ -51,17 +51,6 @@
<input type="hidden" name="sitazit_new_conversion" value="0">
<input type="hidden" name="sitazit_existing_conversion" value="0">
<input type="hidden" name="sankalp_lead_recieved" value="0">
<input type="hidden" name="sankalp_lead_enrolled" value="0">
<input type="hidden" name="pmos_dr_count" value="0">
<input type="hidden" name="qbs_dr_count" value="0">
<input type="hidden" name="adboard_dr_count" value="0">
<input type="hidden" name="fb_live_dr_count" value="0">
<input type="hidden" name="ecme_dr_count" value="0">
<input type="hidden" name="rtm_dr_count" value="0">
<input type="hidden" name="h1_cardio_conference_count" value="0">
<input type="hidden" name="absi_camp_count" value="0">
@if($id)
@ -263,76 +252,65 @@
$('#field-msl_code').val($('option:selected', this).attr('msl_code'))
})
$('#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);
$('#report-form').append('<input type="hidden" name="sankalp_lead_recieved" value="1">');
}
})
$('#field-contact_id').change(function() {
$('#field-sankalp_lead_enrolled_penvial').val($('option:selected', this).attr('lead_enrolled'))
$('#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);
$('#report-form').append('<input type="hidden" name="sankalp_lead_enrolled" value="1">');
}
})
$('#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);
$('#report-form').append('<input type="hidden" name="pmos_dr_count" value="1">');
}
})
$('#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);
}
$('#report-form').append('<input type="hidden" name="qbs_dr_count" value="1">');
}
})
$('#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);
}
$('#report-form').append('<input type="hidden" name="adboard_dr_count" value="1">');
}
})
$('#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);
$('#report-form').append('<input type="hidden" name="fb_live_dr_count" value="1">');
}
})
$('#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);
$('#report-form').append('<input type="hidden" name="ecme_dr_count" value="1">');
}
})
$('#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);
$('#report-form').append('<input type="hidden" name="rtm_dr_count" value="1">');
}
})
@ -341,9 +319,7 @@
$('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);
$('#report-form').append('<input type="hidden" name="absi_camp_count" value="1">');
}
});
$('#field-contact_id').change(function() {
@ -351,9 +327,7 @@
$('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);
$('#report-form').append('<input type="hidden" name="h1_cardio_conference_count" value="1">');
}
});