diff --git a/src/components/AddAddressModal.vue b/src/components/AddAddressModal.vue new file mode 100644 index 00000000..dd25a63a --- /dev/null +++ b/src/components/AddAddressModal.vue @@ -0,0 +1,96 @@ + + + \ No newline at end of file diff --git a/src/components/AddGeoPointModal.vue b/src/components/AddGeoPointModal.vue new file mode 100644 index 00000000..02d57d96 --- /dev/null +++ b/src/components/AddGeoPointModal.vue @@ -0,0 +1,88 @@ + + + \ No newline at end of file diff --git a/src/components/OpenStorePopover.vue b/src/components/OpenStorePopover.vue new file mode 100644 index 00000000..0fd65112 --- /dev/null +++ b/src/components/OpenStorePopover.vue @@ -0,0 +1,46 @@ + + + diff --git a/src/components/SelectOperatingTimeModal.vue b/src/components/SelectOperatingTimeModal.vue new file mode 100644 index 00000000..432ad9ed --- /dev/null +++ b/src/components/SelectOperatingTimeModal.vue @@ -0,0 +1,115 @@ + + + + + \ No newline at end of file diff --git a/src/components/SelectProductStoreModal.vue b/src/components/SelectProductStoreModal.vue new file mode 100644 index 00000000..1b4edb16 --- /dev/null +++ b/src/components/SelectProductStoreModal.vue @@ -0,0 +1,84 @@ + + + + \ No newline at end of file diff --git a/src/locales/en.json b/src/locales/en.json index fb17e859..0ce75893 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1,25 +1,47 @@ { + "Add": "Add", + "Add timings": "Add timings", + "Address": "Address", + "Address line 1": "Address line 1", + "Address line 2": "Address line 2", "All": "All", + "Allow pickup": "Allow pickup", "Apply": "Apply", "Built: ": "Built: { builtDateTime }", "Cancel": "Cancel", "Change": "Change", "Change time zone": "Change time zone", + "City": "City", "Click the backdrop to dismiss.": "Click the backdrop to dismiss.", + "Closing Time": "Closing Time", + "Configure the order fulfillment capacity of your facility.": "Configure the order fulfillment capacity of your facility.", + "Country": "Country", "Custom": "Custom", "Custom fulfillment capacity": "Custom fulfillment capacity", + "Days to ship": "Days to ship", "Dismiss": "Dismiss", + "Edit": "Edit", "Facilities": "Facilities", "Facility Management": "Facility Management", "Fetching TimeZones": "Fetching TimeZones", + "Facility details": "Facility details", "Find Facilities": "Find Facilities", + "Friday": "Friday", "Fulfillment Capacity": "Fulfillment Capacity", "Fulfillment capacity updated successfully for ": "Fulfillment capacity updated successfully for {facilityName}", + "Fulfillment Settings": "Fulfillment Settings", + "Generate": "Generate", + "Generate shipping labels": "Generate shipping labels", "Groups": "Groups", "Instance Url": "Instance Url", "Loading": "Loading", "Login": "Login", "Logout": "Logout", + "Latitude": "Latitude", + "Latitude & Longitude": "Latitude & Longitude", + "Longitude": "Longitude", + "Make primary": "Make primary", + "Monday": "Monday", "No Capacity": "No Capacity", "No capacity": "No capacity", "No facilities found": "No facilities found", @@ -27,27 +49,51 @@ "No capacity sets the fulfillment capacity to 0, preventing any new orders from being allocated to this facility. Use the \"Reject all orders\" option in the fulfillment pages to clear your facilities fulfillment queue. To add a fulfillment capacity to this facility, use the custom option.": "No capacity sets the fulfillment capacity to 0, preventing any new orders from being allocated to this facility. Use the \"Reject all orders\" option in the fulfillment pages to clear your facilities fulfillment queue. To add a fulfillment capacity to this facility, use the custom option.", "No time zone found": "No time zone found", "OMS": "OMS", + "Online Order Fulfillment": "Online Order Fulfillment", + "Opening Time": "Opening Time", + "Operating hours": "Operating hours", "Order fulfillment capacity": "Order fulfillment capacity", "Parking": "Parking", "Password": "Password", + "primary store": "primary store", "Product Store": "Product Store", + "Product Stores": "Product Stores", + "Reset": "Reset", + "Saturday": "Saturday", + "Save": "Save", "Search facilities": "Search facilities", + "Select time": "Select time", "Search time zones": "Search time zones", "Select time zone": "Select time zone", + "Select product stores": "Select product stores", "Sell Online": "Sell Online", "Settings": "Settings", + "Sell Inventory Online": "Sell Inventory Online", + "Setting fulfillment capacity to 0 disables new order from being allocated to this facility. Leave this empty if this facility's fulfillment capacity is unrestricted.": "Setting fulfillment capacity to 0 disables new order from being allocated to this facility. Leave this empty if this facility's fulfillment capacity is unrestricted.", + "Something went wrong": "Something went wrong", "Something went wrong while login. Please contact administrator.": "Something went wrong while login. Please contact administrator.", "Sorry, your username or password is incorrect. Please try again.": "Sorry, your username or password is incorrect. Please try again.", + "State": "State", "Store": "Store", "store name": "store name", + "Sunday": "Sunday", + "These values are used to help customers lookup how close they are to your stores when they are finding nearby stores.": "These values are used to help customers lookup how close they are to your stores when they are finding nearby stores.", + "Thursday": "Thursday", "Time zone updated successfully": "Time zone updated successfully", + "Tuesday": "Tuesday", "Type": "Type", "threshold consumed": "threshold consumed", "Unlimited Capacity": "Unlimited Capacity", "Unlimited capacity removes the fulfillment capacity limit entirely. To add a fulfillment capacity to this facility, use the custom option.": "Unlimited capacity removes the fulfillment capacity limit entirely. To add a fulfillment capacity to this facility, use the custom option.", "Unlimited fulfillment capacity": "Unlimited fulfillment capacity", "Unlimited orders": "Unlimited orders", + "Unlink":"Unlink", + "Update days to ship": "Update days to ship", "Username": "Username", + "Uses native fulfillment app": "Uses native fulfillment app", "Version: ": "Version: { appVersion }", - "Would you like to update your time zone to . Your profile is currently set to . This setting can always be changed from the settings menu.": "Would you like to update your time zone to {localTimeZone}. Your profile is currently set to {profileTimeZone}. This setting can always be changed from the settings menu." + "View order count history": "View order count history", + "Wednesday": "Wednesday", + "Would you like to update your time zone to . Your profile is currently set to . This setting can always be changed from the settings menu.": "Would you like to update your time zone to {localTimeZone}. Your profile is currently set to {profileTimeZone}. This setting can always be changed from the settings menu.", + "Zipcode": "Zipcode" } \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 37680a4c..273b9495 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,5 +1,6 @@ import { createRouter, createWebHistory } from '@ionic/vue-router'; import { RouteRecordRaw } from 'vue-router'; +import FacilityDetails from '@/views/FacilityDetails.vue'; import store from '@/store' import { hasPermission } from '@/authorization'; import { showToast } from '@/utils' @@ -60,6 +61,13 @@ const routes: Array = [ component: FindFacilities, beforeEnter: authGuard }, + { + path: "/facility-details/:facilityId", + name: "Facility Details", + component: FacilityDetails, + props: true, + beforeEnter: authGuard + }, { path: '/settings', name: 'Settings', diff --git a/src/views/FacilityDetails.vue b/src/views/FacilityDetails.vue new file mode 100644 index 00000000..a4c42f06 --- /dev/null +++ b/src/views/FacilityDetails.vue @@ -0,0 +1,358 @@ + + + + +