Team3 : Doctor Activities for Neb Arise
This commit is contained in:
parent
47dde3c499
commit
3595b2c567
|
|
@ -418,11 +418,11 @@
|
||||||
let type_of_meet=$('#execution-type_of_meeting').val();
|
let type_of_meet=$('#execution-type_of_meeting').val();
|
||||||
console.log("type of meet",type_of_meet);
|
console.log("type of meet",type_of_meet);
|
||||||
|
|
||||||
if(type_of_meet==='Asthma Camp'){
|
if(type_of_meet==='GNP Camp'){
|
||||||
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').parent().show();
|
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').parent().show();
|
||||||
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').attr('required',true);
|
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').attr('required',true);
|
||||||
$('#execution-no_of_patients_on_duolin').attr('max',10);
|
$('#execution-no_of_patients_on_duolin').attr('max',10);
|
||||||
$('label[for="execution-name_of_the_speaker"]').html('Name of the Speaker (Pedia or GP only) ');
|
$('label[for="execution-name_of_the_speaker"]').html('Name of the Speaker');
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').parent().hide();
|
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').parent().hide();
|
||||||
|
|
@ -432,7 +432,7 @@
|
||||||
|
|
||||||
$('#execution-type_of_meeting').on('change',function(){
|
$('#execution-type_of_meeting').on('change',function(){
|
||||||
let type_of_meet=$('#execution-type_of_meeting').val();
|
let type_of_meet=$('#execution-type_of_meeting').val();
|
||||||
if(type_of_meet==='Asthma Camp'){
|
if(type_of_meet==='GNP Camp'){
|
||||||
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').parent().show();
|
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').parent().show();
|
||||||
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').attr('required',true);
|
$('#execution-no_of_patients_on_duolin,#execution-no_of_units_duolin_respules').attr('required',true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue