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