Compare commits
2 commits
952a97d40d
...
a7bfc21a12
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7bfc21a12 | ||
|
|
159f0803f2 |
1 changed files with 5 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue