diff --git a/Dockerfile.prod b/Dockerfile.prod
index 9562825..cacfa7f 100644
--- a/Dockerfile.prod
+++ b/Dockerfile.prod
@@ -2,7 +2,6 @@
FROM node:20.11.1 AS builder
-ENV TZ="America/New_York"
ENV VITE_BASE_URL="http://192.168.1.204:9510"
ENV VITE_PRINT_URL="http://192.168.1.204:9512"
diff --git a/src/layouts/headers/headerauth.vue b/src/layouts/headers/headerauth.vue
index 0a1b714..54ed9e1 100755
--- a/src/layouts/headers/headerauth.vue
+++ b/src/layouts/headers/headerauth.vue
@@ -21,10 +21,21 @@
-
-
- {{ user.user_name }}
-
+
+
+
+
+ User Profile
+
+
+
@@ -62,6 +73,7 @@ export default defineComponent({
user_name: '',
},
company_id: 0,
+ isDropdownOpen: false,
company: {
creation_date: "",
account_prefix: "",
@@ -239,12 +251,21 @@ export default defineComponent({
.then((response: any) => {
this.company = response.data;
this.company_id = import.meta.env.VITE_COMPANY_ID
-
-
})
},
+ toggleDropdown() {
+ this.isDropdownOpen = !this.isDropdownOpen;
+ },
+ closeDropdown() {
+ this.isDropdownOpen = false;
+ },
+ logout() {
+ localStorage.removeItem('auth_user');
+ localStorage.removeItem('auth_token');
+ this.$router.push('/login');
+ },
},
});
-
\ No newline at end of file
+
diff --git a/src/pages/customer/list.vue b/src/pages/customer/list.vue
new file mode 100644
index 0000000..554b381
--- /dev/null
+++ b/src/pages/customer/list.vue
@@ -0,0 +1,113 @@
+
+
+
Customer List
+
+
+
+ | Account Number |
+ First Name |
+ Last Name |
+ Address |
+ Town |
+ Phone Number |
+
+
+
+
+ | {{ customer.account_number }} |
+ {{ customer.first_name }} |
+ {{ customer.last_name }} |
+ {{ customer.address }} |
+ {{ customer.town }} |
+ {{ customer.phone_number }} |
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/customer/routes.ts b/src/pages/customer/routes.ts
index cd47d22..65fc4c0 100755
--- a/src/pages/customer/routes.ts
+++ b/src/pages/customer/routes.ts
@@ -34,6 +34,11 @@ const customerRoutes = [
name: 'TankEdit',
component: TankEdit,
},
+ {
+ path: '/customer/list/all',
+ name: 'customerList',
+ component: () => import('./list.vue'),
+ },
]
export default customerRoutes