pull/311/head
haroon amjad 23 hours ago
parent 4b3c986dc2
commit 3bb58e2e64

@ -286,7 +286,7 @@
"gate": "البوابة:",
"building": "المبنى:",
"branch": "الفرع:",
"emergencyServices": "خدمات الطوارئ",
"emergencyServices": "خدمات \n الطوارئ",
"nearester": "أقرب طوارئ",
"locationa": "الموقع",
"callNow": "الاتصال المباشر",
@ -1236,9 +1236,9 @@
"monitorBloodPressureLevels": "راقب مستويات ضغط الدم لديك، وتتبع القراءات الانقباضية والانبساطية، وحافظ على صحة قلبك.",
"trackWeightProgress": "تتبع تقدم وزنك، وضع الأهداف، وحافظ على كتلة جسم صحية من أجل العافية الشاملة.",
"bookAppointment": "حجز\nموعد",
"completeCheckup": "الفحص الشامل",
"completeCheckup": "الفحص \n الشامل",
"indoorNavigation": "الملاحة الداخلية",
"eReferralServices": "الإحالة الإلكترونية",
"eReferralServices": "الإحالة \n الإلكترونية",
"bloodDonation": "التبرع بالدم",
"dailyWaterMonitor": "مراقب الماء اليومي",
"fetchingYourWaterIntakeDetails": "يرجى الانتظار…",
@ -1844,5 +1844,6 @@
"submitRating": "إرسال التقييم",
"maxOneFileAllowed": "يمكن رفع ملف واحد فقط",
"fileSizeExceedsLimit": "يجب ألا يتجاوز حجم الملف 1 ميغابايت",
"completedPrescriptionOrder": "تمت الخدمة"
"completedPrescriptionOrder": "تمت الخدمة",
"submitEReferral": "تقديم الطلب"
}

@ -1834,7 +1834,8 @@
"submitRating": "Submit",
"maxOneFileAllowed": "Only 1 file can be uploaded",
"fileSizeExceedsLimit": "File size must not exceed 1 MB",
"completedPrescriptionOrder": "Completed"
"completedPrescriptionOrder": "Completed",
"submitEReferral": "Submit"
}

@ -959,9 +959,9 @@ class HmgServicesRepoImp implements HmgServicesRepo {
final hasValidRespiration = _isValidValue(vitalSign.respirationBeatPerMinute);
final hasValidBloodPressure = _isValidValue(vitalSign.bloodPressureHigher) || _isValidValue(vitalSign.bloodPressureLower);
print('hasValidBloodPressure: $hasValidBloodPressure');
print('Will add to list: ${hasValidWeight || hasValidHeight || hasValidBMI || hasValidTemperature || hasValidHeartRate || hasValidRespiration || hasValidBloodPressure}');
print('=====================================');
// print('hasValidBloodPressure: $hasValidBloodPressure');
// print('Will add to list: ${hasValidWeight || hasValidHeight || hasValidBMI || hasValidTemperature || hasValidHeartRate || hasValidRespiration || hasValidBloodPressure}');
// print('=====================================');
// Add if ANY vital sign has valid data
if (hasValidWeight || hasValidHeight || hasValidBMI || hasValidTemperature ||

@ -1837,5 +1837,6 @@ abstract class LocaleKeys {
static const maxOneFileAllowed = 'maxOneFileAllowed';
static const fileSizeExceedsLimit = 'fileSizeExceedsLimit';
static const completedPrescriptionOrder = 'completedPrescriptionOrder';
static const submitEReferral = 'submitEReferral';
}

@ -185,7 +185,7 @@ class _NewReferralPageState extends State<NewReferralPage> {
color: AppColors.whiteColor,
padding: EdgeInsets.all(ResponsiveExtension(20).h),
child: CustomButton(
text: _currentStep <= 1 ? LocaleKeys.next.tr() : LocaleKeys.submit.tr(),
text: _currentStep <= 1 ? LocaleKeys.next.tr() : LocaleKeys.submitEReferral.tr(),
// icon: AppAssets.search_icon,
iconColor: Colors.white,
onPressed: () => {_handleNextStep()},

@ -123,9 +123,9 @@ class PatientSickLeaveCard extends StatelessWidget {
backgroundColor: AppColors.secondaryLightRedColor,
borderColor: AppColors.secondaryLightRedColor,
textColor: AppColors.primaryRedColor,
fontSize: 14,
fontSize: 14.f,
isBold: true,
borderRadius: 12,
borderRadius: 12.r,
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
height: 40.h,
icon: AppAssets.download,

Loading…
Cancel
Save