Arise Changes (Latest)
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m37s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m37s
Details
This commit is contained in:
commit
07e981367b
|
|
@ -425,7 +425,7 @@
|
|||
e.preventDefault();
|
||||
})
|
||||
|
||||
$('#execution-msl_code,#execution-speciality,#execution-plan_date').prop('readonly',true);
|
||||
$('#execution-msl_code,#execution-speciality,execution-plan_date').prop('readonly',true);
|
||||
|
||||
let selected = JSON.parse($(this).attr('plan_details'));
|
||||
console.log("Plan Detail : ", selected);
|
||||
|
|
@ -467,9 +467,6 @@
|
|||
$('#execution-reason').parent().hide();
|
||||
$('#execution-reason').prop('required',false);
|
||||
|
||||
var today = new Date().toISOString().split('T')[0];
|
||||
document.getElementById('execution-execution_date').max = today;
|
||||
|
||||
/* $('#execution-execution_done').on('change',function(){
|
||||
let value=$(this).val();
|
||||
console.log("Value is ",value);
|
||||
|
|
@ -558,12 +555,10 @@
|
|||
let typeValue=$('#execution-type_of_camp').val();
|
||||
console.log("Type of Value : ",typeValue);
|
||||
if(typeValue==='In Clinic camp'){
|
||||
console.log("In Clinic Camp");
|
||||
$('#execution-form').append('<input type="hidden" name="in_clinic_camp_exe" value="1">');
|
||||
|
||||
}
|
||||
else{
|
||||
console.log("Outreach Camp");
|
||||
$('#execution-form').append('<input type="hidden" name="outreach_camp_exe" value="1">');
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<br>
|
||||
@endif
|
||||
<div class="col-8">
|
||||
<h4 class="page-title">Dr Meeting (Planning and Execution)</h4>
|
||||
<h4 class="page-title">Dr Engagement Meet</h4>
|
||||
</div>
|
||||
@if (!isset($form->is_approval) || (isset($form->is_approval) && $form->is_approval != 'yes'))
|
||||
<div class="col-4">
|
||||
|
|
|
|||
|
|
@ -416,8 +416,7 @@
|
|||
e.preventDefault();
|
||||
})
|
||||
|
||||
$('#execution-msl_code,#execution-speciality,#execution-plan_date').prop('readonly',true);
|
||||
|
||||
$('#execution-msl_code,#execution-speciality,execution-plan_date').prop('readonly',true);
|
||||
|
||||
let selected = JSON.parse($(this).attr('plan_details'));
|
||||
console.log("Plan Detail : ", selected);
|
||||
|
|
@ -459,9 +458,6 @@
|
|||
$('#execution-reason').parent().hide();
|
||||
$('#execution-reason').prop('required',false);
|
||||
|
||||
var today = new Date().toISOString().split('T')[0];
|
||||
document.getElementById('execution-execution_date').max = today;
|
||||
|
||||
/* $('#execution-execution_done').on('change',function(){
|
||||
let value=$(this).val();
|
||||
console.log("Value is ",value);
|
||||
|
|
@ -480,14 +476,14 @@
|
|||
}
|
||||
}) */
|
||||
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx,#execution-foracort_g_rx').parent().hide();
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx,#execution-foracort_g_rx').attr('required',false);
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx').parent().hide();
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx').attr('required',false);
|
||||
|
||||
$('#execution-execution').on('change',function(){
|
||||
let value=$('#execution-execution').val();
|
||||
if(value==='Yes'){
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx,#execution-foracort_g_rx').parent().show();
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx,#execution-foracort_g_rx').attr('required',true);
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx').parent().show();
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx').attr('required',true);
|
||||
$('#execution-reason').parent().hide();
|
||||
$('#execution-reason').prop('required',false);
|
||||
$('#execution-form input.dynamic-hidden').remove();
|
||||
|
|
@ -496,8 +492,8 @@
|
|||
|
||||
}
|
||||
else{
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx,#execution-foracort_g_rx').parent().hide();
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx,#execution-foracort_g_rx').attr('required',false);
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx').parent().hide();
|
||||
$('#execution-execution_date,#execution-patient_screened,#execution-patients_diagnosed,#execution-foracort_rx,#execution-seroflo_rx,#execution-duolin_rx,#execution-aerocort_rx,#execution-glycohale_fb_rx,#execution-e_voltido_rx,#execution-e_foracort_g_rx,#execution-e_synchrobreathe_range_rx').attr('required',false);
|
||||
$('#execution-reason').parent().show();
|
||||
$('#execution-reason').prop('required',true);
|
||||
$('#execution-form input.dynamic-hidden').remove();
|
||||
|
|
@ -549,13 +545,11 @@
|
|||
|
||||
let typeValue=$('#execution-type_of_camp').val();
|
||||
console.log("Type of Value : ",typeValue);
|
||||
if(typeValue==='In Clinic Camp'){
|
||||
console.log("In Clinic")
|
||||
if(typeValue==='In Clinic camp'){
|
||||
$('#execution-form').append('<input type="hidden" name="in_clinic_camp_exe" value="1">');
|
||||
|
||||
}
|
||||
else{
|
||||
console.log("Outreach")
|
||||
$('#execution-form').append('<input type="hidden" name="outreach_camp_exe" value="1">');
|
||||
|
||||
}
|
||||
|
|
@ -687,15 +681,12 @@ recordDateField.max = maxDate;
|
|||
recordDateField.value = todayFormatted;
|
||||
|
||||
var executionDateField = document.getElementById('execution-plan_date');
|
||||
|
||||
//executionDateField.setAttribute('min', today);
|
||||
|
||||
|
||||
$('.edit-btn').click(function() {
|
||||
var executionexeField = document.getElementById('execution-record_date');
|
||||
executionDateField.setAttribute('min', executionDateField.value);
|
||||
|
||||
});
|
||||
// $('.edit-btn').click(function() {
|
||||
// var executionexeField = document.getElementById('execution-record_date');
|
||||
// executionexeField.setAttribute('min', executionDateField.value);
|
||||
// });
|
||||
|
||||
|
||||
|
||||
|
|
@ -705,10 +696,6 @@ recordDateField.value = todayFormatted;
|
|||
executionexeField.setAttribute('min', executionDateField.value);
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue