|
|
|
|
@ -88,62 +88,58 @@ class _BasicDetailsState extends State<BasicDetails> {
|
|
|
|
|
? const SizedBox()
|
|
|
|
|
: (getEmployeeBasicDetailsList!.isEmpty
|
|
|
|
|
? Utils.getNoDataWidget(context)
|
|
|
|
|
: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.profile_basicDetails.tr().toText20(isBold:true),
|
|
|
|
|
14.height,
|
|
|
|
|
...getEmployeeBasicDetailsList!
|
|
|
|
|
.map((e) => Column(
|
|
|
|
|
children: [
|
|
|
|
|
e.dISPLAYFLAG == "Y"
|
|
|
|
|
? Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
|
|
|
|
|
"${e.sEGMENTPROMPT}".toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.sEGMENTVALUEDSP}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height
|
|
|
|
|
])
|
|
|
|
|
: Container(),
|
|
|
|
|
],
|
|
|
|
|
))
|
|
|
|
|
.toList()
|
|
|
|
|
])
|
|
|
|
|
.objectContainerView()),
|
|
|
|
|
: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
|
|
|
|
|
LocaleKeys.profile_basicDetails.tr().toText20(isBold: true),
|
|
|
|
|
14.height,
|
|
|
|
|
...getEmployeeBasicDetailsList!
|
|
|
|
|
.map((e) => Column(
|
|
|
|
|
children: [
|
|
|
|
|
e.dISPLAYFLAG == "Y"
|
|
|
|
|
? Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
|
|
|
|
|
"${e.sEGMENTPROMPT}".toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.sEGMENTVALUEDSP}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height
|
|
|
|
|
])
|
|
|
|
|
: Container(),
|
|
|
|
|
],
|
|
|
|
|
))
|
|
|
|
|
.toList()
|
|
|
|
|
]).objectContainerView()),
|
|
|
|
|
20.height,
|
|
|
|
|
getEmployeeQualificationsList == null
|
|
|
|
|
? const SizedBox()
|
|
|
|
|
: (getEmployeeQualificationsList!.isEmpty
|
|
|
|
|
? Utils.getNoDataWidget(context)
|
|
|
|
|
: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.qualification.tr().toText20(isBold:true),
|
|
|
|
|
14.height,
|
|
|
|
|
...getEmployeeQualificationsList!
|
|
|
|
|
.map((e) => SizedBox(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.esteblishmentName.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.establishment}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height,
|
|
|
|
|
LocaleKeys.grade.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.grade}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height,
|
|
|
|
|
LocaleKeys.gradeDescription.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.gradeDescription}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height,
|
|
|
|
|
LocaleKeys.type.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.qualificationType}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height,
|
|
|
|
|
LocaleKeys.status.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.status}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
))
|
|
|
|
|
.toList()
|
|
|
|
|
])
|
|
|
|
|
.objectContainerView())
|
|
|
|
|
: ((getEmployeeQualificationsList!.isEmpty && getEmployeeBasicDetailsList!.isEmpty)
|
|
|
|
|
? Utils.getNoDataWidget(context)
|
|
|
|
|
: getEmployeeQualificationsList!.isEmpty
|
|
|
|
|
? Container()
|
|
|
|
|
: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
|
|
|
|
|
LocaleKeys.qualification.tr().toText20(isBold: true),
|
|
|
|
|
14.height,
|
|
|
|
|
...getEmployeeQualificationsList!
|
|
|
|
|
.map((e) => SizedBox(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
LocaleKeys.esteblishmentName.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.establishment}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height,
|
|
|
|
|
LocaleKeys.grade.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.grade}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height,
|
|
|
|
|
LocaleKeys.gradeDescription.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.gradeDescription}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height,
|
|
|
|
|
LocaleKeys.type.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.qualificationType}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
12.height,
|
|
|
|
|
LocaleKeys.status.tr().toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${e.status}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
))
|
|
|
|
|
.toList()
|
|
|
|
|
]).objectContainerView())
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|