From 159f0803f24d6c276eceb47c34e59a60d09de950 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Fri, 16 Jan 2026 10:52:27 +0700 Subject: [PATCH] fix:Display_notify --- src/views/HomeView.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 30cd2c0..a64742b 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -385,7 +385,7 @@ async function getCheck() { } showLoader() - const isSeminar = endTimeAfternoon.value === '14:30' ? 'Y' : 'N' + const isSeminar = model.value === 'ไปประชุม / อบรม / สัมมนา' ? 'Y' : 'N' await http .get(config.API.checkoutCheck + `/${isSeminar}`) @@ -401,7 +401,10 @@ async function getCheck() { new Intl.DateTimeFormat('en-US', options).format( new Date(res.data.result.serverTime) ) ?? '' - const endTimeAfternoonVal = endTimeAfternoon.value ?? '' + const endTimeAfternoonVal = + new Intl.DateTimeFormat('en-US', options).format( + new Date(res.data.result.endTime) + ) ?? '' // dialog ยืนยันการลงเวลาออกงาน dialogConfirm(