Insurance approval new design

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

@ -100,7 +100,7 @@ class _InsuranceApprovalsDetailsState extends State<InsuranceApprovalsDetails> {
.approvalDetails.status ==
"Approved"
? Color(0xff359846)
: (0xffD02127),
: Color(0xffD02127),
),
],
),
@ -269,20 +269,48 @@ class _InsuranceApprovalsDetailsState extends State<InsuranceApprovalsDetails> {
mainAxisAlignment:
MainAxisAlignment.spaceAround,
children: [
Expanded(
Container(
height: MediaQuery.of(context)
.size
.height *
0.2, //130.0,
width: MediaQuery.of(context)
.size
.width *
0.33,
child: Texts(model
.insuranceApproval[indexInsurance]
.approvalDetails
.procedureName),
),
Texts(model
.insuranceApproval[indexInsurance]
.approvalDetails
.status),
Texts(model
.insuranceApproval[indexInsurance]
.approvalDetails
.isInvoicedDesc),
Container(
height: MediaQuery.of(context)
.size
.height *
0.2,
width: MediaQuery.of(context)
.size
.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,
nameLine2: TranslationBase.of(context).note,
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(
margin: EdgeInsets.all(10),
decoration: BoxDecoration(
border: Border.all(
width: 0.5,
color: Colors.white,
),
borderRadius: BorderRadius.all(
Radius.circular(15.0),
border: Border(
left: BorderSide(
color: approvalStatus == "Approved"
? Color(0xff359846)
: Color(0xffD02127),
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),
child: Padding(
@ -142,8 +145,10 @@ class DoctorCardInsurance extends StatelessWidget {
'Clinic: ',
color: Colors.grey[500],
),
Texts(
clinic,
Expanded(
child: Texts(
clinic,
),
)
],
),

Loading…
Cancel
Save