diff --git a/components/admin/datosTicket.vue b/components/admin/datosTicket.vue
index aef4ed1..5c52e9f 100644
--- a/components/admin/datosTicket.vue
+++ b/components/admin/datosTicket.vue
@@ -30,6 +30,7 @@
@@ -84,6 +85,7 @@ export default {
folioA: '',
montoA: '',
fechaTicketA: null,
+ maxDate: new Date(),
habilitarBoton: false,
}
@@ -133,6 +135,13 @@ export default {
this.switchMonto = true
this.switchFecha = true
},
+ diaMin(today) {
+ return new Date(
+ today.getFullYear(),
+ today.getMonth(),
+ today.getDate() - today.getDate() + 1
+ )
+ },
},
watch: {
folioA() {
diff --git a/components/admin/ticket.vue b/components/admin/ticket.vue
index 066da75..6f93501 100644
--- a/components/admin/ticket.vue
+++ b/components/admin/ticket.vue
@@ -42,7 +42,7 @@
"
>Validar
-
+
Regresar
diff --git a/nuxt.config.js b/nuxt.config.js
index c9fe5ce..dd18c48 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -22,9 +22,9 @@ export default {
axios: {},
build: {},
env: {
- api: 'http://localhost:3000',
+ // api: 'http://localhost:3000',
// api: "https://890af9d598a4.ngrok.io"
- // api: 'https://venus.acatlan.unam.mx/inscripciones_test',
+ api: 'https://venus.acatlan.unam.mx/inscripciones_test',
// api: 'https://venus.acatlan.unam.mx/inscripciones',
},
}