new Pat manager files
This commit is contained in:
@@ -135,6 +135,7 @@ class _BuildPatientsListState extends State<BuildPatientAccessList> {
|
||||
MIHApiCalls.addAppointmentAPICall(
|
||||
widget.arguments.business!.business_id,
|
||||
widget.patientAccesses[index].app_id,
|
||||
false,
|
||||
dateController.text,
|
||||
timeController.text,
|
||||
widget.arguments,
|
||||
|
||||
@@ -175,6 +175,7 @@ class _BuildPatientsListState extends State<BuildPatientsList> {
|
||||
MIHApiCalls.addAppointmentAPICall(
|
||||
widget.arguments.business!.business_id,
|
||||
widget.patients[index].app_id,
|
||||
false,
|
||||
dateController.text,
|
||||
timeController.text,
|
||||
widget.arguments,
|
||||
@@ -523,14 +524,14 @@ class _BuildPatientsListState extends State<BuildPatientsList> {
|
||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
onTap: () {
|
||||
//print("Send access Request...");
|
||||
MIHApiCalls.addPatientAccessAPICall(
|
||||
widget.business!.business_id,
|
||||
widget.patients[index].app_id,
|
||||
"patient",
|
||||
widget.business!.Name,
|
||||
widget.arguments,
|
||||
context,
|
||||
);
|
||||
// MIHApiCalls.addPatientAccessAPICall(
|
||||
// widget.business!.business_id,
|
||||
// widget.patients[index].app_id,
|
||||
// "patient",
|
||||
// widget.business!.Name,
|
||||
// widget.arguments,
|
||||
// context,
|
||||
// );
|
||||
},
|
||||
),
|
||||
),
|
||||
@@ -548,12 +549,12 @@ class _BuildPatientsListState extends State<BuildPatientsList> {
|
||||
MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
onTap: () {
|
||||
print("Send rewaply access Request...");
|
||||
MIHApiCalls.reapplyPatientAccessAPICall(
|
||||
widget.business!.business_id,
|
||||
widget.patients[index].app_id,
|
||||
widget.arguments,
|
||||
context,
|
||||
);
|
||||
// MIHApiCalls.reapplyPatientAccessAPICall(
|
||||
// widget.business!.business_id,
|
||||
// widget.patients[index].app_id,
|
||||
// widget.arguments,
|
||||
// context,
|
||||
// );
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
@@ -475,6 +475,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
|
||||
MIHApiCalls.deleteApointmentAPICall(
|
||||
widget.patientQueue[index].idpatient_queue,
|
||||
widget.patientQueue[index].app_id,
|
||||
false,
|
||||
widget.patientQueue[index].date_time,
|
||||
BusinessArguments(
|
||||
widget.signedInUser,
|
||||
@@ -500,6 +501,7 @@ class _BuildPatientsListState extends State<BuildPatientQueueList> {
|
||||
MIHApiCalls.updateApointmentAPICall(
|
||||
widget.patientQueue[index].idpatient_queue,
|
||||
widget.patientQueue[index].app_id,
|
||||
false,
|
||||
widget.business!.Name,
|
||||
widget.patientQueue[index].date_time,
|
||||
dateController.text,
|
||||
|
||||
Reference in New Issue
Block a user