Yardım amaçlı piyangolar için ikramiye teslim tarihi min hatası
This commit is contained in:
@ -167,7 +167,19 @@ export const usePiyangoValidationStore = defineStore('piyangoValidationStore', (
|
||||
}
|
||||
})
|
||||
const ikramiyeTeslimMin = computed((): Date => {
|
||||
return piyangoStore.lotteryData.yedekSonBasvuruTarihi
|
||||
var date: Date = new Date()
|
||||
|
||||
if (piyangoStore.lotteryData.amacpiyangoId !== 2) {
|
||||
date = new Date(piyangoStore.lotteryData.yedekSonBasvuruTarihi)
|
||||
} else {
|
||||
date = new Date(piyangoStore.lotteryData.asilSonBasvuruTarihi)
|
||||
}
|
||||
var year = date.getFullYear()
|
||||
var month = date.getMonth()
|
||||
var day = date.getDate()
|
||||
|
||||
let newDate = new Date(year, month, day + 1)
|
||||
return newDate
|
||||
})
|
||||
const ikramiyeTeslimMax = computed((): Date => {
|
||||
var date: Date = new Date()
|
||||
|
||||
Reference in New Issue
Block a user