|
@@ -275,6 +275,65 @@ class EAttendanceItem extends StatelessWidget {
|
|
|
],
|
|
|
).marginOnly(top: 12),
|
|
|
|
|
|
+ // 总小时
|
|
|
+ Row(
|
|
|
+ mainAxisSize: MainAxisSize.max,
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
+ children: [
|
|
|
+ MyTextView(
|
|
|
+ '${"Total Hours".tr}:',
|
|
|
+ isFontRegular: true,
|
|
|
+ textColor: ColorConstants.textGrayAECAE5,
|
|
|
+ fontSize: 14,
|
|
|
+ ),
|
|
|
+
|
|
|
+ //时间
|
|
|
+ MyTextView(
|
|
|
+ item.totalHours ?? "-",
|
|
|
+ marginLeft: 5,
|
|
|
+ isFontRegular: true,
|
|
|
+ textColor: Colors.white,
|
|
|
+ fontSize: 14,
|
|
|
+ marginRight: 5,
|
|
|
+ ),
|
|
|
+
|
|
|
+ // reviseHours
|
|
|
+ Visibility(
|
|
|
+ visible: item.reviseHours != null && item.reviseHours != "",
|
|
|
+ child: MyTextView(
|
|
|
+ '+${item.reviseHours}',
|
|
|
+ marginLeft: 5,
|
|
|
+ isFontRegular: true,
|
|
|
+ textColor: Colors.blue,
|
|
|
+ fontSize: 14,
|
|
|
+ ).expanded(),
|
|
|
+ ),
|
|
|
+ ],
|
|
|
+ ).marginOnly(top: 12),
|
|
|
+
|
|
|
+ // 小费
|
|
|
+ Row(
|
|
|
+ mainAxisSize: MainAxisSize.max,
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
+ children: [
|
|
|
+ MyTextView(
|
|
|
+ '${"Gratuity".tr}:',
|
|
|
+ isFontRegular: true,
|
|
|
+ textColor: ColorConstants.textGrayAECAE5,
|
|
|
+ fontSize: 14,
|
|
|
+ ),
|
|
|
+
|
|
|
+ //时间
|
|
|
+ MyTextView(
|
|
|
+ item.gratuity ?? "0.00",
|
|
|
+ marginLeft: 5,
|
|
|
+ isFontRegular: true,
|
|
|
+ textColor: /*item.securityOut?.changed == 1 ? ColorConstants.textRedFF6262 : */ Colors.white,
|
|
|
+ fontSize: 14,
|
|
|
+ ).expanded(),
|
|
|
+ ],
|
|
|
+ ).marginOnly(top: 12),
|
|
|
+
|
|
|
// 申请时间
|
|
|
Row(
|
|
|
mainAxisSize: MainAxisSize.max,
|