fix:Display_notify

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-01-16 10:52:27 +07:00
parent 98d5a9ad43
commit 159f0803f2

View file

@ -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(