diff --git a/app.py b/app.py index 983806d..3dde5e2 100644 --- a/app.py +++ b/app.py @@ -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 diff --git a/templates/qr_destination.html b/templates/qr_destination.html index 1b8a88c..2c33660 100644 --- a/templates/qr_destination.html +++ b/templates/qr_destination.html @@ -818,12 +818,12 @@ Check In / - Registrar Entrada + Entrada {% else %} Check Out / - Registrar Salida + Salida {% endif %}