| @@ -195,7 +195,7 @@ export const isPasswordExpiry = () =>{ | |||||
| export const checkIsOnlyOnlinePaymentByIssueDate = (date) => { | export const checkIsOnlyOnlinePaymentByIssueDate = (date) => { | ||||
| // const targetDate = new Date(2025, 7, 1, 0, 0, 0) //2026-01-28T08:00:00.000Z hardcode | // const targetDate = new Date(2025, 7, 1, 0, 0, 0) //2026-01-28T08:00:00.000Z hardcode | ||||
| const targetDate = new Date(2025, 9, 17, 8, 0, 0) //2025-10-17T08:00:00.000Z | |||||
| const targetDate = new Date(2025, 9, 17, 0, 0, 0) //2025-10-17T08:00:00.000Z | |||||
| const checkDate = DateUtils.convertToDate(date) | const checkDate = DateUtils.convertToDate(date) | ||||
| if (isDummyLoggedIn()){ | if (isDummyLoggedIn()){ | ||||
| return false; | return false; | ||||
| @@ -211,13 +211,13 @@ export const checkIsOnlyOnlinePaymentByIssueDate = (date) => { | |||||
| export const checkIsOnlyOnlinePayment = () => { | export const checkIsOnlyOnlinePayment = () => { | ||||
| // const targetDate = new Date(2025, 28, 0, 0, 0, 0) // hardcode | // const targetDate = new Date(2025, 28, 0, 0, 0, 0) // hardcode | ||||
| const targetDate = new Date(2025, 9, 10, 0, 0, 0) // hardcode | |||||
| const targetDate = new Date(2025, 9, 8, 0, 0, 0) // hardcode | |||||
| const checkDate = DateUtils.convertToDate(new Date()) | const checkDate = DateUtils.convertToDate(new Date()) | ||||
| if (isDummyLoggedIn()){ | if (isDummyLoggedIn()){ | ||||
| return false; | return false; | ||||
| } | } | ||||
| // console.log(checkDate) | |||||
| // console.log(targetDate) | |||||
| console.log(checkDate) | |||||
| console.log(targetDate) | |||||
| if (checkDate >= targetDate) { | if (checkDate >= targetDate) { | ||||
| return true | return true | ||||
| } else { | } else { | ||||
| @@ -227,7 +227,7 @@ export const checkIsOnlyOnlinePayment = () => { | |||||
| export const checkIsOnlyOnlinePaymentApply = (tickAccept) => { | export const checkIsOnlyOnlinePaymentApply = (tickAccept) => { | ||||
| // const targetDate = new Date(2025, 28, 0, 0, 0, 0) // hardcode | // const targetDate = new Date(2025, 28, 0, 0, 0, 0) // hardcode | ||||
| const targetDate = new Date(2025, 9, 10, 0, 0, 0) // hardcode | |||||
| const targetDate = new Date(2025, 9, 8, 0, 0, 0) // hardcode | |||||
| const checkDate = DateUtils.convertToDate(new Date()) | const checkDate = DateUtils.convertToDate(new Date()) | ||||
| if (isDummyLoggedIn()){ | if (isDummyLoggedIn()){ | ||||
| return false; | return false; | ||||