|
|
|
@ -63,27 +63,24 @@ class _InsuranceApprovalState extends State<InsuranceApproval> {
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceAround,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Text(
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).totalApproval,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Color(0xff60688B),
|
|
|
|
|
fontSize: 19.0,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
if (model.insuranceApproval.length > 0)
|
|
|
|
|
Container(
|
|
|
|
|
width: 60,
|
|
|
|
|
height: 35,
|
|
|
|
|
height: 40,
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Theme.of(context).primaryColor,
|
|
|
|
|
borderRadius: BorderRadius.circular(19.0)),
|
|
|
|
|
child: Center(
|
|
|
|
|
child: Text(
|
|
|
|
|
child: Texts(
|
|
|
|
|
model.insuranceApproval[0].unUsedCount
|
|
|
|
|
.toString(),
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
color: Colors.white, fontSize: 19.0),
|
|
|
|
|
color: Colors.white, fontSize: 17.0,
|
|
|
|
|
),
|
|
|
|
|
))
|
|
|
|
|
],
|
|
|
|
@ -138,22 +135,18 @@ class _InsuranceApprovalState extends State<InsuranceApproval> {
|
|
|
|
|
Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
|
vertical: 10.0),
|
|
|
|
|
child: Text(
|
|
|
|
|
child: Texts(
|
|
|
|
|
model.insuranceApproval[index]
|
|
|
|
|
.clinicName,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 20.0,
|
|
|
|
|
color: Color(0xff60686B),
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
fontSize: 20.0,
|
|
|
|
|
color: Color(0xff60686B),
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
Texts(
|
|
|
|
|
model.insuranceApproval[index]
|
|
|
|
|
.doctorName,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 17.0,
|
|
|
|
|
fontStyle: FontStyle.italic),
|
|
|
|
|
fontSize: 17.0,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
@ -166,45 +159,53 @@ class _InsuranceApprovalState extends State<InsuranceApproval> {
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.approvalNo +
|
|
|
|
|
model.insuranceApproval[index]
|
|
|
|
|
.approvalNo
|
|
|
|
|
.toString(),
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 18.0,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).approvalNo,
|
|
|
|
|
fontSize: 18.0,
|
|
|
|
|
),
|
|
|
|
|
Texts(model.insuranceApproval[index].approvalNo.toString(),
|
|
|
|
|
fontSize: 18.0,
|
|
|
|
|
fontWeight: FontWeight.w600,),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Divider(
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
height: 25.0,
|
|
|
|
|
thickness: 1.0,
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.procedureStatus +
|
|
|
|
|
model.insuranceApproval[index]
|
|
|
|
|
.approvalStatusDescption,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).procedureStatus ,
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(width: 12,),
|
|
|
|
|
Texts(
|
|
|
|
|
model.insuranceApproval[index].approvalStatusDescption,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontSize: 17.5),
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Divider(
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
height: 25.0,
|
|
|
|
|
thickness: 1.0,
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.unusedCount +
|
|
|
|
|
model.insuranceApproval[index]
|
|
|
|
|
.unUsedCount
|
|
|
|
|
.toString(),
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).unusedCount,
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
model.insuranceApproval[index].unUsedCount.toString(),
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
fontWeight: FontWeight.w600),
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Divider(
|
|
|
|
|
color: Colors.black,
|
|
|
|
@ -223,13 +224,10 @@ class _InsuranceApprovalState extends State<InsuranceApproval> {
|
|
|
|
|
// fontSize: 17.5,
|
|
|
|
|
// fontWeight: FontWeight.w600),
|
|
|
|
|
// ),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.companyName,
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).companyName,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
Divider(
|
|
|
|
@ -237,32 +235,42 @@ class _InsuranceApprovalState extends State<InsuranceApproval> {
|
|
|
|
|
height: 25.0,
|
|
|
|
|
thickness: 1.0,
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.receiptOn +
|
|
|
|
|
convertDateFormat(model
|
|
|
|
|
.insuranceApproval[index]
|
|
|
|
|
.rceiptOn),
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).receiptOn ,
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
convertDateFormat(model.insuranceApproval[index].rceiptOn),
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Divider(
|
|
|
|
|
color: Colors.black,
|
|
|
|
|
height: 25.0,
|
|
|
|
|
thickness: 1.0,
|
|
|
|
|
),
|
|
|
|
|
Text(
|
|
|
|
|
TranslationBase.of(context)
|
|
|
|
|
.expiryDate +
|
|
|
|
|
convertDateFormat(model
|
|
|
|
|
.insuranceApproval[index]
|
|
|
|
|
.expiryDate),
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Texts(
|
|
|
|
|
TranslationBase.of(context).expiryDate,
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
|
|
|
|
|
),
|
|
|
|
|
Texts(
|
|
|
|
|
convertDateFormat(model.insuranceApproval[index].expiryDate),
|
|
|
|
|
fontSize: 17.5,
|
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
|
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Divider(
|
|
|
|
|
color: Colors.black,
|
|
|
|
|