Insurance approval new design

merge-requests/419/head
hussam al-habibeh 5 years ago
parent 03f39b8bab
commit daa417a19b

@ -100,7 +100,7 @@ class _InsuranceApprovalsDetailsState extends State<InsuranceApprovalsDetails> {
.approvalDetails.status == .approvalDetails.status ==
"Approved" "Approved"
? Color(0xff359846) ? Color(0xff359846)
: (0xffD02127), : Color(0xffD02127),
), ),
], ],
), ),
@ -269,20 +269,48 @@ class _InsuranceApprovalsDetailsState extends State<InsuranceApprovalsDetails> {
mainAxisAlignment: mainAxisAlignment:
MainAxisAlignment.spaceAround, MainAxisAlignment.spaceAround,
children: [ children: [
Expanded( Container(
height: MediaQuery.of(context)
.size
.height *
0.2, //130.0,
width: MediaQuery.of(context)
.size
.width *
0.33,
child: Texts(model child: Texts(model
.insuranceApproval[indexInsurance] .insuranceApproval[indexInsurance]
.approvalDetails .approvalDetails
.procedureName), .procedureName),
), ),
Texts(model Container(
.insuranceApproval[indexInsurance] height: MediaQuery.of(context)
.approvalDetails .size
.status), .height *
Texts(model 0.2,
.insuranceApproval[indexInsurance] width: MediaQuery.of(context)
.approvalDetails .size
.isInvoicedDesc), .width *
0.33,
child: Texts(model
.insuranceApproval[indexInsurance]
.approvalDetails
.status),
),
Container(
height: MediaQuery.of(context)
.size
.height *
0.2,
width: MediaQuery.of(context)
.size
.width *
0.25,
child: Texts(model
.insuranceApproval[indexInsurance]
.approvalDetails
.isInvoicedDesc),
),
], ],
) )
], ],

@ -134,16 +134,6 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
nameLine1: TranslationBase.of(context).progress, nameLine1: TranslationBase.of(context).progress,
nameLine2: TranslationBase.of(context).note, nameLine2: TranslationBase.of(context).note,
icon: 'patient/Progress_notes.png'), icon: 'patient/Progress_notes.png'),
if (int.parse(patientType) == 7 || int.parse(patientType) == 6)
PatientProfileButton(
key: key,
patient: patient,
patientType: patientType,
arrivalType: arrivalType,
route: ORDER_PROCEDURE,
nameLine1: TranslationBase.of(context).orders,
nameLine2: TranslationBase.of(context).procedures,
icon: 'patient/Order_Procedures.png'),
], ],
), ),
); );

@ -43,12 +43,15 @@ class DoctorCardInsurance extends StatelessWidget {
return Container( return Container(
margin: EdgeInsets.all(10), margin: EdgeInsets.all(10),
decoration: BoxDecoration( decoration: BoxDecoration(
border: Border.all( border: Border(
width: 0.5, left: BorderSide(
color: Colors.white, color: approvalStatus == "Approved"
), ? Color(0xff359846)
borderRadius: BorderRadius.all( : Color(0xffD02127),
Radius.circular(15.0), width: 3.5),
top: BorderSide(color: Colors.white, width: 0.5),
bottom: BorderSide(color: Colors.white, width: 0.5),
right: BorderSide(color: Colors.white, width: 0.5),
), ),
color: Colors.white), color: Colors.white),
child: Padding( child: Padding(
@ -142,8 +145,10 @@ class DoctorCardInsurance extends StatelessWidget {
'Clinic: ', 'Clinic: ',
color: Colors.grey[500], color: Colors.grey[500],
), ),
Texts( Expanded(
clinic, child: Texts(
clinic,
),
) )
], ],
), ),

Loading…
Cancel
Save