From 1b19035d8d5de812da2acdf791c8904fb242f6a5 Mon Sep 17 00:00:00 2001 From: carlossa Date: Mon, 22 May 2023 10:41:02 +0200 Subject: [PATCH] refs #5648 vn-confirm --- modules/ticket/front/sale/index.html | 22 +++++++++++++--------- modules/ticket/front/sale/index.js | 16 ++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/modules/ticket/front/sale/index.html b/modules/ticket/front/sale/index.html index 2a0c827c7c..200c23ddcc 100644 --- a/modules/ticket/front/sale/index.html +++ b/modules/ticket/front/sale/index.html @@ -481,18 +481,21 @@ on-accept="$ctrl.transferSales($ctrl.transfer.ticketId)"> - - + -ยก + + + + + @@ -514,11 +517,12 @@ - Add claim - + Add claim + + { - const timeDifference = new Date().getTime() - new Date(this.ticket.shipped).getTime(); - const pastDays = Math.floor(timeDifference / 86400000); - - if (pastDays >= this.ticketConfig[0].daysForWarningClaim) - this.$.claimConfirm.show(); - else - this.onCreateClaimAccepted(); - }, 10000000); + if (pastDays >= this.ticketConfig[0].daysForWarningClaim) + this.$.claimConfirm.show(); + else + this.onCreateClaimAccepted(); } onCreateClaimAccepted() {