From 72b19034adb374a512515cc252c87c4a528e69a0 Mon Sep 17 00:00:00 2001 From: Anekdotin Date: Tue, 2 Jul 2024 16:53:33 -0400 Subject: [PATCH] Updated autos --- .env | 4 +- src/layouts/sidebar/sidebar.vue | 4 +- src/pages/automatic/home.vue | 92 +++----- src/pages/customer/profile/home.vue | 79 ++++++- src/pages/delivery/viewstatus/finalized.vue | 6 +- src/pages/ticket/routes.ts | 7 +- src/pages/ticket/ticketauto.vue | 229 ++++++++++++++++++++ 7 files changed, 345 insertions(+), 76 deletions(-) create mode 100644 src/pages/ticket/ticketauto.vue diff --git a/.env b/.env index d562d8e..d60ef27 100755 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ VITE_BASE_URL="http://localhost:9511" -VITE_AUTO_URL="http://localhost:9514" -VITE_MONEY_URL="http://localhost:9513" VITE_PRINT_URL="http://localhost:9512" +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/src/layouts/sidebar/sidebar.vue b/src/layouts/sidebar/sidebar.vue index 079a66d..a38002d 100755 --- a/src/layouts/sidebar/sidebar.vue +++ b/src/layouts/sidebar/sidebar.vue @@ -23,9 +23,7 @@
All Customers
- -
Create Customer
-
+
Delivery
  • diff --git a/src/pages/automatic/home.vue b/src/pages/automatic/home.vue index be0ecd5..8f5ca6a 100755 --- a/src/pages/automatic/home.vue +++ b/src/pages/automatic/home.vue @@ -19,79 +19,64 @@
  • -
    Automatics
    - +
    Automatics
    +
    +
    Home Factor
    +
    1.00 = medium
    +
    1.50 = large
    +
    0.50 = small
    +
    - - - + + - - + - - + + - + - - - +
    Ticket IDDue DateStatusGallons LeftHome Factor Town Name AddressGallonsDateLast Fill
    {{ oil['id'] }} -
    Waiting
    -
    delivered
    -
    Out for Delivery
    -
    Cancelled
    -
    Partial Delivery
    -
    Issue
    -
    Finalized
    -
    -
    {{ oil['estimated_gallons_left'] }}{{ oil['house_factor'] }} {{ oil['customer_town'] }}{{ oil['customer_name'] }}{{ oil['customer_full_name'] }} {{ oil['customer_address'] }} -
    Fill
    -
    {{ oil['gallons_ordered'] }}
    -
    - {{ oil['expected_delivery_date'] }} - -
    No
    -
    Yes
    -
    {{ oil['last_fill'] }} - + + + +
    -
    - - -
    {{ recordsLength }} items Found
    -
    -