update route to /mih-access
This commit is contained in:
@@ -99,7 +99,7 @@ class _BuildPatientsListState extends State<BuildPatientAccessList> {
|
||||
"notification_type": "New Appointment Booked",
|
||||
"notification_message":
|
||||
"A new Appointment has been booked by ${widget.arguments.business!.Name} for the ${dateController.text} ${timeController.text}. Please approve the Access Review request.",
|
||||
"action_path": "/access-review",
|
||||
"action_path": "/mih-access",
|
||||
}),
|
||||
);
|
||||
if (response.statusCode == 201) {
|
||||
|
||||
@@ -139,7 +139,7 @@ class _BuildPatientsListState extends State<BuildPatientsList> {
|
||||
"notification_type": "New Appointment Booked",
|
||||
"notification_message":
|
||||
"A new Appointment has been booked by ${widget.arguments.business!.Name} for the ${dateController.text} ${timeController.text}. Please approve the Access Review request.",
|
||||
"action_path": "/access-review",
|
||||
"action_path": "/mih-access",
|
||||
}),
|
||||
);
|
||||
if (response.statusCode == 201) {
|
||||
|
||||
@@ -325,7 +325,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
|
||||
"notification_type": "Appointment Cancelled",
|
||||
"notification_message":
|
||||
"Your appointment with ${widget.business!.Name} for the ${widget.patientQueue[index].date_time.replaceAll("T", " ")} has been cancelled.",
|
||||
"action_path": "/access-review",
|
||||
"action_path": "/mih-access",
|
||||
}),
|
||||
);
|
||||
if (response.statusCode == 201) {
|
||||
@@ -361,7 +361,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
|
||||
"notification_type": "Rescheduled Appointment",
|
||||
"notification_message":
|
||||
"Your appointment with ${widget.business!.Name} for the ${widget.patientQueue[index].date_time.replaceAll("T", " ").substring(0, widget.patientQueue[index].date_time.length - 3)} has been rescheduled to the ${dateController.text} ${timeController.text}.",
|
||||
"action_path": "/access-review",
|
||||
"action_path": "/mih-access",
|
||||
}),
|
||||
);
|
||||
if (response.statusCode == 201) {
|
||||
@@ -397,7 +397,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
|
||||
// "notification_type": "Access Extension Request",
|
||||
// "notification_message":
|
||||
// "${widget.business!.Name} - access expiry date extension for appointment: ${widget.patientQueue[index].date_time.split("T")[0]}. Expiry Date: from ${widget.patientQueue[index].revoke_date.split("T")[0]} to ${revokeDate.split(" ")[0]}.",
|
||||
// "action_path": "/access-review",
|
||||
// "action_path": "/mih-access",
|
||||
// }),
|
||||
// );
|
||||
// if (response.statusCode == 201) {
|
||||
|
||||
Reference in New Issue
Block a user