add business to BuildPatientsList call
This commit is contained in:
@@ -132,6 +132,7 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
child: BuildPatientsList(
|
child: BuildPatientsList(
|
||||||
patients: patientsList,
|
patients: patientsList,
|
||||||
signedInUser: widget.arguments.signedInUser,
|
signedInUser: widget.arguments.signedInUser,
|
||||||
|
business: widget.arguments.business,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -299,9 +300,22 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
height: 600,
|
height: 600,
|
||||||
child: Column(mainAxisSize: MainAxisSize.max, children: [
|
child: Column(mainAxisSize: MainAxisSize.max, children: [
|
||||||
//const SizedBox(height: 15),
|
//const SizedBox(height: 15),
|
||||||
const Text(
|
Row(
|
||||||
"Waiting Room",
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
const Text(
|
||||||
|
"Waiting Room",
|
||||||
|
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
||||||
|
),
|
||||||
|
IconButton(
|
||||||
|
onPressed: () {
|
||||||
|
refreshQueue();
|
||||||
|
},
|
||||||
|
icon: const Icon(
|
||||||
|
Icons.refresh,
|
||||||
|
))
|
||||||
|
],
|
||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
MIHDateField(
|
MIHDateField(
|
||||||
@@ -373,6 +387,13 @@ class _PatientManagerState extends State<PatientManager> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void refreshQueue() {
|
||||||
|
setState(() {
|
||||||
|
start = true;
|
||||||
|
});
|
||||||
|
checkforchange();
|
||||||
|
}
|
||||||
|
|
||||||
void submitPatientForm() {
|
void submitPatientForm() {
|
||||||
if (searchController.text != "") {
|
if (searchController.text != "") {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
|||||||
Reference in New Issue
Block a user