Minor change
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -3,11 +3,11 @@
|
|||||||
* Handles staff check-in functionality with GPS location support, language switching, and 30-minute interval validation
|
* Handles staff check-in functionality with GPS location support, language switching, and 30-minute interval validation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Global variables (PRESERVED FROM ORIGINAL)
|
// Global variables
|
||||||
let isSubmitting = false;
|
let isSubmitting = false;
|
||||||
let currentTime = new Date();
|
let currentTime = new Date();
|
||||||
|
|
||||||
// Location tracking variables (PRESERVED FROM ORIGINAL)
|
// Location tracking variables
|
||||||
let userLocation = {
|
let userLocation = {
|
||||||
latitude: null,
|
latitude: null,
|
||||||
longitude: null,
|
longitude: null,
|
||||||
@@ -20,11 +20,11 @@ let userLocation = {
|
|||||||
let locationRequestActive = false;
|
let locationRequestActive = false;
|
||||||
let locationWatchId = null;
|
let locationWatchId = null;
|
||||||
|
|
||||||
// BILINGUAL FUNCTIONALITY (PRESERVED FROM ORIGINAL)
|
// BILINGUAL FUNCTIONALITY
|
||||||
let currentLanguage = "en";
|
let currentLanguage = "en";
|
||||||
const translations = {
|
const translations = {
|
||||||
en: {
|
en: {
|
||||||
languageText: "EN",
|
languageText: "ES",
|
||||||
statusMessages: {
|
statusMessages: {
|
||||||
processing: "Processing check-in...",
|
processing: "Processing check-in...",
|
||||||
success: "Check-in successful!",
|
success: "Check-in successful!",
|
||||||
@@ -38,7 +38,7 @@ const translations = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
es: {
|
es: {
|
||||||
languageText: "ES",
|
languageText: "EN",
|
||||||
statusMessages: {
|
statusMessages: {
|
||||||
processing: "Procesando registro...",
|
processing: "Procesando registro...",
|
||||||
success: "¡Registro exitoso!",
|
success: "¡Registro exitoso!",
|
||||||
|
|||||||
Reference in New Issue
Block a user