no message

wala_plus
Sultan khan 11 hours ago
parent 21ebc3fae1
commit deae01a677

@ -686,6 +686,10 @@
"priceSAR": "السعر (ريال سعودي)",
"amountSAR": "المبلغ (ريال سعودي)",
"amuLastThreeMonths": "AMU (آخر 3 أشهر)",
"mazayaTitle": "مزايا",
"mazayaAccessGranted": "تم منح حق الوصول لمزايا",
"mazayaAccessGrantedDesc": "أصبح لدى {} حق وصول نشط الآن. شارك رابط التنزيل أدناه ليتمكن من تثبيت تطبيق مهم وإكمال الإعداد.",
@ -719,10 +723,7 @@
"ksa": "المملكة",
"riyadh": "الرياض",
"noInstructionsAvailable": "لا توجد طريقة استخدام محددة.",
"contactInformation": "معلومات التواصل:",
"contactInfo": "معلومات التواصل",
"humanResources": "الموارد البشرية",
"drSulaimanAlHabib": "سليمان الحبيب",
"allCategories": "الكل",
"noOffersAvailable": "لا توجد عروض متاحة",
"addDependents": "إضافة تابعين",
@ -783,7 +784,6 @@
"selectOfferToRedeem": "اختر العرض الذي ترغب في استخدامه",
"viewOnMap": "عرض على الخريطة",
"showAllLocations": "عرض جميع الفروع ({})",
"showLess": "عرض أقل",
"searchBranches": "البحث عن الفروع أو المدن...",
"allCities": "الكل",
"noBranchesFound": "لم يتم العثور على فروع مطابقة",
@ -791,8 +791,6 @@
"branchesCount": "{} فرع",
"kmAway": "على بعد {} كم",
"dependentDetails": "تفاصيل التابع",
"verifiedWithNhic": "موثق مع NHIC",
"yearsOld": "{} سنة",
"keyDetails": "البيانات الأساسية",
"verified": "موثق",
"idEnding": "الهوية تنتهي بـ {}",

@ -686,6 +686,10 @@
"priceSAR": "Price (SAR)",
"amountSAR": "Amount (SAR)",
"amuLastThreeMonths": "AMU (Last 3 months)",
"mazayaTitle": "Mazaya",
"mazayaAccessGranted": "Mazaya access granted",
"mazayaAccessGrantedDesc": "{} now has active access. Share the download link below so they can install the Mohem app and complete setup.",
@ -719,10 +723,7 @@
"ksa": "KSA",
"riyadh": "Riyadh",
"noInstructionsAvailable": "No instructions available.",
"contactInformation": "Contact Information:",
"contactInfo": "Contact Information",
"humanResources": "Human Resources",
"drSulaimanAlHabib": "DR SULAIMAN AL HABIB",
"allCategories": "All",
"noOffersAvailable": "No offers available",
"addDependents": "Add Dependents",
@ -783,7 +784,6 @@
"selectOfferToRedeem": "Select an offer to use",
"viewOnMap": "View on map",
"showAllLocations": "Show all {} locations",
"showLess": "Show less",
"searchBranches": "Search branches or cities...",
"allCities": "All",
"noBranchesFound": "No branches found",
@ -791,8 +791,6 @@
"branchesCount": "{} Branches",
"kmAway": "{} KM Away",
"dependentDetails": "Dependent Details",
"verifiedWithNhic": "Verified with NHIC",
"yearsOld": "{} years",
"keyDetails": "Key details",
"verified": "Verified",
"idEnding": "ID ending {}",
@ -805,5 +803,6 @@
"nationalIdAndDob": "National ID & Date of Birth",
"sponsorOtp": "Sponsor OTP",
"revokingPreventsAccessDesc": "Revoking prevents all future dependent access until you allow it again."
}

@ -735,10 +735,7 @@ class CodegenLoader extends AssetLoader{
"ksa": "المملكة",
"riyadh": "الرياض",
"noInstructionsAvailable": "لا توجد طريقة استخدام محددة.",
"contactInformation": "معلومات التواصل:",
"contactInfo": "معلومات التواصل",
"humanResources": "الموارد البشرية",
"drSulaimanAlHabib": "سليمان الحبيب",
"allCategories": "الكل",
"noOffersAvailable": "لا توجد عروض متاحة",
"addDependents": "إضافة تابعين",
@ -799,7 +796,6 @@ class CodegenLoader extends AssetLoader{
"selectOfferToRedeem": "اختر العرض الذي ترغب في استخدامه",
"viewOnMap": "عرض على الخريطة",
"showAllLocations": "عرض جميع الفروع ({})",
"showLess": "عرض أقل",
"searchBranches": "البحث عن الفروع أو المدن...",
"allCities": "الكل",
"noBranchesFound": "لم يتم العثور على فروع مطابقة",
@ -807,8 +803,6 @@ class CodegenLoader extends AssetLoader{
"branchesCount": "{} فرع",
"kmAway": "على بعد {} كم",
"dependentDetails": "تفاصيل التابع",
"verifiedWithNhic": "موثق مع NHIC",
"yearsOld": "{} سنة",
"keyDetails": "البيانات الأساسية",
"verified": "موثق",
"idEnding": "الهوية تنتهي بـ {}",
@ -1543,10 +1537,7 @@ static const Map<String,dynamic> _en_US = {
"ksa": "KSA",
"riyadh": "Riyadh",
"noInstructionsAvailable": "No instructions available.",
"contactInformation": "Contact Information:",
"contactInfo": "Contact Information",
"humanResources": "Human Resources",
"drSulaimanAlHabib": "DR SULAIMAN AL HABIB",
"allCategories": "All",
"noOffersAvailable": "No offers available",
"addDependents": "Add Dependents",
@ -1607,7 +1598,6 @@ static const Map<String,dynamic> _en_US = {
"selectOfferToRedeem": "Select an offer to use",
"viewOnMap": "View on map",
"showAllLocations": "Show all {} locations",
"showLess": "Show less",
"searchBranches": "Search branches or cities...",
"allCities": "All",
"noBranchesFound": "No branches found",
@ -1615,8 +1605,6 @@ static const Map<String,dynamic> _en_US = {
"branchesCount": "{} Branches",
"kmAway": "{} KM Away",
"dependentDetails": "Dependent Details",
"verifiedWithNhic": "Verified with NHIC",
"yearsOld": "{} years",
"keyDetails": "Key details",
"verified": "Verified",
"idEnding": "ID ending {}",

@ -707,10 +707,7 @@ abstract class LocaleKeys {
static const ksa = 'ksa';
static const riyadh = 'riyadh';
static const noInstructionsAvailable = 'noInstructionsAvailable';
static const contactInformation = 'contactInformation';
static const contactInfo = 'contactInfo';
static const humanResources = 'humanResources';
static const drSulaimanAlHabib = 'drSulaimanAlHabib';
static const allCategories = 'allCategories';
static const noOffersAvailable = 'noOffersAvailable';
static const addDependents = 'addDependents';
@ -771,7 +768,6 @@ abstract class LocaleKeys {
static const selectOfferToRedeem = 'selectOfferToRedeem';
static const viewOnMap = 'viewOnMap';
static const showAllLocations = 'showAllLocations';
static const showLess = 'showLess';
static const searchBranches = 'searchBranches';
static const allCities = 'allCities';
static const noBranchesFound = 'noBranchesFound';
@ -779,8 +775,6 @@ abstract class LocaleKeys {
static const branchesCount = 'branchesCount';
static const kmAway = 'kmAway';
static const dependentDetails = 'dependentDetails';
static const verifiedWithNhic = 'verifiedWithNhic';
static const yearsOld = 'yearsOld';
static const keyDetails = 'keyDetails';
static const verified = 'verified';
static const idEnding = 'idEnding';

@ -216,7 +216,7 @@ class _AddVacationRuleScreenState extends State<AddVacationRuleScreen> {
CreateVacationRuleList? createVacationRuleList = await VacationRuleApiClient().createVacationRule(DateUtil.convertDateToStringLocation(startTime), DateUtil.convertDateToStringLocation(endTime!),
selectedItemType!.iTEMTYPE!, selectedItemTypeNotification!.nOTIFICATIONNAME!, message, getPAction(), selectedReplacementEmployee!.userName!, respondAttributeList);
Utils.hideLoading(context);
Utils.showToast("Vacation rule added");
Utils.showToast(LocaleKeys.vacationRuleAdded.tr());
Navigator.popUntil(context, ModalRoute.withName(AppRoutes.dashboard));
} catch (ex) {
Utils.hideLoading(context);

@ -1,8 +1,10 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:mohem_flutter_app/classes/colors.dart';
import 'package:mohem_flutter_app/extensions/string_extensions.dart';
import 'package:mohem_flutter_app/extensions/widget_extensions.dart';
import 'package:mohem_flutter_app/generated/locale_keys.g.dart';
class AttachmentOptions extends StatelessWidget {
VoidCallback onCameraTap;
@ -19,16 +21,16 @@ class AttachmentOptions extends StatelessWidget {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
"Upload Attachment".toSectionHeading(),
"Select from gallery or open camera".toText11(weight: FontWeight.w500),
LocaleKeys.uploadAttachment.tr().toSectionHeading(),
LocaleKeys.selectFromGalleryOrOpenCamera.tr().toText11(weight: FontWeight.w500),
GridView(
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount: 3, childAspectRatio: 105 / 105, crossAxisSpacing: 9, mainAxisSpacing: 9),
physics: const NeverScrollableScrollPhysics(),
padding: const EdgeInsets.only(top: 21, bottom: 14),
shrinkWrap: true,
children: [
itemView("open_camera.svg", "Open\nCamera", onCameraTap),
itemView("gallery.svg", "Upload from\nGallery", onGalleryTap),
itemView("open_camera.svg", LocaleKeys.openCamera.tr(), onCameraTap),
itemView("gallery.svg", LocaleKeys.uploadFromGallery.tr(), onGalleryTap),
if (showFilesOption) itemView("files.svg", "Upload from\nFiles", onFilesTap),
],
)

Loading…
Cancel
Save