fix DA-151

merge-requests/265/head
Elham Rababah 5 years ago
parent 03fa9de901
commit a7ca7fb271

@ -37,7 +37,7 @@ class StepsWidget extends StatelessWidget {
child: InkWell( child: InkWell(
onTap: () => changeCurrentTab(0), onTap: () => changeCurrentTab(0),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Container( Container(
width: index == 0 ? 70 : 50, width: index == 0 ? 70 : 50,
@ -259,7 +259,7 @@ class StepsWidget extends StatelessWidget {
child: InkWell( child: InkWell(
onTap: () => changeCurrentTab(0), onTap: () => changeCurrentTab(0),
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Container( Container(
width: index == 0 ? 70 : 50, width: index == 0 ? 70 : 50,

@ -694,6 +694,9 @@ class _AddAssessmentDetailsState extends State<AddAssessmentDetails> {
maxLines: 18, maxLines: 18,
minLines: 5, minLines: 5,
controller: remarkController, controller: remarkController,
onChanged:(value) {
widget.mySelectedAssessment.remark = remarkController.text;
},
validator: (value) { validator: (value) {
if (value == null) if (value == null)
return TranslationBase return TranslationBase

@ -505,7 +505,7 @@ class _AddExaminationDailogState extends State<AddExaminationDailog> {
}, },
builder: (_, model, w) => builder: (_, model, w) =>
AppScaffold( AppScaffold(
// baseViewModel: model, baseViewModel: model,
isShowAppBar: false, isShowAppBar: false,
body: Center( body: Center(
child: Container( child: Container(
@ -518,41 +518,38 @@ class _AddExaminationDailogState extends State<AddExaminationDailog> {
height: 16, height: 16,
), ),
AppText( AppText(
"Examinations", TranslationBase.of(context).physicalSystemExamination,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
fontSize: 16, fontSize: 16,
), ),
SizedBox( SizedBox(
height: 16, height: 16,
), ),
NetworkBaseView( MasterKeyCheckboxSearchWidget(
baseViewModel: model, model: model,
child: MasterKeyCheckboxSearchWidget( hintSearchText: TranslationBase.of(context).searchExamination,
model: model, buttonName: TranslationBase.of(context).addExamination,
hintSearchText: TranslationBase.of(context).searchExamination, masterList: model.physicalExaminationList,
buttonName: TranslationBase.of(context).addExamination, removeHistory: (history){
masterList: model.physicalExaminationList, setState(() {
removeHistory: (history){ widget.removeExamination(history);
setState(() { });
widget.removeExamination(history); },
}); addHistory: (history){
}, setState(() {
addHistory: (history){ MySelectedExamination mySelectedExamination = new MySelectedExamination(
setState(() { selectedExamination: history
MySelectedExamination mySelectedExamination = new MySelectedExamination( );
selectedExamination: history widget
); .mySelectedExamination
widget .add(
.mySelectedExamination mySelectedExamination);
.add( });
mySelectedExamination); },
}); addSelectedHistories: (){
}, widget.addSelectedExamination();
addSelectedHistories: (){ },
widget.addSelectedExamination(); isServiceSelected: (master) =>isServiceSelected(master),
},
isServiceSelected: (master) =>isServiceSelected(master),
),
), ),
]), ]),
))), ))),

Loading…
Cancel
Save