Merge branch 'referral_in_patient' into 'development'

Referral in patient

See merge request Cloud_Solution/doctor_app_flutter!645
merge-requests/646/merge
Mohammad Aljammal 5 years ago
commit 20c96cd370

@ -385,8 +385,7 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
true;
visbiltySearch = false;
_selectedMedication =
model.allMedicationList[
index];
model.allMedicationList[index];
uom = _selectedMedication
.uom;
},
@ -406,6 +405,8 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
child: Container(
child: Column(
children: [
AppText(_selectedMedication?.description??"",bold: true,),
Container(
child: Row(
children: [
@ -435,10 +436,7 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
child: Row(
children: [
Container(
width: MediaQuery.of(context)
.size
.width *
0.450,
width: MediaQuery.of(context).size.width * 0.35,
child: TextFields(
inputFormatters: [
LengthLimitingTextInputFormatter(
@ -447,9 +445,7 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
// .digitsOnly
],
hintText:
TranslationBase.of(
context)
.strength,
TranslationBase.of(context).strength,
controller:
strengthController,
keyboardType: TextInputType
@ -560,20 +556,11 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
: null,
child: TextField(
decoration:
textFieldSelectorDecoration(
'Select',
model.itemMedicineListUnit
.length ==
1
? units = model
.itemMedicineListUnit[0]
[
'description']
: units !=
null
? units[
'description']
: null,
textFieldSelectorDecoration('Select',
model.itemMedicineListUnit.length == 1
? units = model.itemMedicineListUnit[0]['description']
: units != null ? units['description'].toString() : null,
true),
enabled: false),
),

Loading…
Cancel
Save