|
|
|
@ -134,7 +134,7 @@ class _TodayAttendanceScreenState extends State<TodayAttendanceScreen> {
|
|
|
|
|
textStyle: TextStyle(color: Colors.white, fontSize: 32, letterSpacing: -1.92, fontWeight: FontWeight.bold, height: 1),
|
|
|
|
|
),
|
|
|
|
|
19.height,
|
|
|
|
|
"Shift Time".tr().toText12(color: MyColors.greyACColor),
|
|
|
|
|
LocaleKeys.shiftTime.tr().tr().toText12(color: MyColors.greyACColor),
|
|
|
|
|
(model.attendanceTracking!.pShtName ?? "00:00:00").toString().toText22(color: Colors.white, isBold: true),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
@ -162,14 +162,14 @@ class _TodayAttendanceScreenState extends State<TodayAttendanceScreen> {
|
|
|
|
|
children: [
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
commonStatusView("Check In", (model.attendanceTracking!.pSwipeIn) ?? "- - : - -"),
|
|
|
|
|
commonStatusView(LocaleKeys.checkIn.tr(), (model.attendanceTracking!.pSwipeIn) ?? "- - : - -"),
|
|
|
|
|
commonStatusView("Check Out", (model.attendanceTracking!.pSwipeOut) ?? "- - : - -")
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
21.height,
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
commonStatusView("Late In", (model.attendanceTracking!.pLateInHours) ?? "- - : - -"),
|
|
|
|
|
commonStatusView(LocaleKeys.lateIn.tr(), (model.attendanceTracking!.pLateInHours) ?? "- - : - -"),
|
|
|
|
|
commonStatusView("Regular", (model.attendanceTracking!.pScheduledHours) ?? "- - : - -")
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
@ -185,9 +185,9 @@ class _TodayAttendanceScreenState extends State<TodayAttendanceScreen> {
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
children: [
|
|
|
|
|
"Mark".tr().toText12(),
|
|
|
|
|
"Attendance".tr().toText24(),
|
|
|
|
|
"Select the method to mark the attendance".tr().toText12(color: Color(0xff535353)),
|
|
|
|
|
LocaleKeys.mark.tr().tr().toText12(),
|
|
|
|
|
LocaleKeys.attendance.tr().tr().toText24(),
|
|
|
|
|
LocaleKeys.selectMethodOfAttendance.tr().tr().toText12(color: Color(0xff535353)),
|
|
|
|
|
24.height,
|
|
|
|
|
GridView(
|
|
|
|
|
physics: const NeverScrollableScrollPhysics(),
|
|
|
|
@ -312,7 +312,7 @@ class _TodayAttendanceScreenState extends State<TodayAttendanceScreen> {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
Utils.confirmDialog(context, "Please come near to HMG wifi");
|
|
|
|
|
Utils.confirmDialog(context, LocaleKeys.comeNearHMGWifi.tr());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|