diff --git a/src/pages/customer/edit.vue b/src/pages/customer/edit.vue index 543f10a..9cb4924 100755 --- a/src/pages/customer/edit.vue +++ b/src/pages/customer/edit.vue @@ -154,6 +154,9 @@ + + + @@ -343,7 +346,7 @@ export default defineComponent({ }) .then((response: any) => { if (response.data.ok) { - this.$router.push({ name: "customerProfile", params: { id: this.customer.id } }); + this.$router.push({ name: "customerProfile", params: { id: this.customer.id }, query: { success: 'true' } }); } else if (response.data.error) { // Handle specific errors if needed this.$router.push("/"); diff --git a/src/pages/customer/profile/profile.vue b/src/pages/customer/profile/profile.vue index cf3ac14..ce20823 100755 --- a/src/pages/customer/profile/profile.vue +++ b/src/pages/customer/profile/profile.vue @@ -48,10 +48,11 @@
Location not available...
-{{ customer.customer_town }}, {{ stateName(customer.customer_state) }} {{ customer.customer_zip }}
{{ customer.customer_phone_number }}
{{ homeTypeName(customer.customer_home_type) }}
+{{ customer_description }}
@@ -91,6 +93,7 @@ interface Customer { interface Props { customer: Customer; automatic_status: number; + customer_description?: string; } defineProps