fix the bug

merge-requests/979/head
Elham Rababh 4 years ago
parent ed6af7f26e
commit 95321a9305

@ -147,7 +147,7 @@ class _PatientMakeInPatientReferralScreenState extends State<PatientMakeInPatien
Widget build(BuildContext context) {
dynamic priority1 = {
"ParameterCode": 1,
"ParameterCode": 0,
"Description": TranslationBase.of(context).veryUrgent.toUpperCase(),
};
dynamic priority2 = {
@ -155,7 +155,7 @@ class _PatientMakeInPatientReferralScreenState extends State<PatientMakeInPatien
'Description': TranslationBase.of(context).urgent.toUpperCase(),
};
dynamic priority3 = {
"ParameterCode": 1,
"ParameterCode": 2,
'Description': TranslationBase.of(context).routine.toUpperCase(),
};
@ -453,6 +453,7 @@ class _PatientMakeInPatientReferralScreenState extends State<PatientMakeInPatien
okFunction: (selectedValue) {
setState(() {
_selectedPriority = selectedValue;
_activePriority = selectedValue["ParameterCode"];
});
},
);

Loading…
Cancel
Save