diff --git a/src/assets/images/BrokeringRunsEmptyState.png b/src/assets/images/BrokeringRunsEmptyState.png new file mode 100644 index 0000000..d618f2c Binary files /dev/null and b/src/assets/images/BrokeringRunsEmptyState.png differ diff --git a/src/assets/images/InventoryRuleEmptyState.png b/src/assets/images/InventoryRuleEmptyState.png new file mode 100644 index 0000000..d46eeb9 Binary files /dev/null and b/src/assets/images/InventoryRuleEmptyState.png differ diff --git a/src/locales/en.json b/src/locales/en.json index fe87665..5e07c75 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -28,6 +28,9 @@ "Cloning route": "Cloning route", "Close": "Close", "Connection configuration is missing for oms.": "Connection configuration is missing for oms.", + "Create brokering run": "Create brokering run", + "Create order batch": "Create order batch", + "Create order batches for this Brokering Run to execute.": "Create order batches for this Brokering Run to execute.", "Created at": "Created at", "Description": "Description", "Discard": "Discard", @@ -41,11 +44,10 @@ "Failed to create brokering run": "Failed to create brokering run", "Failed to create inventory rule": "Failed to create inventory rule", "Failed to create order routing": "Failed to create order routing", - "Failed to identify selected inventory rule, please select a rule or refresh": "Failed to identify selected inventory rule, please select a rule or refresh", "Failed to update group information": "Failed to update group information", "Failed to schedule service": "Failed to schedule service", "Fetching filters and inventory rules": "Fetching filters and inventory rules", - "Fetching groups": "Fetching groups", + "Fetching runs": "Fetching runs", "Fetching rules": "Fetching rules", "Fetching time zones": "Fetching time zones", "Filters": "Filters", @@ -95,6 +97,7 @@ "Passed duration": "Passed duration", "Password": "Password", "Please enter a valid name": "Please enter a valid name", + "Please select a rule or refresh": "Please select a rule or refresh", "Please select a scheduling for job": "Please select a scheduling for job", "Product Store": "Product Store", "Promise date": "Promise date", diff --git a/src/views/BrokeringQuery.vue b/src/views/BrokeringQuery.vue index c66c655..a14020c 100644 --- a/src/views/BrokeringQuery.vue +++ b/src/views/BrokeringQuery.vue @@ -81,163 +81,172 @@ - +
+

{{ translate("Actions") }}

+
+ + + + {{ translate("Partially available") }} + + + + {{ translate("Select if partial allocation should be allowed in this inventory rule") }} + + + + {{ translate("Allow partial allocation") }} + + + +

{{ translate("Partial allocation cannot be disabled. Orders are filtered by item when filtering by promise date.") }}

+
+
+
+ + + + {{ translate("Unavailable items") }} + + + + + + {{ translate("Next rule") }} + + + + {{ translate("Queue") }} + + + + + + + {{ facility.facilityName || facilityId }} + + + + {{ translate("Clear auto cancel days") }} + + + {{ translate("Auto cancel days") }} + {{ inventoryRuleActions[actionEnums["AUTO_CANCEL_DAYS"].id]?.actionValue ? `${inventoryRuleActions[actionEnums["AUTO_CANCEL_DAYS"].id].actionValue} days` : translate("select days") }} + + +
+
+ +
{{ translate("Please select a rule or refresh") }}
+ +
+ + + {{ translate("Add inventory rule") }} + + +
@@ -1189,9 +1198,9 @@ async function save() { gap: var(--spacer-xs) } -ion-content > main { +ion-content > main, #inventory-rules { display: grid; - grid-template-columns: repeat(2, minmax(375px, 25%)) 1fr; + grid-template-columns: minmax(375px, 25%) 1fr; height: 100%; } diff --git a/src/views/BrokeringRoute.vue b/src/views/BrokeringRoute.vue index 0a39d73..4209111 100644 --- a/src/views/BrokeringRoute.vue +++ b/src/views/BrokeringRoute.vue @@ -11,7 +11,7 @@
- + {{ translate("Order batches") }} @@ -53,6 +53,13 @@ +
+

{{ translate("Create order batches for this Brokering Run to execute.") }}

+ + + {{ translate("Create order batch") }} + +
@@ -152,7 +159,7 @@