Merge branch 'Fatima' into 'master'

Fatima

See merge request mirza.shafique/mohem_flutter_app!80
merge-requests/1/merge
Sikander Saleem 3 years ago
commit 2fd74804a1

@ -401,6 +401,7 @@
"ITGForms": "ITG نماذج", "ITGForms": "ITG نماذج",
"itemCreation": "أنشاء عنصر", "itemCreation": "أنشاء عنصر",
"stamp": "ختم", "stamp": "ختم",
"addFavoriteList": "هل تريد اضافة {name} لقائمة المفضله",
"profile": { "profile": {
"reset_password": { "reset_password": {
"label": "Reset Password", "label": "Reset Password",
@ -411,7 +412,7 @@
"completeProfile": "الملف الشخصي الكامل", "completeProfile": "الملف الشخصي الكامل",
"personalInformation": "معلومات شخصية", "personalInformation": "معلومات شخصية",
"basicDetails": "تفاصيل أساسية", "basicDetails": "تفاصيل أساسية",
"address": "تبوك", "address": "العنوان",
"contactDetails": "بيانات التواصل", "contactDetails": "بيانات التواصل",
"familyDetails": "تفاصيل عائلية", "familyDetails": "تفاصيل عائلية",
"effectiveDate": "تاريخ النفاذ", "effectiveDate": "تاريخ النفاذ",

@ -401,6 +401,7 @@
"ITGForms": "ITG Forms", "ITGForms": "ITG Forms",
"itemCreation": "Item Creation", "itemCreation": "Item Creation",
"stamp": "Stamp", "stamp": "Stamp",
"addFavoriteList": "Do you want to add {name} in your favorite list",
"profile": { "profile": {
"reset_password": { "reset_password": {
"label": "Reset Password", "label": "Reset Password",

@ -46,7 +46,7 @@ class CodegenLoader extends AssetLoader{
"services": "خدمات", "services": "خدمات",
"viewAllServices": "عرض جميع الخدمات", "viewAllServices": "عرض جميع الخدمات",
"monthlyAttendance": "الحضور الشهري", "monthlyAttendance": "الحضور الشهري",
"vacationRule": "حكم اجازة", "vacationRule": "قاعدة الاجازات",
"vacationType": "نوع الاجازة", "vacationType": "نوع الاجازة",
"startDateT": "تاريخ البدء", "startDateT": "تاريخ البدء",
"endDateT": "تاريخ الانتهاء", "endDateT": "تاريخ الانتهاء",
@ -417,6 +417,7 @@ class CodegenLoader extends AssetLoader{
"ITGForms": "ITG نماذج", "ITGForms": "ITG نماذج",
"itemCreation": "أنشاء عنصر", "itemCreation": "أنشاء عنصر",
"stamp": "ختم", "stamp": "ختم",
"addFavoriteList": "هل تريد اضافة {name} لقائمة المفضله",
"profile": { "profile": {
"reset_password": { "reset_password": {
"label": "Reset Password", "label": "Reset Password",
@ -427,7 +428,7 @@ class CodegenLoader extends AssetLoader{
"completeProfile": "الملف الشخصي الكامل", "completeProfile": "الملف الشخصي الكامل",
"personalInformation": "معلومات شخصية", "personalInformation": "معلومات شخصية",
"basicDetails": "تفاصيل أساسية", "basicDetails": "تفاصيل أساسية",
"address": "تبوك", "address": "العنوان",
"contactDetails": "بيانات التواصل", "contactDetails": "بيانات التواصل",
"familyDetails": "تفاصيل عائلية", "familyDetails": "تفاصيل عائلية",
"effectiveDate": "تاريخ النفاذ", "effectiveDate": "تاريخ النفاذ",
@ -854,6 +855,7 @@ static const Map<String,dynamic> en_US = {
"ITGForms": "ITG Forms", "ITGForms": "ITG Forms",
"itemCreation": "Item Creation", "itemCreation": "Item Creation",
"stamp": "Stamp", "stamp": "Stamp",
"addFavoriteList": "Do you want to add {name} in your favorite list",
"profile": { "profile": {
"reset_password": { "reset_password": {
"label": "Reset Password", "label": "Reset Password",

@ -402,6 +402,7 @@ abstract class LocaleKeys {
static const ITGForms = 'ITGForms'; static const ITGForms = 'ITGForms';
static const itemCreation = 'itemCreation'; static const itemCreation = 'itemCreation';
static const stamp = 'stamp'; static const stamp = 'stamp';
static const addFavoriteList = 'addFavoriteList';
static const profile_reset_password_label = 'profile.reset_password.label'; static const profile_reset_password_label = 'profile.reset_password.label';
static const profile_reset_password_username = 'profile.reset_password.username'; static const profile_reset_password_username = 'profile.reset_password.username';
static const profile_reset_password_password = 'profile.reset_password.password'; static const profile_reset_password_password = 'profile.reset_password.password';

@ -252,16 +252,20 @@ class _EmployeeDetailsState extends State<EmployeeDetails> {
height: 150, height: 150,
child: Column( child: Column(
children: [ children: [
AppState().isArabic(context) Text(LocaleKeys.addFavoriteList).tr(namedArgs: {'name': '${getEmployeeSubordinates!.eMPLOYEENAME}'}),
? Text("هل تريد اضافة" + " ${getEmployeeSubordinates!.eMPLOYEENAME} " + "لقائمة المفضله") Image.memory(
: Text("Do you want to add" + " ${getEmployeeSubordinates!.eMPLOYEENAME} " + "in your favorite list "), Utils.getPostBytes(
CircularAvatar( getEmployeeSubordinates!.eMPLOYEEIMAGE ?? "",
url: getEmployeeSubordinates!.eMPLOYEEIMAGE ?? "", ),
height: 50, errorBuilder: (BuildContext context, error, stackTrace) {
return SvgPicture.asset(
"assets/images/user.svg", height: 50, width: 50,
);
},
width: 50, width: 50,
isImageBase64: true, height: 50,
).paddingOnly(top: 21), fit: BoxFit.cover,
// 16.width, ).circle(50).paddingOnly(top: 21),
], ],
), ),
), ),

Loading…
Cancel
Save