Sfoglia il codice sorgente

add sample date

CR013B1
Alex Cheung 1 mese fa
parent
commit
345d0970e4
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      src/utils/Utils.js

+ 2
- 1
src/utils/Utils.js Vedi File

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


Caricamento…
Annulla
Salva