forked from yaso_meth/mih-project
change button to cancel appoiintment and update appointment
This commit is contained in:
@@ -360,7 +360,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
|
||||
onTap: () {
|
||||
updateAccessAPICall(index, "cancelled");
|
||||
},
|
||||
buttonText: "Cancel",
|
||||
buttonText: "Cancel Appointment",
|
||||
buttonColor:
|
||||
MzanziInnovationHub.of(context)!.theme.errorColor(),
|
||||
textColor:
|
||||
@@ -374,7 +374,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
|
||||
onTap: () {
|
||||
updateApointmentAPICall(index);
|
||||
},
|
||||
buttonText: "Update",
|
||||
buttonText: "Update Appointment",
|
||||
buttonColor:
|
||||
MzanziInnovationHub.of(context)!.theme.successColor(),
|
||||
textColor:
|
||||
|
||||
Reference in New Issue
Block a user