|
|
|
|
@ -58,7 +58,7 @@ class InterventionHistoryBottomSheet extends StatelessWidget {
|
|
|
|
|
model.updateInterventionDiseaseStatus(
|
|
|
|
|
isAccepted: true,
|
|
|
|
|
interventionID: interventionList[index].interventionId.toString(),
|
|
|
|
|
successMessage: TranslationBase.of(context).interventionRejectedSuccessfully,
|
|
|
|
|
successMessage: TranslationBase.of(context).interventionAcceptedSuccessfully,
|
|
|
|
|
errorMessage: TranslationBase.of(context).unableToPerformTheAction
|
|
|
|
|
);
|
|
|
|
|
Navigator.pop(context);
|
|
|
|
|
@ -66,7 +66,7 @@ class InterventionHistoryBottomSheet extends StatelessWidget {
|
|
|
|
|
onRejectClick: (intervention) {
|
|
|
|
|
model.updateInterventionDiseaseStatus(
|
|
|
|
|
interventionID: interventionList[index].interventionId.toString(),
|
|
|
|
|
successMessage: TranslationBase.of(context).interventionAcceptedSuccessfully,
|
|
|
|
|
successMessage: TranslationBase.of(context).interventionRejectedSuccessfully,
|
|
|
|
|
errorMessage: TranslationBase.of(context).unableToPerformTheAction
|
|
|
|
|
);
|
|
|
|
|
Navigator.pop(context);
|
|
|
|
|
|