diff --git a/.env b/.env index 053b85a..e69de29 100755 --- a/.env +++ b/.env @@ -1,4 +0,0 @@ -# VITE_BASE_URL="http://localhost:9511" -# VITE_MONEY_URL="http://localhost:9513" -# VITE_AUTO_URL="http://localhost:9514" -# VITE_COMPANY_ID = 1 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 28372e2..cab0bc6 100755 --- a/package-lock.json +++ b/package-lock.json @@ -29,6 +29,7 @@ "vuelidate": "^0.7.7" }, "devDependencies": { + "@types/leaflet": "^1.9.20", "@vitejs/plugin-vue": "^4.5.2", "@vue-leaflet/vue-leaflet": "^0.10.1", "autoprefixer": "^10.4.16", @@ -799,6 +800,21 @@ "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", "dev": true }, + "node_modules/@types/geojson": { + "version": "7946.0.16", + "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz", + "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==", + "dev": true + }, + "node_modules/@types/leaflet": { + "version": "1.9.20", + "resolved": "https://registry.npmjs.org/@types/leaflet/-/leaflet-1.9.20.tgz", + "integrity": "sha512-rooalPMlk61LCaLOvBF2VIf9M47HgMQqi5xQ9QRi7c8PkdIe0WrIi5IxXUXQjAdL0c+vcQ01mYWbthzmp9GHWw==", + "dev": true, + "dependencies": { + "@types/geojson": "*" + } + }, "node_modules/@types/web-bluetooth": { "version": "0.0.20", "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz", diff --git a/package.json b/package.json index d8c9e13..6251173 100755 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "vuelidate": "^0.7.7" }, "devDependencies": { + "@types/leaflet": "^1.9.20", "@vitejs/plugin-vue": "^4.5.2", "@vue-leaflet/vue-leaflet": "^0.10.1", "autoprefixer": "^10.4.16", diff --git a/src/pages/authorize/PaymentForm.vue b/src/pages/authorize/PaymentForm.vue new file mode 100644 index 0000000..aaae276 --- /dev/null +++ b/src/pages/authorize/PaymentForm.vue @@ -0,0 +1,174 @@ + \ No newline at end of file diff --git a/src/pages/card/addcard.vue b/src/pages/card/addcard.vue index 67af8cd..8abfad2 100755 --- a/src/pages/card/addcard.vue +++ b/src/pages/card/addcard.vue @@ -79,13 +79,15 @@ diff --git a/src/pages/card/editcard.vue b/src/pages/card/editcard.vue index 08aa595..c2dad28 100755 --- a/src/pages/card/editcard.vue +++ b/src/pages/card/editcard.vue @@ -91,13 +91,14 @@ class="input input-bordered input-sm w-full max-w-xs" id="Month" > - - - - - - - + + + + + + + + diff --git a/src/pages/customer/profile/home.vue b/src/pages/customer/profile/home.vue index b218dbb..e6eec48 100755 --- a/src/pages/customer/profile/home.vue +++ b/src/pages/customer/profile/home.vue @@ -40,7 +40,7 @@
-
+
@@ -53,6 +53,8 @@ Create Service Call + + Edit Customer @@ -60,12 +62,12 @@
@@ -173,6 +175,7 @@ {{ customer.customer_phone_number }}
+
@@ -290,6 +293,48 @@
+
+
+
+
+
+ Equipment Parts +
+
+ +
+ +
+
+ +
+
Oil Filter 1:
+
{{ currentParts.oil_filter }}
+
+ +
+
Oil Filter 2:
+
{{ currentParts.oil_filter_2 }}
+
+ +
+
Oil Nozzle 1:
+
{{ currentParts.oil_nozzle }}
+
+ +
+
Oil Nozzle 2:
+
{{ currentParts.oil_nozzle_2 }}
+
+ +
+
+

No equipment parts information available.

+
+
+
+
+

@@ -311,7 +356,7 @@ {{ credit_cards_count }} credit card(s) on file. -
+
@@ -325,18 +370,8 @@ {{ card.card_number }}
-
01
-
02
-
03
-
04
-
05
-
06
-
07
-
08
-
09
-
10
-
11
-
12
+
0{{ card.expiration_month }}
+
{{ card.expiration_month }}
/
{{ card.expiration_year }}
@@ -369,18 +404,8 @@ {{ card.card_number }}
-
01
-
02
-
03
-
04
-
05
-
06
-
07
-
08
-
09
-
10
-
11
-
12
+
0{{ card.expiration_month }}
+
{{ card.expiration_month }}
/
{{ card.expiration_year }}
@@ -406,9 +431,6 @@
- - -
@@ -486,9 +508,6 @@
- - -
Automatic Deliveries
@@ -522,9 +541,6 @@
- - -
Orders
@@ -605,6 +621,14 @@ @save-changes="handleSaveChanges" @delete-service="handleDeleteService" /> + + ``` \ No newline at end of file diff --git a/src/pages/delivery/create.vue b/src/pages/delivery/create.vue index 28fef29..82f97e1 100755 --- a/src/pages/delivery/create.vue +++ b/src/pages/delivery/create.vue @@ -20,9 +20,10 @@
- -
-
+ +
+ +
@@ -36,19 +37,16 @@ {{ customer.customer_last_name }}
- {{ customer.customer_address }}
{{ customer.customer_apt }}
-
{{ customer.customer_town }},
-
Massachusetts
Rhode Island
New Hampshire
@@ -62,7 +60,6 @@ {{ customer.customer_zip }}
-
{{ customer.customer_apt }}
@@ -81,7 +78,34 @@
-
+ +
+

Price Per Gallon

+
+ + + + + + + + + + + + + + +
GallonsTotal Price
{{ gallons }}${{ parseFloat(price).toFixed(2) }}
+
+
+
+ + + +
+ +
Create Delivery @@ -147,10 +171,6 @@
No Cards on File! - -
@@ -207,8 +227,6 @@ class="textarea block p-2.5 w-full input-bordered " id="description" type="text" placeholder="Notes on ticket" />
- -
- +
-
Add a Credit Card
-
@@ -321,9 +337,6 @@ class="input input-bordered input-sm w-full max-w-xs" id="title" type="text" placeholder="Zip Code" />
- - -
-
Remind customer of tank Inspection
Ask how they heard about us
- -