update patient view arguments to include business & business user
This commit is contained in:
@@ -271,6 +271,8 @@ class _PatientManagerState extends State<PatientManager> {
|
||||
child: BuildPatientQueueList(
|
||||
patientQueue: patientQueueList,
|
||||
signedInUser: widget.arguments.signedInUser,
|
||||
business: widget.arguments.business,
|
||||
businessUser: widget.arguments.businessUser,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -48,15 +48,6 @@ class _PatientViewState extends State<PatientView> {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Future<void> loadImage() async {
|
||||
// try {
|
||||
// var t = MzanziInnovationHub.of(context)!.theme.logoImage();
|
||||
// await precacheImage(t.image, context);
|
||||
// } catch (e) {
|
||||
// print('Failed to load and cache the image: $e');
|
||||
// }
|
||||
// }
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
// loadImage();
|
||||
@@ -109,6 +100,8 @@ class _PatientViewState extends State<PatientView> {
|
||||
patientIndex: snapshot.data!.idpatients,
|
||||
selectedPatient: snapshot.data!,
|
||||
signedInUser: widget.arguments.signedInUser,
|
||||
business: widget.arguments.business,
|
||||
businessUser: widget.arguments.businessUser,
|
||||
type: widget.arguments.type,
|
||||
),
|
||||
)
|
||||
|
||||
@@ -108,6 +108,8 @@ class _PatientViewState extends State<PatientViewPersonal> {
|
||||
patientIndex: snapshot.data!.idpatients,
|
||||
selectedPatient: snapshot.data!,
|
||||
signedInUser: widget.arguments.signedInUser,
|
||||
business: widget.arguments.business,
|
||||
businessUser: widget.arguments.businessUser,
|
||||
type: widget.arguments.type,
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user