Explorar el Código

add sample date

CR013B1
Alex Cheung hace 1 mes
padre
commit
345d0970e4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/utils/Utils.js

+ 2
- 1
src/utils/Utils.js Ver fichero

@@ -184,7 +184,8 @@ export const isPasswordExpiry = () =>{
}

export const checkIsOnlyOnlinePaymentByIssueDate = (date) => {
const targetDate = new Date(2026, 0, 28, 8, 0, 0)
const targetDate = new Date(2026, 0, 28, 8, 0, 0) //2026-01-28T08:00:00.000Z
// const targetDate = new Date(2025, 6, 13, 8, 0, 0); //2025-07-13T08:00:00.000Z
const checkDate = DateUtils.convertToDate(date)
if (isDummyLoggedIn()){
return false;


Cargando…
Cancelar
Guardar