|
|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
import 'package:easy_localization/src/public_ext.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/api/profile_api_client.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/app_state/app_state.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/classes/colors.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/classes/utils.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/extensions/int_extensions.dart';
|
|
|
|
|
@ -27,12 +28,18 @@ class _PesonalInfoState extends State<PesonalInfo> {
|
|
|
|
|
String? emailAddress = "";
|
|
|
|
|
String? employeeNo = "";
|
|
|
|
|
|
|
|
|
|
// List<GetEmployeeBasicDetailsList> getEmployeeBasicDetailsList = [];
|
|
|
|
|
// MemberInformationListModel? _memberInformationList;
|
|
|
|
|
|
|
|
|
|
late MemberInformationListModel memberInformationList;
|
|
|
|
|
|
|
|
|
|
List<GetEmployeeBasicDetailsList> getEmployeeBasicDetailsList = [];
|
|
|
|
|
MemberInformationListModel? _memberInformationList;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
void initState() {
|
|
|
|
|
super.initState();
|
|
|
|
|
memberInformationList = AppState().memberInformationList!;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -80,23 +87,23 @@ class _PesonalInfoState extends State<PesonalInfo> {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
|
"Category".toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${_memberInformationList!.eMPLOYMENTCATEGORYMEANING}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
"${memberInformationList!.eMPLOYMENTCATEGORYMEANING}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 20,),
|
|
|
|
|
"Address".toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${_memberInformationList!.lOCATIONNAME}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
"${memberInformationList!.lOCATIONNAME}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 20,),
|
|
|
|
|
"Phone Number".toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${_memberInformationList!.eMPLOYEEMOBILENUMBER}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
"${memberInformationList!.eMPLOYEEMOBILENUMBER}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 20,),
|
|
|
|
|
"Business Group".toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${_memberInformationList!.bUSINESSGROUPNAME}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
"${memberInformationList!.bUSINESSGROUPNAME}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 20,),
|
|
|
|
|
"Payroll".toText13(color: MyColors.lightGrayColor),
|
|
|
|
|
"${_memberInformationList!.pAYROLLNAME}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
"${memberInformationList!.pAYROLLNAME}".toText16(isBold: true, color: MyColors.blackColor),
|
|
|
|
|
]
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|