Fix Location displays QR code address

This commit is contained in:
2025-09-16 21:24:37 -04:00
parent 6603a1cd06
commit 22ccebd84a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3734,7 +3734,7 @@ def qr_checkin(qr_url):
'message': f'Check-in successful! {checkin_sequence_text} for today.',
'data': {
'employee_id': attendance.employee_id,
'location': attendance.location_name,
'location': qr_code.location_address,
'location_event': qr_code.location_event,
'event': qr_code.location_event, # Add both for compatibility
'check_in_time': attendance.check_in_time.strftime('%I:%M %p'), # 12-hour format