@open-tender/utils 0.4.65 → 0.4.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -129,7 +129,7 @@ const getRevenueCenterStatus = (revenueCenter, serviceType) => {
|
|
|
129
129
|
const { first_times, status, timezone, revenue_center_type, is_outpost } = revenueCenter;
|
|
130
130
|
if (revenue_center_type !== 'OLO' || is_outpost)
|
|
131
131
|
return null;
|
|
132
|
-
if (status !== 'OPEN')
|
|
132
|
+
if (status !== 'OPEN' && status !== 'HIDDEN')
|
|
133
133
|
return 'Closed';
|
|
134
134
|
const tz = datetimes_1.timezoneMap[timezone];
|
|
135
135
|
const firstTimes = first_times ? first_times[serviceType] : null;
|
|
@@ -119,7 +119,7 @@ export const getRevenueCenterStatus = (revenueCenter, serviceType) => {
|
|
|
119
119
|
const { first_times, status, timezone, revenue_center_type, is_outpost } = revenueCenter;
|
|
120
120
|
if (revenue_center_type !== 'OLO' || is_outpost)
|
|
121
121
|
return null;
|
|
122
|
-
if (status !== 'OPEN')
|
|
122
|
+
if (status !== 'OPEN' && status !== 'HIDDEN')
|
|
123
123
|
return 'Closed';
|
|
124
124
|
const tz = timezoneMap[timezone];
|
|
125
125
|
const firstTimes = first_times ? first_times[serviceType] : null;
|
package/package.json
CHANGED