diff --git a/Dockerfile.dev b/Dockerfile.dev index 51973cd..4e4cdef 100755 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -3,6 +3,7 @@ FROM node:20.11.1 ENV VITE_BASE_URL="http://localhost:9510" ENV VITE_AUTO_URL="http://localhost:9514" ENV VITE_MONEY_URL="http://localhost:9513" +ENV VITE_AUTHORIZE_URL="http://localhost:9516" ENV VITE_COMPANY_ID='1' diff --git a/Dockerfile.local b/Dockerfile.local index 1c565e6..63533e9 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -3,7 +3,7 @@ FROM node:20.11.1 AS builder ENV VITE_BASE_URL="http://192.168.1.204:9610" ENV VITE_AUTO_URL="http://192.168.1.204:9614" ENV VITE_MONEY_URL="http://192.168.1.204:9613" - +ENV VITE_AUTHORIZE_URL="http://localhost:9516" ENV VITE_COMPANY_ID='1' WORKDIR /app diff --git a/Dockerfile.prod b/Dockerfile.prod index 91273bd..e60afab 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -5,6 +5,7 @@ FROM node:20.11.1 AS builder ENV VITE_BASE_URL="https://apioil.edwineames.com" ENV VITE_AUTO_URL="https://apiauto.edwineames.com" ENV VITE_MONEY_URL="https://apimoney.edwineames.com" +ENV VITE_AUTHORIZE_URL="https://apicard.edwineames.com" WORKDIR /app diff --git a/src/components/PaymentAuthorizePopup.vue b/src/components/PaymentAuthorizePopup.vue new file mode 100644 index 0000000..495d528 --- /dev/null +++ b/src/components/PaymentAuthorizePopup.vue @@ -0,0 +1,276 @@ + + + + + diff --git a/src/pages/delivery/routes.ts b/src/pages/delivery/routes.ts index dcdca5e..5c29a40 100755 --- a/src/pages/delivery/routes.ts +++ b/src/pages/delivery/routes.ts @@ -92,6 +92,7 @@ const deliveryRoutes = [ name: 'finalizeTicketAuto', component: finalizeTicketAuto, }, + ] export default deliveryRoutes diff --git a/src/pages/delivery/update_tickets/finalize_ticket.vue b/src/pages/delivery/update_tickets/finalize_ticket.vue index bb4f221..c1febf7 100755 --- a/src/pages/delivery/update_tickets/finalize_ticket.vue +++ b/src/pages/delivery/update_tickets/finalize_ticket.vue @@ -36,7 +36,6 @@
Customer
-
{{ customer.customer_first_name }} {{ customer.customer_last_name }}
{{customer.customer_address}}
@@ -76,7 +75,7 @@ waiting delivered Today - Tommorrow + Tomorrow Partial Delivery misdelivery unknown @@ -150,10 +149,17 @@
Cash Total - Pre Charge Total + Pre-Auth Estimate Total Amount - ${{ Number(total_amount).toFixed(2) }} + + + ${{ Number(preChargeTotal).toFixed(2) }} + + + ${{ Number(total_amount).toFixed(2) }} + +
@@ -168,7 +174,7 @@
- +
@@ -176,13 +182,11 @@
-
- +
-
@@ -221,7 +225,6 @@
@@ -93,10 +95,10 @@ Check Other - +
-
+
{{ card.type_of_card }} ending in {{ card.last_four_digits }}
{{ card.name_on_card }}
Expires: {{ card.expiration_month }}/{{ card.expiration_year }}
@@ -111,6 +113,13 @@ Price per Gallon ${{ delivery.customer_price }}
+
+ Gallons Ordered + + FILL (250 gal estimate) + {{ delivery.gallons_ordered }} Gallons + +
Prime Fee + ${{ pricing.price_prime }} @@ -143,6 +152,10 @@
+ +
+ + + +