This commit is contained in:
parent
e7f9984b4b
commit
c31eee4906
|
@ -194,7 +194,7 @@ class Controller extends Section {
|
|||
}
|
||||
|
||||
createClaim() {
|
||||
const timeDifference = new Date().getTime() - new Date(this.ticket.shipped).getTime();
|
||||
const timeDifference = new Date().getTime() - new Date(this.ticket.landed).getTime();
|
||||
const pastDays = Math.floor(timeDifference / 86400000);
|
||||
|
||||
if (pastDays >= this.ticketConfig[0].daysForWarningClaim)
|
||||
|
|
Loading…
Reference in New Issue