|
|
|
@ -169,6 +169,14 @@ class _CurrentDiagnosisState extends State<CurrentDiagnosis> {
|
|
|
|
"Deleted") {
|
|
|
|
"Deleted") {
|
|
|
|
DrAppToastMsg.showErrorToast(TranslationBase.of(context).diagnosisAlreadyDeleted);
|
|
|
|
DrAppToastMsg.showErrorToast(TranslationBase.of(context).diagnosisAlreadyDeleted);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (widget.currentDiagnosisItems[index]
|
|
|
|
|
|
|
|
.resolved ==
|
|
|
|
|
|
|
|
true) {
|
|
|
|
|
|
|
|
DrAppToastMsg.showErrorToast(
|
|
|
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
|
|
|
.diagnosisAlreadyResolved);
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
showConfirmationDialog(context,
|
|
|
|
showConfirmationDialog(context,
|
|
|
|
"${TranslationBase.of(context).delete} ${TranslationBase.of(context).diagnosis}",
|
|
|
|
"${TranslationBase.of(context).delete} ${TranslationBase.of(context).diagnosis}",
|
|
|
|
|