hot fixing

merge-requests/237/head
Mohammad Aljammal 5 years ago
parent deb5b81cb3
commit eb5a3a59ff

@ -124,10 +124,12 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
'Doctor : '.toUpperCase(), 'Doctor : '.toUpperCase(),
fontWeight: FontWeight.w700, fontWeight: FontWeight.w700,
), ),
AppText( Expanded(
model.medicalFileList[0].entityList[0] child: AppText(
.timelines[index].doctorName, model.medicalFileList[0].entityList[0]
fontWeight: FontWeight.w700, .timelines[index].doctorName,
fontWeight: FontWeight.w700,
),
), ),
], ],
), ),

@ -466,25 +466,17 @@ class _PatientsScreenState extends State<PatientsScreen> {
height: height:
10.0, 10.0,
), ),
Padding( AppText(
padding: EdgeInsets.symmetric(
vertical:
5.5,
horizontal:
22.5),
child:
AppText(
item.firstName + item.firstName +
" " + " " +
item.lastName, item.lastName,
fontSize: fontSize:
2.0 * SizeConfig.textMultiplier, 2.0 * SizeConfig.textMultiplier,
fontWeight: fontWeight:
FontWeight.bold, FontWeight.bold,
backGroundcolor: backGroundcolor:
Colors.white, Colors.white,
), ),
),
], ],
), ),
Row( Row(

@ -696,7 +696,7 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
selectDate(BuildContext context, PrescriptionViewModel model) async { selectDate(BuildContext context, PrescriptionViewModel model) async {
DateTime selectedDate; DateTime selectedDate;
selectedDate = DateTime.now().add(Duration(hours: 10)); selectedDate = DateTime.now().add(Duration(hours: 15));
final DateTime picked = await showDatePicker( final DateTime picked = await showDatePicker(
context: context, context: context,
initialDate: selectedDate, initialDate: selectedDate,

@ -94,7 +94,7 @@ class PatientProfileWidget extends StatelessWidget {
color: Color(0xffCCCCCC), color: Color(0xffCCCCCC),
), ),
Container( Container(
height: 10 * SizeConfig.textMultiplier, height: 11 * SizeConfig.textMultiplier,
child: Row( child: Row(
children: [ children: [
Expanded( Expanded(
@ -232,14 +232,16 @@ class PatientProfileWidget extends StatelessWidget {
SizeConfig.textMultiplier, SizeConfig.textMultiplier,
), ),
), ),
AppText( Expanded(
patient.admissionDate != null child: AppText(
? "${DateUtils.convertDateFromServerFormat(patient.admissionDate, 'EEEE dd, MMMM yyyy hh:mm a')}" patient.admissionDate != null
: "", ? "${DateUtils.convertDateFromServerFormat(patient.admissionDate, 'EEEE dd, MMMM yyyy hh:mm a')}"
color: Colors.black, : "",
fontWeight: FontWeight.normal, color: Colors.black,
fontSize: fontWeight: FontWeight.normal,
1.6 * SizeConfig.textMultiplier, fontSize:
1.6 * SizeConfig.textMultiplier,
),
), ),
], ],
), ),
@ -374,13 +376,15 @@ class PatientProfileWidget extends StatelessWidget {
SizedBox( SizedBox(
width: 4, width: 4,
), ),
AppText( Expanded(
"${patient.nursingStationName}\n${patient.roomId}", child: AppText(
fontWeight: "${patient.nursingStationName}\n${patient.roomId}",
FontWeight.normal, fontWeight:
fontSize: 1.4 * FontWeight.normal,
SizeConfig fontSize: 1.4 *
.textMultiplier, SizeConfig
.textMultiplier,
),
), ),
], ],
), ),

@ -505,6 +505,8 @@ class _AddExaminationDailogState extends State<AddExaminationDailog> {
baseViewModel: model, baseViewModel: model,
child: MasterKeyCheckboxSearchWidget( child: MasterKeyCheckboxSearchWidget(
model: model, model: model,
hintSearchText: 'Search Examination',
buttonName: 'Add Examination',
masterList: model.physicalExaminationList, masterList: model.physicalExaminationList,
removeHistory: (history){ removeHistory: (history){
setState(() { setState(() {

Loading…
Cancel
Save