adding hubid to order

This commit is contained in:
José Salazar
2026-01-29 15:17:34 -05:00
parent 0afb89e86a
commit aa450c7cbe
3 changed files with 67 additions and 24 deletions

View File

@@ -12,7 +12,7 @@ query listOrders(
vendorId
businessId
orderType
location
#location
status
date
startDate
@@ -23,7 +23,6 @@ query listOrders(
assignedStaff
shifts
requested
hub
recurringDays
permanentDays
poReference
@@ -42,6 +41,13 @@ query listOrders(
id
companyName
}
teamHub {
address
placeId
hubName
}
}
}
@@ -56,7 +62,7 @@ query getOrderById($id: UUID!) @auth(level: USER) {
vendorId
businessId
orderType
location
#location
status
date
startDate
@@ -67,7 +73,6 @@ query getOrderById($id: UUID!) @auth(level: USER) {
assignedStaff
shifts
requested
hub
recurringDays
permanentDays
poReference
@@ -86,6 +91,13 @@ query getOrderById($id: UUID!) @auth(level: USER) {
id
companyName
}
teamHub {
address
placeId
hubName
}
}
}
@@ -108,7 +120,7 @@ query getOrdersByBusinessId(
vendorId
businessId
orderType
location
#location
status
date
startDate
@@ -119,7 +131,6 @@ query getOrdersByBusinessId(
assignedStaff
shifts
requested
hub
recurringDays
permanentDays
poReference
@@ -138,6 +149,13 @@ query getOrdersByBusinessId(
id
companyName
}
teamHub {
address
placeId
hubName
}
}
}
@@ -160,7 +178,7 @@ query getOrdersByVendorId(
vendorId
businessId
orderType
location
#location
status
date
startDate
@@ -171,7 +189,6 @@ query getOrdersByVendorId(
assignedStaff
shifts
requested
hub
recurringDays
permanentDays
poReference
@@ -190,6 +207,13 @@ query getOrdersByVendorId(
id
companyName
}
teamHub {
address
placeId
hubName
}
}
}
@@ -212,7 +236,7 @@ query getOrdersByStatus(
vendorId
businessId
orderType
location
#location
status
date
startDate
@@ -223,7 +247,6 @@ query getOrdersByStatus(
assignedStaff
shifts
requested
hub
recurringDays
permanentDays
poReference
@@ -242,6 +265,13 @@ query getOrdersByStatus(
id
companyName
}
teamHub {
address
placeId
hubName
}
}
}
@@ -267,7 +297,7 @@ query getOrdersByDateRange(
vendorId
businessId
orderType
location
#location
status
date
startDate
@@ -278,7 +308,6 @@ query getOrdersByDateRange(
assignedStaff
shifts
requested
hub
recurringDays
permanentDays
poReference
@@ -297,6 +326,13 @@ query getOrdersByDateRange(
id
companyName
}
teamHub {
address
placeId
hubName
}
}
}
@@ -318,7 +354,7 @@ query getRapidOrders(
vendorId
businessId
orderType
location
#location
status
date
startDate
@@ -329,7 +365,6 @@ query getRapidOrders(
assignedStaff
shifts
requested
hub
recurringDays
permanentDays
poReference
@@ -348,5 +383,12 @@ query getRapidOrders(
id
companyName
}
teamHub {
address
placeId
hubName
}
}
}