diff --git a/Dockerfile b/Dockerfile index 8866e84..a77d3c5 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,13 @@ FROM node:latest -ENV VITE_BASE_URL="http://localhost:4056" -ENV VITE_PAY_URL="http://localhost:4052" -ENV VITE_AUTO_URL="http://localhost:4053" +ENV VITE_BASE_URL="http://localhost:9510" +ENV VITE_PRINT_URL="http://localhost:9512" +ENV VITE_MONEY_URL="http://localhost:9513" +ENV VITE_AUTO_URL="http://localhost:9514" +ENV VITE_COMPANY_ID = 1 +ENV NODE_ENV=production + + RUN mkdir -p /app WORKDIR /app diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index ef8803e..f3ca884 100755 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -90,7 +90,7 @@ - + diff --git a/src/pages/Automatics.vue b/src/pages/Automatics.vue index eec476b..58b9f5f 100755 --- a/src/pages/Automatics.vue +++ b/src/pages/Automatics.vue @@ -1,18 +1,194 @@ - diff --git a/src/pages/TodayDelivery.vue b/src/pages/TodayDelivery.vue index f4ad249..a794797 100755 --- a/src/pages/TodayDelivery.vue +++ b/src/pages/TodayDelivery.vue @@ -181,6 +181,7 @@ export default defineComponent({ headers: authHeader() }).then((response: any) => { this.deliveries = response.data + }) }, onEdit(row: any) { diff --git a/src/pages/delivery/ViewDelivery.vue b/src/pages/delivery/ViewDelivery.vue index 100790c..2ad70ba 100755 --- a/src/pages/delivery/ViewDelivery.vue +++ b/src/pages/delivery/ViewDelivery.vue @@ -8,7 +8,7 @@ This customer needs a prime -
+
Drone Image @@ -19,6 +19,11 @@
{{ customer.account_number }}
+
+
+
Automatic
+
+
{{ customer.customer_first_name }} {{ customer.customer_last_name }} @@ -71,7 +76,7 @@
-
Gallons Ordered
+
Gallons
Fill @@ -80,13 +85,18 @@ {{ deliveryOrder.gallons_ordered }}
-
Payment Type
+
Payment
Cash
Credit
-
Expected Delivery
-
{{ deliveryOrder.expected_delivery_date }}
+
Expected
+
+
Automatic
+
{{ deliveryOrder.expected_delivery_date }}
+
+ +
Prime
no
@@ -114,6 +124,7 @@
+
@@ -130,17 +141,17 @@
-
+
-
+
-
+
-
+
@@ -425,7 +436,7 @@ export default defineComponent({ }, onSubmit() { - + if (this.deliveryOrder.payment_type == 0) { if (this.CreateOilOrderForm.basicInfo.cash_amount > 0) { let payload = { @@ -442,6 +453,8 @@ export default defineComponent({ same_day: this.CreateOilOrderForm.basicInfo.same_day, }; + + this.UpdateOilOrder(payload); this.CreateTransaction(money_payload) } @@ -467,8 +480,10 @@ export default defineComponent({ same_day: this.CreateOilOrderForm.basicInfo.same_day, }; + + this.UpdateOilOrder(payload); - + this.CreateTransaction(money_payload) };