|
|
|
@@ -194,8 +194,8 @@ export const isPasswordExpiry = () =>{ |
|
|
|
} |
|
|
|
|
|
|
|
export const checkIsOnlyOnlinePaymentByIssueDate = (date) => { |
|
|
|
const targetDate = new Date(2026, 1, 6, 0, 0, 0); // 6 Feb 2026, 00:00:00 |
|
|
|
// const targetDate = new Date(2025, 6, 13, 8, 0, 0); //2025-07-13T08:00:00.000Z |
|
|
|
// 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 checkDate = DateUtils.convertToDate(date) |
|
|
|
if (isDummyLoggedIn()){ |
|
|
|
return false; |
|
|
|
@@ -210,7 +210,7 @@ export const checkIsOnlyOnlinePaymentByIssueDate = (date) => { |
|
|
|
} |
|
|
|
|
|
|
|
export const checkIsOnlyOnlinePayment = () => { |
|
|
|
const targetDate = new Date(2025, 7, 1, 0, 0, 0) // hardcode |
|
|
|
const targetDate = new Date(2025, 9, 17, 8, 0, 0) // hardcode |
|
|
|
const checkDate = DateUtils.convertToDate(new Date()) |
|
|
|
if (isDummyLoggedIn()){ |
|
|
|
return false; |
|
|
|
@@ -225,7 +225,7 @@ export const checkIsOnlyOnlinePayment = () => { |
|
|
|
} |
|
|
|
|
|
|
|
export const checkMarkAsCreditClient = () => { |
|
|
|
const targetDate = new Date(2025, 6, 15, 0, 0, 0) // hardcode |
|
|
|
const targetDate = new Date(2025, 9, 17, 8, 0, 0) // hardcode |
|
|
|
const checkDate = DateUtils.convertToDate(new Date()) |
|
|
|
// console.log(targetDate) |
|
|
|
// console.log(checkDate >= targetDate) |
|
|
|
|