new Pat manager files
This commit is contained in:
parent
5e11e4522a
commit
eff4fae83e
15 changed files with 2253 additions and 168 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue