This commit is contained in:
李鹏宇
2025-08-09 15:44:35 +08:00
parent 6587f32807
commit d7f9d1244f
@@ -118,8 +118,8 @@ class AppletAttendance(Controller):
'缺卡'] else f'<p style="color:green">{check_in_str}</p>'
check_out_html = f'<p style="color:red">{check_out_str}</p>' if check_out_status in ['迟到', '早退',
'缺卡'] else f'<p style="color:green">{check_out_str}</p>'
state = "yes"
message = "超出范围,不允许打卡"
state = "no"
message = "超出范围或wifi未连接,不允许打卡"
address_ids = request.env(user=SUPERUSER_ID)["applet.address"].search(
[('address_name', '=', employee_id.company_id.name)])
self_address = self.get_address_from_coords(kw['att_latitude'], kw['att_longitude'])