forked from yaso_meth/mih-project
add title to Pat Man
This commit is contained in:
@@ -54,14 +54,6 @@ class _MihPatientSearchState extends State<MihPatientSearch> {
|
||||
}
|
||||
},
|
||||
child: Column(mainAxisSize: MainAxisSize.max, children: [
|
||||
const Text(
|
||||
"MIH Patient Lookup",
|
||||
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
||||
),
|
||||
Divider(
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
|
||||
//spacer
|
||||
const SizedBox(height: 10),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
@@ -222,7 +214,7 @@ class _MihPatientSearchState extends State<MihPatientSearch> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MihPackageToolBody(
|
||||
borderOn: true,
|
||||
borderOn: false,
|
||||
bodyItem: getPatientSearch(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -55,28 +55,28 @@ class _MyPatientListState extends State<MyPatientList> {
|
||||
}
|
||||
},
|
||||
child: Column(mainAxisSize: MainAxisSize.max, children: [
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Text(
|
||||
"My Patient List",
|
||||
style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
||||
),
|
||||
IconButton(
|
||||
iconSize: 20,
|
||||
icon: const Icon(
|
||||
Icons.refresh,
|
||||
),
|
||||
onPressed: () {
|
||||
getMyPatientList();
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
Divider(
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
|
||||
//spacer
|
||||
const SizedBox(height: 10),
|
||||
// Row(
|
||||
// mainAxisAlignment: MainAxisAlignment.center,
|
||||
// children: [
|
||||
// const Text(
|
||||
// "My Patient List",
|
||||
// style: TextStyle(fontSize: 25, fontWeight: FontWeight.bold),
|
||||
// ),
|
||||
// IconButton(
|
||||
// iconSize: 20,
|
||||
// icon: const Icon(
|
||||
// Icons.refresh,
|
||||
// ),
|
||||
// onPressed: () {
|
||||
// getMyPatientList();
|
||||
// },
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
// Divider(
|
||||
// color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
|
||||
// //spacer
|
||||
// const SizedBox(height: 10),
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
@@ -202,7 +202,7 @@ class _MyPatientListState extends State<MyPatientList> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MihPackageToolBody(
|
||||
borderOn: true,
|
||||
borderOn: false,
|
||||
bodyItem: myPatientListTool(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -67,13 +67,6 @@ class _WaitingRoomState extends State<WaitingRoom> {
|
||||
MihSingleChildScroll(
|
||||
child: Column(
|
||||
children: [
|
||||
const Text(
|
||||
"Waiting Room",
|
||||
style: const TextStyle(
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 25,
|
||||
),
|
||||
),
|
||||
MIHCalendar(
|
||||
calendarWidth: 500,
|
||||
rowHeight: 35,
|
||||
@@ -466,7 +459,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MihPackageToolBody(
|
||||
borderOn: true,
|
||||
borderOn: false,
|
||||
bodyItem: getBusinessAppointmentsTool(),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@ class _PatManagerState extends State<PatManager> {
|
||||
appActionButton: getActionButton(),
|
||||
appTools: getTools(),
|
||||
appBody: getToolBody(),
|
||||
appToolTitles: getToolTitle(),
|
||||
selectedbodyIndex: _selcetedIndex,
|
||||
onIndexChange: (newValue) {
|
||||
setState(() {
|
||||
@@ -108,4 +109,13 @@ class _PatManagerState extends State<PatManager> {
|
||||
];
|
||||
return toolBodies;
|
||||
}
|
||||
|
||||
List<String> getToolTitle() {
|
||||
List<String> toolTitles = [
|
||||
"Waiting Room",
|
||||
"Patients",
|
||||
"Search Patients",
|
||||
];
|
||||
return toolTitles;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user