diff --git a/.env.example b/.env.example index 76df82e..6856307 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,3 @@ VITE_API_IMPLEMENTATION=django VITE_DJANGO_BASE_URL=http://localhost:7000 +VITE_CONTACT_PHONE=3023567797 diff --git a/deploy/.env.example b/deploy/.env.example index 76df82e..7834c78 100644 --- a/deploy/.env.example +++ b/deploy/.env.example @@ -1,2 +1,3 @@ VITE_API_IMPLEMENTATION=django VITE_DJANGO_BASE_URL=http://localhost:7000 +VITE_CONTACT_PHONE= diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 49ab439..0f3e9b0 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -3,9 +3,11 @@ FROM node:20-alpine AS builder ARG VITE_DJANGO_BASE_URL ARG VITE_API_IMPLEMENTATION +ARG VITE_CONTACT_PHONE ENV VITE_DJANGO_BASE_URL=$VITE_DJANGO_BASE_URL ENV VITE_API_IMPLEMENTATION=$VITE_API_IMPLEMENTATION +ENV VITE_CONTACT_PHONE=$VITE_CONTACT_PHONE WORKDIR /app diff --git a/deploy/build.sh b/deploy/build.sh index 79d5ebf..1ba7521 100755 --- a/deploy/build.sh +++ b/deploy/build.sh @@ -59,6 +59,7 @@ set +a BUILD_ARGS="--build-arg VITE_DJANGO_BASE_URL=$VITE_DJANGO_BASE_URL" BUILD_ARGS="$BUILD_ARGS --build-arg VITE_API_IMPLEMENTATION=$VITE_API_IMPLEMENTATION" +BUILD_ARGS="$BUILD_ARGS --build-arg VITE_CONTACT_PHONE=$VITE_CONTACT_PHONE" FULL_IMAGE_NAME="$GITEA_REGISTRY/$GITEA_USER/$IMAGE_NAME" diff --git a/src/components/AppFooter.vue b/src/components/AppFooter.vue index 69a1691..584673a 100644 --- a/src/components/AppFooter.vue +++ b/src/components/AppFooter.vue @@ -1,39 +1,62 @@ - - + + - - - - - © 2016-{{ (new Date()).getFullYear() }} Vuetify, LLC - — - MIT License + - - + + + © 2016-{{ (new Date()).getFullYear() }} Vuetify, LLC + — + + MIT License + + + + + + + + + diff --git a/src/components/LoginDialog.vue b/src/components/LoginDialog.vue index df79108..6f6c157 100644 --- a/src/components/LoginDialog.vue +++ b/src/components/LoginDialog.vue @@ -1,7 +1,13 @@ - Iniciar sesión + + Iniciar sesión + + + mdi-close + + - Resumen de la compra {{ id }} + {{ type === 'catalog' ? 'Resumen del pedido' : 'Resumen de la compra' }} {{ id }} @@ -39,7 +39,7 @@ {{ currencyFormat(calculateSubtotal(item.unit_price, item.quantity)) }} - + Recuerda adicionar a la planilla física lo siguiente - + Precio total - + - mdi-minus + Agregar + + + + + mdi-minus + - + - - mdi-plus - - + + mdi-plus + + +