update apicall method name
This commit is contained in:
@@ -168,14 +168,14 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
void checkforchange() {
|
void checkforchange() {
|
||||||
if (start == true) {
|
if (start == true) {
|
||||||
setState(() {
|
setState(() {
|
||||||
patientQueueResults = MIHApiCalls.fetchPatientQueue(
|
patientQueueResults = MIHApiCalls.fetchBusinessAppointmentsAPICall(
|
||||||
queueDateController.text, widget.arguments.business!.business_id);
|
queueDateController.text, widget.arguments.business!.business_id);
|
||||||
start = false;
|
start = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (formattedDate != queueDateController.text) {
|
if (formattedDate != queueDateController.text) {
|
||||||
setState(() {
|
setState(() {
|
||||||
patientQueueResults = MIHApiCalls.fetchPatientQueue(
|
patientQueueResults = MIHApiCalls.fetchBusinessAppointmentsAPICall(
|
||||||
queueDateController.text, widget.arguments.business!.business_id);
|
queueDateController.text, widget.arguments.business!.business_id);
|
||||||
formattedDate = queueDateController.text;
|
formattedDate = queueDateController.text;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user