ordering-ui-admin-external 1.14.3 → 1.15.1
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.
- package/_bundles/{ordering-ui-admin.e2a58dcc95d6a983dfc0.js → ordering-ui-admin.7c0f4e22698e5dbd9b25.js} +2 -2
- package/_modules/components/BusinessIntelligence/BusinessReviewDetails/index.js +5 -5
- package/_modules/components/BusinessIntelligence/BusinessReviewList/index.js +29 -4
- package/_modules/components/BusinessIntelligence/InvoiceBusinessManager/index.js +16 -1
- package/_modules/components/BusinessIntelligence/InvoiceDriverManager/index.js +16 -1
- package/_modules/components/BusinessIntelligence/InvoiceManager/index.js +14 -1
- package/_modules/components/BusinessIntelligence/InvoiceOrdertype/styles.js +1 -1
- package/_modules/components/BusinessIntelligence/ProductReviewDetails/index.js +4 -3
- package/_modules/components/BusinessIntelligence/Reports/index.js +14 -1
- package/_modules/components/BusinessIntelligence/ReviewProductsListing/index.js +52 -16
- package/_modules/components/BusinessIntelligence/ReviewsListing/index.js +32 -4
- package/_modules/components/BusinessIntelligence/UserReviewDetails/index.js +4 -3
- package/_modules/components/BusinessIntelligence/UsersReviewList/index.js +35 -10
- package/_modules/components/CartRecovery/RecoveryActionDetail/index.js +21 -2
- package/_modules/components/CartRecovery/RecoveryActionListing/index.js +22 -2
- package/_modules/components/Delivery/DeliveryUsersListing/index.js +2 -0
- package/_modules/components/Delivery/DriversCompaniesListing/index.js +36 -13
- package/_modules/components/Delivery/DriversCompanyDetailsForm/index.js +31 -6
- package/_modules/components/Delivery/DriversGroupDetails/index.js +29 -2
- package/_modules/components/Delivery/DriversGroupLogistics/index.js +16 -2
- package/_modules/components/Delivery/DriversGroupsListing/index.js +28 -11
- package/_modules/components/Delivery/UserDetails/index.js +24 -1
- package/_modules/components/Loyalty/GiftCardDetail/styles.js +68 -0
- package/_modules/components/Loyalty/GiftCards/index.js +23 -2
- package/_modules/components/Loyalty/PointsWalletBusinessList/index.js +26 -1
- package/_modules/components/Loyalty/PointsWalletLevels/index.js +22 -1
- package/_modules/components/Loyalty/RewardsPrograms/index.js +34 -4
- package/_modules/components/Loyalty/Wallet/index.js +20 -1
- package/_modules/components/Marketing/AdBannersListing/index.js +24 -5
- package/_modules/components/Marketing/BannerImageDetails/index.js +2 -1
- package/_modules/components/Marketing/CampaignDetail/index.js +19 -1
- package/_modules/components/Marketing/CampaignEmail/styles.js +5 -3
- package/_modules/components/Marketing/CampaignListing/index.js +19 -0
- package/_modules/components/Marketing/CampaignNotification/styles.js +5 -3
- package/_modules/components/Marketing/CampaignSMS/styles.js +5 -3
- package/_modules/components/Marketing/EnterprisePromotionGeneralDetails/index.js +2 -1
- package/_modules/components/Marketing/EnterprisePromotionListing/index.js +24 -4
- package/_modules/components/Marketing/PageBanner/index.js +27 -3
- package/_modules/components/Messages/MessagesListing/index.js +18 -1
- package/_modules/components/MyProducts/AdvancedSettings/FontStyleGroup.js +85 -0
- package/_modules/components/MyProducts/AdvancedSettings/OrderType.js +45 -0
- package/_modules/components/MyProducts/AdvancedSettings/SettingComponent.js +91 -0
- package/_modules/components/MyProducts/AdvancedSettings/index.js +626 -0
- package/_modules/components/MyProducts/AdvancedSettings/styles.js +146 -0
- package/_modules/components/MyProducts/AppLayout/index.js +9 -1
- package/_modules/components/MyProducts/AppLayout/styles.js +20 -3
- package/_modules/components/MyProducts/CallCenterApp/index.js +1 -1
- package/_modules/components/MyProducts/CustomerApp/index.js +2 -2
- package/_modules/components/MyProducts/DriverApp/index.js +2 -2
- package/_modules/components/MyProducts/KioskApp/index.js +1 -1
- package/_modules/components/MyProducts/OrderingWebsite/index.js +37 -6
- package/_modules/components/MyProducts/OrderingWebsite/styles.js +39 -5
- package/_modules/components/MyProducts/PosApp/index.js +1 -1
- package/_modules/components/MyProducts/StoreApp/index.js +2 -2
- package/_modules/components/OrderingProducts/OrderingProductDetails/index.js +21 -1
- package/_modules/components/OrderingProducts/OrderingProductsListing/index.js +18 -1
- package/_modules/components/Orders/DeliveriesManager/index.js +0 -1
- package/_modules/components/Orders/Messages/index.js +32 -29
- package/_modules/components/Orders/OrderDetails/index.js +38 -22
- package/_modules/components/Orders/OrderDetailsHeader/index.js +2 -3
- package/_modules/components/Orders/OrdersContentHeader/index.js +2 -2
- package/_modules/components/Orders/OrdersFilterGroup/index.js +112 -9
- package/_modules/components/Orders/OrdersFilterGroup/styles.js +11 -3
- package/_modules/components/Orders/OrdersManager/index.js +0 -1
- package/_modules/components/Settings/CountriesList/index.js +27 -4
- package/_modules/components/Settings/Deliverect/index.js +23 -2
- package/_modules/components/Settings/DoordashConnect/index.js +23 -2
- package/_modules/components/Settings/DropdownOptionList/index.js +27 -4
- package/_modules/components/Settings/IntegrationListing/index.js +3 -3
- package/_modules/components/Settings/ItsaCheckmate/index.js +23 -2
- package/_modules/components/Settings/LalamoveConnect/index.js +23 -2
- package/_modules/components/Settings/PickerExpress/index.js +23 -2
- package/_modules/components/Settings/PlaceListing/index.js +40 -4
- package/_modules/components/Settings/Settings/index.js +86 -45
- package/_modules/components/Settings/SettingsDetail/index.js +14 -1
- package/_modules/components/Settings/SitesAuthSettings/index.js +17 -1
- package/_modules/components/SidebarMenu/index.js +0 -1
- package/_modules/components/Stores/BusinessAdd/BusinessDetails/index.js +4 -9
- package/_modules/components/Stores/BusinessAdd/BusinessDetails/styles.js +3 -1
- package/_modules/components/Stores/BusinessAdd/DeliveryZone/index.js +13 -4
- package/_modules/components/Stores/BusinessAdd/DeliveryZone/styles.js +16 -10
- package/_modules/components/Stores/BusinessAdd/PaymentMethods/index.js +11 -3
- package/_modules/components/Stores/BusinessAdd/PaymentMethods/styles.js +3 -1
- package/_modules/components/Stores/BusinessAdd/ReceiveOrders/index.js +17 -6
- package/_modules/components/Stores/BusinessAdd/ReceiveOrders/styles.js +3 -1
- package/_modules/components/Stores/BusinessAdd/index.js +38 -8
- package/_modules/components/Stores/BusinessAdd/styles.js +8 -4
- package/_modules/components/Stores/BusinessAddStore/index.js +1 -1
- package/_modules/components/Stores/BusinessBrandListing/index.js +37 -4
- package/_modules/components/Stores/BusinessDeliveryPickupMore/index.js +20 -1
- package/_modules/components/Stores/BusinessDeliveryZoneDetails/index.js +22 -1
- package/_modules/components/Stores/BusinessDeliveryZoneList/index.js +32 -4
- package/_modules/components/Stores/BusinessDetail/index.js +18 -1
- package/_modules/components/Stores/BusinessDetails/index.js +17 -1
- package/_modules/components/Stores/BusinessFrontLayout/index.js +8 -1
- package/_modules/components/Stores/BusinessFrontLayout/styles.js +5 -3
- package/_modules/components/Stores/BusinessMenu/index.js +58 -7
- package/_modules/components/Stores/BusinessMenuOptions/index.js +24 -3
- package/_modules/components/Stores/BusinessOrderingChannels/index.js +18 -2
- package/_modules/components/Stores/BusinessPaymentMethods/index.js +26 -2
- package/_modules/components/Stores/BusinessPlaceGroupList/index.js +183 -0
- package/_modules/components/Stores/BusinessPlaceGroupList/styles.js +66 -0
- package/_modules/components/Stores/BusinessProductsCategoyDetails/index.js +21 -1
- package/_modules/components/Stores/BusinessProductsListing/index.js +74 -22
- package/_modules/components/Stores/BusinessPromotionGeneralForm/index.js +2 -2
- package/_modules/components/Stores/BusinessSharedMenuProducts/index.js +29 -2
- package/_modules/components/Stores/BusinessSync/index.js +16 -1
- package/_modules/components/Stores/BusinessTypes/index.js +27 -4
- package/_modules/components/Stores/BusinessWalletsList/index.js +24 -1
- package/_modules/components/Stores/BusinessesListing/index.js +9 -1
- package/_modules/components/Stores/ImportersButton/index.js +19 -6
- package/_modules/components/Stores/PaymentOption/index.js +29 -9
- package/_modules/components/Stores/PaymentOptionMethods/index.js +23 -3
- package/_modules/components/Stores/PaymentOptionPaypal/index.js +23 -3
- package/_modules/components/Stores/PaymentOptionSquare/index.js +23 -3
- package/_modules/components/Stores/PaymentOptionStripeDirect/index.js +23 -3
- package/_modules/components/Stores/PaymethodOptionPaypalExpress/index.js +23 -3
- package/_modules/components/Stores/PaymethodOptionStripeConnect/index.js +23 -3
- package/_modules/components/Stores/PaymethodOptionStripeRedirect/index.js +23 -3
- package/_modules/components/Stores/ProductDetails/index.js +18 -1
- package/_modules/components/Stores/ProductExtras/index.js +25 -2
- package/_modules/components/Stores/ProductIngredient/index.js +23 -1
- package/_modules/components/Stores/ProductMainDetails/index.js +18 -1
- package/_modules/components/Stores/ProductTagsList/index.js +28 -2
- package/_modules/components/Users/CustomerCashWallet/index.js +22 -2
- package/_modules/components/Users/CustomerDetails/index.js +19 -1
- package/_modules/components/Users/CustomerPointsWallet/index.js +22 -2
- package/_modules/components/Users/CustomersListing/index.js +8 -3
- package/_modules/components/Users/ProfessionalDetail/index.js +25 -1
- package/_modules/components/Users/ProfessionalListing/index.js +8 -3
- package/_modules/components/Users/UserActiveStateFilter/index.js +18 -4
- package/_modules/components/Users/UserDetails/index.js +27 -1
- package/_modules/components/Users/UsersListing/index.js +8 -3
- package/package.json +2 -2
- package/src/components/BusinessIntelligence/BusinessReviewDetails/index.js +4 -4
- package/src/components/BusinessIntelligence/BusinessReviewList/index.js +29 -6
- package/src/components/BusinessIntelligence/InvoiceBusinessManager/index.js +17 -1
- package/src/components/BusinessIntelligence/InvoiceDriverManager/index.js +17 -1
- package/src/components/BusinessIntelligence/InvoiceManager/index.js +16 -2
- package/src/components/BusinessIntelligence/InvoiceOrdertype/styles.js +1 -0
- package/src/components/BusinessIntelligence/ProductReviewDetails/index.js +4 -4
- package/src/components/BusinessIntelligence/Reports/index.js +16 -2
- package/src/components/BusinessIntelligence/ReviewProductsListing/index.js +34 -6
- package/src/components/BusinessIntelligence/ReviewsListing/index.js +31 -5
- package/src/components/BusinessIntelligence/UserReviewDetails/index.js +4 -4
- package/src/components/BusinessIntelligence/UsersReviewList/index.js +32 -11
- package/src/components/CartRecovery/RecoveryActionDetail/index.js +19 -1
- package/src/components/CartRecovery/RecoveryActionListing/index.js +21 -3
- package/src/components/Delivery/DeliveryUsersListing/index.js +3 -1
- package/src/components/Delivery/DriversCompaniesListing/index.js +27 -9
- package/src/components/Delivery/DriversCompanyDetailsForm/index.js +37 -8
- package/src/components/Delivery/DriversGroupDetails/index.js +36 -4
- package/src/components/Delivery/DriversGroupLogistics/index.js +18 -2
- package/src/components/Delivery/DriversGroupsListing/index.js +20 -6
- package/src/components/Delivery/UserDetails/index.js +26 -1
- package/src/components/Loyalty/GiftCardDetail/styles.js +192 -0
- package/src/components/Loyalty/GiftCards/index.js +22 -2
- package/src/components/Loyalty/PointsWalletBusinessList/index.js +24 -1
- package/src/components/Loyalty/PointsWalletLevels/index.js +21 -1
- package/src/components/Loyalty/RewardsPrograms/index.js +30 -3
- package/src/components/Loyalty/Wallet/index.js +22 -1
- package/src/components/Marketing/AdBannersListing/index.js +25 -8
- package/src/components/Marketing/BannerImageDetails/index.js +2 -1
- package/src/components/Marketing/CampaignDetail/index.js +22 -1
- package/src/components/Marketing/CampaignEmail/styles.js +3 -0
- package/src/components/Marketing/CampaignListing/index.js +18 -1
- package/src/components/Marketing/CampaignNotification/styles.js +3 -0
- package/src/components/Marketing/CampaignSMS/styles.js +3 -0
- package/src/components/Marketing/EnterprisePromotionGeneralDetails/index.js +2 -1
- package/src/components/Marketing/EnterprisePromotionListing/index.js +19 -1
- package/src/components/Marketing/PageBanner/index.js +26 -3
- package/src/components/Messages/MessagesListing/index.js +17 -0
- package/src/components/MyProducts/AdvancedSettings/FontStyleGroup.js +64 -0
- package/src/components/MyProducts/AdvancedSettings/OrderType.js +40 -0
- package/src/components/MyProducts/AdvancedSettings/SettingComponent.js +104 -0
- package/src/components/MyProducts/AdvancedSettings/index.js +541 -0
- package/src/components/MyProducts/AdvancedSettings/styles.js +388 -0
- package/src/components/MyProducts/AppLayout/index.js +19 -2
- package/src/components/MyProducts/AppLayout/styles.js +65 -0
- package/src/components/MyProducts/CallCenterApp/index.js +1 -1
- package/src/components/MyProducts/CustomerApp/index.js +2 -2
- package/src/components/MyProducts/DriverApp/index.js +2 -2
- package/src/components/MyProducts/KioskApp/index.js +1 -1
- package/src/components/MyProducts/OrderingWebsite/index.js +309 -255
- package/src/components/MyProducts/OrderingWebsite/styles.js +99 -2
- package/src/components/MyProducts/PosApp/index.js +1 -1
- package/src/components/MyProducts/StoreApp/index.js +2 -2
- package/src/components/OrderingProducts/OrderingProductDetails/index.js +24 -2
- package/src/components/OrderingProducts/OrderingProductsListing/index.js +17 -1
- package/src/components/Orders/DeliveriesManager/index.js +0 -1
- package/src/components/Orders/Messages/index.js +31 -11
- package/src/components/Orders/OrderDetails/index.js +34 -20
- package/src/components/Orders/OrderDetailsHeader/index.js +2 -3
- package/src/components/Orders/OrdersContentHeader/index.js +1 -1
- package/src/components/Orders/OrdersFilterGroup/index.js +111 -13
- package/src/components/Orders/OrdersFilterGroup/styles.js +26 -0
- package/src/components/Orders/OrdersManager/index.js +0 -1
- package/src/components/Settings/CountriesList/index.js +26 -6
- package/src/components/Settings/Deliverect/index.js +26 -2
- package/src/components/Settings/DoordashConnect/index.js +26 -2
- package/src/components/Settings/DropdownOptionList/index.js +27 -6
- package/src/components/Settings/IntegrationListing/index.js +3 -3
- package/src/components/Settings/ItsaCheckmate/index.js +26 -2
- package/src/components/Settings/LalamoveConnect/index.js +26 -2
- package/src/components/Settings/PickerExpress/index.js +26 -2
- package/src/components/Settings/PlaceListing/index.js +38 -6
- package/src/components/Settings/Settings/index.js +79 -37
- package/src/components/Settings/SettingsDetail/index.js +15 -1
- package/src/components/Settings/SitesAuthSettings/index.js +18 -1
- package/src/components/SidebarMenu/index.js +0 -2
- package/src/components/Stores/BusinessAdd/BusinessDetails/index.js +1 -10
- package/src/components/Stores/BusinessAdd/BusinessDetails/styles.js +4 -0
- package/src/components/Stores/BusinessAdd/DeliveryZone/index.js +120 -109
- package/src/components/Stores/BusinessAdd/DeliveryZone/styles.js +22 -1
- package/src/components/Stores/BusinessAdd/PaymentMethods/index.js +8 -2
- package/src/components/Stores/BusinessAdd/PaymentMethods/styles.js +4 -0
- package/src/components/Stores/BusinessAdd/ReceiveOrders/index.js +11 -6
- package/src/components/Stores/BusinessAdd/ReceiveOrders/styles.js +4 -0
- package/src/components/Stores/BusinessAdd/index.js +47 -16
- package/src/components/Stores/BusinessAdd/styles.js +27 -1
- package/src/components/Stores/BusinessAddStore/index.js +1 -1
- package/src/components/Stores/BusinessBrandListing/index.js +37 -4
- package/src/components/Stores/BusinessDeliveryPickupMore/index.js +22 -1
- package/src/components/Stores/BusinessDeliveryZoneDetails/index.js +25 -2
- package/src/components/Stores/BusinessDeliveryZoneList/index.js +30 -3
- package/src/components/Stores/BusinessDetail/index.js +20 -1
- package/src/components/Stores/BusinessDetails/index.js +18 -1
- package/src/components/Stores/BusinessFrontLayout/index.js +13 -1
- package/src/components/Stores/BusinessFrontLayout/styles.js +11 -0
- package/src/components/Stores/BusinessMenu/index.js +56 -11
- package/src/components/Stores/BusinessMenuOptions/index.js +28 -3
- package/src/components/Stores/BusinessOrderingChannels/index.js +19 -2
- package/src/components/Stores/BusinessPaymentMethods/index.js +24 -2
- package/src/components/Stores/BusinessPlaceGroupList/index.js +193 -0
- package/src/components/Stores/BusinessPlaceGroupList/styles.js +143 -0
- package/src/components/Stores/BusinessProductsCategoyDetails/index.js +21 -1
- package/src/components/Stores/BusinessProductsListing/index.js +49 -8
- package/src/components/Stores/BusinessPromotionGeneralForm/index.js +2 -2
- package/src/components/Stores/BusinessSharedMenuProducts/index.js +29 -3
- package/src/components/Stores/BusinessSync/index.js +18 -2
- package/src/components/Stores/BusinessTypes/index.js +26 -4
- package/src/components/Stores/BusinessWalletsList/index.js +23 -1
- package/src/components/Stores/BusinessesListing/index.js +11 -2
- package/src/components/Stores/ImportersButton/index.js +24 -3
- package/src/components/Stores/PaymentOption/index.js +29 -8
- package/src/components/Stores/PaymentOptionMethods/index.js +25 -3
- package/src/components/Stores/PaymentOptionPaypal/index.js +25 -3
- package/src/components/Stores/PaymentOptionSquare/index.js +25 -3
- package/src/components/Stores/PaymentOptionStripeDirect/index.js +25 -3
- package/src/components/Stores/PaymethodOptionPaypalExpress/index.js +25 -3
- package/src/components/Stores/PaymethodOptionStripeConnect/index.js +25 -3
- package/src/components/Stores/PaymethodOptionStripeRedirect/index.js +25 -3
- package/src/components/Stores/ProductDetails/index.js +19 -1
- package/src/components/Stores/ProductExtras/index.js +23 -2
- package/src/components/Stores/ProductIngredient/index.js +23 -2
- package/src/components/Stores/ProductMainDetails/index.js +20 -2
- package/src/components/Stores/ProductTagsList/index.js +28 -3
- package/src/components/Users/CustomerCashWallet/index.js +25 -3
- package/src/components/Users/CustomerDetails/index.js +20 -1
- package/src/components/Users/CustomerPointsWallet/index.js +25 -3
- package/src/components/Users/CustomersListing/index.js +9 -4
- package/src/components/Users/ProfessionalDetail/index.js +27 -1
- package/src/components/Users/ProfessionalListing/index.js +9 -4
- package/src/components/Users/UserActiveStateFilter/index.js +16 -3
- package/src/components/Users/UserDetails/index.js +27 -1
- package/src/components/Users/UsersListing/index.js +9 -4
- package/template/pages/BusinessProductsList/index.js +1 -1
- /package/_bundles/{ordering-ui-admin.e2a58dcc95d6a983dfc0.js.LICENSE.txt → ordering-ui-admin.7c0f4e22698e5dbd9b25.js.LICENSE.txt} +0 -0
|
@@ -122,6 +122,7 @@ export const MoreSettingsHeader = styled.div`
|
|
|
122
122
|
font-size: 16px;
|
|
123
123
|
line-height: 24px;
|
|
124
124
|
text-align: center;
|
|
125
|
+
margin-bottom: 34px;
|
|
125
126
|
}
|
|
126
127
|
`
|
|
127
128
|
|
|
@@ -345,9 +346,105 @@ export const ContentWrapper = styled.div`
|
|
|
345
346
|
|
|
346
347
|
export const WebsiteButtonWrapper = styled.div`
|
|
347
348
|
display: flex;
|
|
348
|
-
|
|
349
|
-
margin-bottom: 20px;
|
|
349
|
+
margin-top: 20px;
|
|
350
350
|
button {
|
|
351
351
|
height: 44px;
|
|
352
352
|
}
|
|
353
353
|
`
|
|
354
|
+
|
|
355
|
+
export const TabWrapper = styled.div`
|
|
356
|
+
display: flex;
|
|
357
|
+
justify-content: center;
|
|
358
|
+
`
|
|
359
|
+
|
|
360
|
+
export const Tabs = styled.div`
|
|
361
|
+
display: flex;
|
|
362
|
+
border-bottom: 1px solid ${props => props.theme.colors.borderColor};
|
|
363
|
+
`
|
|
364
|
+
|
|
365
|
+
export const Tab = styled.div`
|
|
366
|
+
cursor: pointer;
|
|
367
|
+
font-weight: 400;
|
|
368
|
+
font-size: 12px;
|
|
369
|
+
line-height: 18px;
|
|
370
|
+
color: ${props => props.theme.colors.lightGray};
|
|
371
|
+
padding-bottom: 14px;
|
|
372
|
+
transition: all 0.2s ease-out;
|
|
373
|
+
:not(:last-child) {
|
|
374
|
+
margin-right: 32px;
|
|
375
|
+
}
|
|
376
|
+
${({ active }) => active && css`
|
|
377
|
+
font-weight: 600;
|
|
378
|
+
font-size: 14px;
|
|
379
|
+
line-height: 21px;
|
|
380
|
+
padding-bottom: 13px;
|
|
381
|
+
color: ${props => props.theme.colors.headingColor};
|
|
382
|
+
border-bottom: 1px solid ${props => props.theme.colors.headingColor};
|
|
383
|
+
`}
|
|
384
|
+
`
|
|
385
|
+
|
|
386
|
+
export const HeaderInfoWrapper = styled.div`
|
|
387
|
+
position: relative;
|
|
388
|
+
${props => props.theme?.rtl ? css`
|
|
389
|
+
margin-left: -8px;
|
|
390
|
+
margin-right: 8px;
|
|
391
|
+
` : css`
|
|
392
|
+
margin-right: -8px;
|
|
393
|
+
margin-left: 8px;
|
|
394
|
+
`}
|
|
395
|
+
|
|
396
|
+
> button {
|
|
397
|
+
height: 25px;
|
|
398
|
+
svg {
|
|
399
|
+
width: 16px;
|
|
400
|
+
height: 16px;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
&:hover > div {
|
|
404
|
+
/* display: block; */
|
|
405
|
+
visibility: visible;
|
|
406
|
+
opacity: 1;
|
|
407
|
+
}
|
|
408
|
+
`
|
|
409
|
+
|
|
410
|
+
export const InfoContent = styled.div`
|
|
411
|
+
position: absolute;
|
|
412
|
+
top: 100%;
|
|
413
|
+
z-index: 999;
|
|
414
|
+
background: ${props => props.theme.colors.backgroundInfo};
|
|
415
|
+
border: 1px solid ${props => props.theme.colors.primary};
|
|
416
|
+
box-sizing: border-box;
|
|
417
|
+
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
|
|
418
|
+
border-radius: 7.6px;
|
|
419
|
+
padding: 8px 12px;
|
|
420
|
+
font-size: 12px;
|
|
421
|
+
line-height: 18px;
|
|
422
|
+
min-width: 150px;
|
|
423
|
+
transition: all 0.3s linear;
|
|
424
|
+
visibility: hidden;
|
|
425
|
+
opacity: 0;
|
|
426
|
+
right: 0px;
|
|
427
|
+
${props => props.theme.rtl && css`
|
|
428
|
+
left: 0px;
|
|
429
|
+
right: initial;
|
|
430
|
+
`}
|
|
431
|
+
|
|
432
|
+
> a {
|
|
433
|
+
color: ${props => props.theme.colors.primary};
|
|
434
|
+
margin: 0 5px;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
@media (min-width: 576px) {
|
|
438
|
+
min-width: 350px;
|
|
439
|
+
padding: 12px 15px;
|
|
440
|
+
left: 0px;
|
|
441
|
+
${props => props.theme.rtl && css`
|
|
442
|
+
right: 0px;
|
|
443
|
+
left: initial;
|
|
444
|
+
`}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
@media (min-width: 993px) {
|
|
448
|
+
min-width: 535px;
|
|
449
|
+
}
|
|
450
|
+
`
|
|
@@ -15,7 +15,7 @@ export const PosApp = () => {
|
|
|
15
15
|
brand: theme.images.myProducts.myPosAppBrand
|
|
16
16
|
},
|
|
17
17
|
live_title: t('FREE_TO_USE', 'Free to use'),
|
|
18
|
-
live_description: t('
|
|
18
|
+
live_description: t('POS_APP_FREE_TO_USE_DESCRIPTION', 'This is a branded Ordering.co product. use it with your project, email, and password for free. features might be limited.'),
|
|
19
19
|
brand_title: t('YOUR_BRANDED_POS', 'Your Branded POS'),
|
|
20
20
|
brand_description: t('POS_BRANDED_DESCRIPTION', 'The POS is delivered in less than five working days, fully branded with your guidelines, and ready to be used on any tablet or device you add it to.'),
|
|
21
21
|
demo_book_message: 'I would like to book a Demo about the POS app , can you assist me?',
|
|
@@ -15,10 +15,10 @@ export const StoreApp = () => {
|
|
|
15
15
|
brand: theme.images.myProducts.storeAppBrand
|
|
16
16
|
},
|
|
17
17
|
live_title: t('FREE_TO_USE', 'Free to use'),
|
|
18
|
-
live_description: t('
|
|
18
|
+
live_description: t('STORE_APP_FREE_TO_USE_DESCRIPTION', 'This is a branded Ordering.co product. use it with your project, email, and password for free. features might be limited.'),
|
|
19
19
|
demo_book_message: 'I would like to book a Demo about the Store app , can you assist me?',
|
|
20
20
|
brand_title: t('YOUR_BRANDED_APP', 'Your Branded App'),
|
|
21
|
-
brand_description: t('
|
|
21
|
+
brand_description: t('STORE_APP_BRANDED_DESCRIPTION', 'This App is delivered in less than five working days, fully branded with your guidelines, removing all ordering.co presence to give your brand more awareness.'),
|
|
22
22
|
purchase_message: 'I would like to know about the Store app, can you assist me?',
|
|
23
23
|
downloads: [
|
|
24
24
|
{ id: 1, icon: theme.images.myProducts.appStoreSmall, link: 'https://apps.apple.com/us/app/store-app-2-0/id1608192050' },
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React, { useState } from 'react'
|
|
1
|
+
import React, { useState, useEffect } from 'react'
|
|
2
|
+
import { useHistory, useLocation } from 'react-router-dom'
|
|
2
3
|
import { useLanguage, SiteDetails as SiteDetailsController } from 'ordering-components-admin-external'
|
|
3
4
|
import { DefaultSelect, IconButton } from '../../../styles'
|
|
4
5
|
import { ArrowsAngleContract, ArrowsAngleExpand, ThreeDots } from 'react-bootstrap-icons'
|
|
@@ -23,6 +24,8 @@ const OrderingProductDetailsUI = (props) => {
|
|
|
23
24
|
handleDeleteSite
|
|
24
25
|
} = props
|
|
25
26
|
|
|
27
|
+
const history = useHistory()
|
|
28
|
+
const query = new URLSearchParams(useLocation().search)
|
|
26
29
|
const [, t] = useLanguage()
|
|
27
30
|
const [selectedTab, setSelectedTab] = useState('general')
|
|
28
31
|
const { width } = useWindowSize()
|
|
@@ -57,6 +60,25 @@ const OrderingProductDetailsUI = (props) => {
|
|
|
57
60
|
setIsExpand(prev => !prev)
|
|
58
61
|
}
|
|
59
62
|
|
|
63
|
+
const handleTabClick = (tab, isInitialRender) => {
|
|
64
|
+
setSelectedTab(tab)
|
|
65
|
+
if (!isInitialRender) {
|
|
66
|
+
const id = query.get('id')
|
|
67
|
+
if (id) {
|
|
68
|
+
history.replace(`${location.pathname}?id=${id}&tab=${tab}`)
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
useEffect(() => {
|
|
74
|
+
const tab = query.get('tab')
|
|
75
|
+
if (tab) {
|
|
76
|
+
handleTabClick(tab, true)
|
|
77
|
+
} else {
|
|
78
|
+
handleTabClick(selectedTab)
|
|
79
|
+
}
|
|
80
|
+
}, [])
|
|
81
|
+
|
|
60
82
|
return (
|
|
61
83
|
<Container>
|
|
62
84
|
<DetailHeaderContainer>
|
|
@@ -89,7 +111,7 @@ const OrderingProductDetailsUI = (props) => {
|
|
|
89
111
|
<Tab
|
|
90
112
|
key={tab.key}
|
|
91
113
|
active={selectedTab === tab.key}
|
|
92
|
-
onClick={() =>
|
|
114
|
+
onClick={() => handleTabClick(tab.key)}
|
|
93
115
|
>
|
|
94
116
|
{tab.content}
|
|
95
117
|
</Tab>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react'
|
|
2
|
+
import { useHistory, useLocation } from 'react-router-dom'
|
|
2
3
|
import {
|
|
3
4
|
useLanguage,
|
|
4
5
|
SitesList as SitesListController
|
|
@@ -35,6 +36,8 @@ const OrderingProductsUI = (props) => {
|
|
|
35
36
|
handleSuccessUpdateSites
|
|
36
37
|
} = props
|
|
37
38
|
|
|
39
|
+
const history = useHistory()
|
|
40
|
+
const query = new URLSearchParams(useLocation().search)
|
|
38
41
|
const [, t] = useLanguage()
|
|
39
42
|
|
|
40
43
|
const [{ isCollapse }, { handleMenuCollapse }] = useInfoShare()
|
|
@@ -53,14 +56,18 @@ const OrderingProductsUI = (props) => {
|
|
|
53
56
|
getSites(expectedPage, pageSize)
|
|
54
57
|
}
|
|
55
58
|
|
|
56
|
-
const onClickProduct = (product) => {
|
|
59
|
+
const onClickProduct = (product, isInitialRender) => {
|
|
57
60
|
setSelectedSite(product)
|
|
58
61
|
setOpenDetails(true)
|
|
62
|
+
if (product && !isInitialRender) {
|
|
63
|
+
history.replace(`${location.pathname}?id=${product?.id}`)
|
|
64
|
+
}
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
const handleCloseDetail = () => {
|
|
62
68
|
setOpenDetails(false)
|
|
63
69
|
setSelectedSite(null)
|
|
70
|
+
history.replace(`${location.pathname}`)
|
|
64
71
|
}
|
|
65
72
|
|
|
66
73
|
useEffect(() => {
|
|
@@ -71,6 +78,15 @@ const OrderingProductsUI = (props) => {
|
|
|
71
78
|
})
|
|
72
79
|
}, [sitesListState?.error])
|
|
73
80
|
|
|
81
|
+
useEffect(() => {
|
|
82
|
+
if (sitesListState.loading) return
|
|
83
|
+
const productId = query.get('id')
|
|
84
|
+
if (productId) {
|
|
85
|
+
const initProduct = sitesListState.sites.find(site => site.id === Number(productId))
|
|
86
|
+
if (initProduct) onClickProduct(initProduct, true)
|
|
87
|
+
}
|
|
88
|
+
}, [sitesListState])
|
|
89
|
+
|
|
74
90
|
return (
|
|
75
91
|
<>
|
|
76
92
|
<OrderingProductsContainer>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef } from 'react'
|
|
2
|
+
import { useHistory, useLocation } from 'react-router-dom'
|
|
2
3
|
import { useUtils, useLanguage, useSession, Messages as MessagesController } from 'ordering-components-admin-external'
|
|
3
4
|
import { useForm, Controller } from 'react-hook-form'
|
|
4
5
|
import { useTheme } from 'styled-components'
|
|
@@ -83,6 +84,8 @@ export const MessagesUI = (props) => {
|
|
|
83
84
|
orderDetailClose
|
|
84
85
|
} = props
|
|
85
86
|
|
|
87
|
+
const routerHistory = useHistory()
|
|
88
|
+
const query = new URLSearchParams(useLocation().search)
|
|
86
89
|
const [, t] = useLanguage()
|
|
87
90
|
const theme = useTheme()
|
|
88
91
|
const { handleSubmit, setValue, errors, control } = useForm()
|
|
@@ -92,7 +95,7 @@ export const MessagesUI = (props) => {
|
|
|
92
95
|
const messageInputRef = useRef(null)
|
|
93
96
|
|
|
94
97
|
const [alertState, setAlertState] = useState({ open: false, content: [] })
|
|
95
|
-
const [tabActive, setTabActive] = useState(
|
|
98
|
+
const [tabActive, setTabActive] = useState('order_history')
|
|
96
99
|
const [messageSearchValue, setMessageSearchValue] = useState('')
|
|
97
100
|
const [filteredMessages, setFilteredMessages] = useState([])
|
|
98
101
|
const [load, setLoad] = useState(0)
|
|
@@ -101,8 +104,6 @@ export const MessagesUI = (props) => {
|
|
|
101
104
|
const previousStatus = [1, 2, 5, 6, 10, 11, 12, 16, 17]
|
|
102
105
|
const chatDisabled = previousStatus.includes(order?.status)
|
|
103
106
|
|
|
104
|
-
console.log(order?.status)
|
|
105
|
-
|
|
106
107
|
const adminMessageList = [
|
|
107
108
|
{ key: 'message_1', text: t('ADMIN_MESSAGE_1', 'admin_message_1') },
|
|
108
109
|
{ key: 'message_2', text: t('ADMIN_MESSAGE_2', 'admin_message_2') },
|
|
@@ -378,6 +379,25 @@ export const MessagesUI = (props) => {
|
|
|
378
379
|
}
|
|
379
380
|
}, [canRead])
|
|
380
381
|
|
|
382
|
+
const handleTabClick = (tab, isInitialRender) => {
|
|
383
|
+
setTabActive(tab)
|
|
384
|
+
if (!isInitialRender) {
|
|
385
|
+
const orderId = query.get('id')
|
|
386
|
+
const section = query.get('section')
|
|
387
|
+
routerHistory.replace(`${location.pathname}?id=${orderId}§ion=${section}&tab=${tab}`)
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
useEffect(() => {
|
|
392
|
+
if (!history) return
|
|
393
|
+
const tab = query.get('tab')
|
|
394
|
+
if (tab) {
|
|
395
|
+
handleTabClick(tab, true)
|
|
396
|
+
} else {
|
|
397
|
+
handleTabClick('order_history')
|
|
398
|
+
}
|
|
399
|
+
}, [history])
|
|
400
|
+
|
|
381
401
|
return (
|
|
382
402
|
<MessagesContainer>
|
|
383
403
|
<WrapperContainer onClick={handleChangeTour}>
|
|
@@ -414,13 +434,13 @@ export const MessagesUI = (props) => {
|
|
|
414
434
|
)}
|
|
415
435
|
{history && (
|
|
416
436
|
<WrapperHitoryHeader>
|
|
417
|
-
<TabItem active={tabActive
|
|
437
|
+
<TabItem active={tabActive === 'order_history'} onClick={() => handleTabClick('order_history')}>
|
|
418
438
|
{t('MOBILE_ORDER_HISTORY', 'Order History')}
|
|
419
439
|
</TabItem>
|
|
420
|
-
<TabItem active={tabActive
|
|
440
|
+
<TabItem active={tabActive === 'logistics'} onClick={() => handleTabClick('logistics')}>
|
|
421
441
|
{t('LOGISTICS', 'Logistics')}
|
|
422
442
|
</TabItem>
|
|
423
|
-
<TabItem active={tabActive
|
|
443
|
+
<TabItem active={tabActive === 'logistic_information'} onClick={() => handleTabClick('logistic_information')}>
|
|
424
444
|
{t('LOGISTIC_INFORMATION', 'Logistics information')}
|
|
425
445
|
</TabItem>
|
|
426
446
|
</WrapperHitoryHeader>
|
|
@@ -491,7 +511,7 @@ export const MessagesUI = (props) => {
|
|
|
491
511
|
{
|
|
492
512
|
!messages.loading && (
|
|
493
513
|
<>
|
|
494
|
-
{!tabActive
|
|
514
|
+
{!tabActive === 'logistic_information' && (
|
|
495
515
|
<MessageConsole>
|
|
496
516
|
<BubbleConsole>
|
|
497
517
|
{t('ORDER_PLACED_FOR', 'Order placed for')} {' '}
|
|
@@ -512,12 +532,12 @@ export const MessagesUI = (props) => {
|
|
|
512
532
|
)}
|
|
513
533
|
{history && (
|
|
514
534
|
<>
|
|
515
|
-
{tabActive
|
|
535
|
+
{tabActive === 'logistics' && (
|
|
516
536
|
<WrapperLogistics>
|
|
517
537
|
<Logistics orderId={order.id} />
|
|
518
538
|
</WrapperLogistics>
|
|
519
539
|
)}
|
|
520
|
-
{tabActive
|
|
540
|
+
{tabActive === 'logistic_information' && (
|
|
521
541
|
<WrapperLogisticInformation>
|
|
522
542
|
<OrderLogisticInformation orderId={order.id} />
|
|
523
543
|
</WrapperLogisticInformation>
|
|
@@ -526,10 +546,10 @@ export const MessagesUI = (props) => {
|
|
|
526
546
|
)}
|
|
527
547
|
{filteredMessages.length > 0 && filteredMessages.map((message) => (
|
|
528
548
|
<React.Fragment key={message.id}>
|
|
529
|
-
{history && tabActive
|
|
549
|
+
{history && tabActive === 'order_history' && (
|
|
530
550
|
<>
|
|
531
551
|
{message.type === 1 && (
|
|
532
|
-
<MessageConsole key={message.id} style={{ display: `${tabActive
|
|
552
|
+
<MessageConsole key={message.id} style={{ display: `${tabActive === 'order_history' ? 'inline-flex' : 'none'}` }}>
|
|
533
553
|
{message.change?.attribute !== 'driver_id' ? (
|
|
534
554
|
<BubbleConsole>
|
|
535
555
|
{t('ORDER', 'Order')} {' '}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef } from 'react'
|
|
2
|
+
import { useHistory, useLocation } from 'react-router-dom'
|
|
2
3
|
import Skeleton from 'react-loading-skeleton'
|
|
3
4
|
import { useLanguage, useUtils, useSession, OrderDetails as OrderDetailsController } from 'ordering-components-admin-external'
|
|
4
5
|
import { ProductItemAccordion } from '../ProductItemAccordion'
|
|
@@ -53,6 +54,8 @@ const OrderDetailsUI = (props) => {
|
|
|
53
54
|
isServiceOrder
|
|
54
55
|
} = props
|
|
55
56
|
|
|
57
|
+
const history = useHistory()
|
|
58
|
+
const query = new URLSearchParams(useLocation().search)
|
|
56
59
|
const [, t] = useLanguage()
|
|
57
60
|
const { width } = useWindowSize()
|
|
58
61
|
const [openMessages, setOpenMessages] = useState({ chat: false, history: false })
|
|
@@ -143,26 +146,28 @@ const OrderDetailsUI = (props) => {
|
|
|
143
146
|
setUnreadAlert({ business, driver, customer })
|
|
144
147
|
}
|
|
145
148
|
|
|
146
|
-
const
|
|
147
|
-
|
|
149
|
+
const handleCloseMessages = () => {
|
|
150
|
+
setOpenMessages({ chat: false, history: false })
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
const handleShowOption = (option, isInitialRender) => {
|
|
154
|
+
if (option === 'chat') {
|
|
148
155
|
setOpenMessages({ chat: true, history: false })
|
|
149
156
|
setUnreadAlert({ ...unreadAlert, customer: false })
|
|
150
|
-
|
|
151
|
-
if (
|
|
157
|
+
setShowOption(null)
|
|
158
|
+
} else if (option === 'history') {
|
|
152
159
|
setOpenMessages({ chat: false, history: true })
|
|
160
|
+
setShowOption(null)
|
|
161
|
+
} else {
|
|
162
|
+
setOpenMessages({ chat: false, history: false })
|
|
163
|
+
setShowOption(option)
|
|
153
164
|
}
|
|
154
|
-
setShowOption(null)
|
|
155
165
|
setExtraOpen(true)
|
|
156
|
-
}
|
|
157
166
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
const handleShowOption = (option) => {
|
|
163
|
-
handleCloseMessages()
|
|
164
|
-
setExtraOpen(true)
|
|
165
|
-
setShowOption(option)
|
|
167
|
+
if (!isInitialRender) {
|
|
168
|
+
const orderId = query.get('id')
|
|
169
|
+
history.replace(`${location.pathname}?id=${orderId}§ion=${option}`)
|
|
170
|
+
}
|
|
166
171
|
}
|
|
167
172
|
|
|
168
173
|
useEffect(() => {
|
|
@@ -218,7 +223,7 @@ const OrderDetailsUI = (props) => {
|
|
|
218
223
|
}
|
|
219
224
|
if (evt.target.closest('.driver-select')) return
|
|
220
225
|
if (isTourOpen && setCurrentTourStep) {
|
|
221
|
-
|
|
226
|
+
handleShowOption('chat')
|
|
222
227
|
setTimeout(() => {
|
|
223
228
|
isTourOpen && setCurrentTourStep && setCurrentTourStep(3)
|
|
224
229
|
}, 1)
|
|
@@ -229,7 +234,7 @@ const OrderDetailsUI = (props) => {
|
|
|
229
234
|
if (evt.keyCode === 37 && currentTourStep === 2) setCurrentTourStep(1)
|
|
230
235
|
if (evt.keyCode === 39 && currentTourStep === 1 && order?.delivery_type === 1) setCurrentTourStep(2)
|
|
231
236
|
if (evt.keyCode === 39 && currentTourStep === 1 && order?.delivery_type !== 1) {
|
|
232
|
-
|
|
237
|
+
handleShowOption('chat')
|
|
233
238
|
setTimeout(() => {
|
|
234
239
|
isTourOpen && setCurrentTourStep && setCurrentTourStep(3)
|
|
235
240
|
}, 1)
|
|
@@ -241,7 +246,7 @@ const OrderDetailsUI = (props) => {
|
|
|
241
246
|
setIsTourFlag(false)
|
|
242
247
|
}
|
|
243
248
|
if ((evt.keyCode === 39 && currentTourStep === 2)) {
|
|
244
|
-
|
|
249
|
+
handleShowOption('chat')
|
|
245
250
|
setCurrentTourStep(3)
|
|
246
251
|
}
|
|
247
252
|
if (evt.keyCode === 39 && currentTourStep === 3) {
|
|
@@ -259,7 +264,7 @@ const OrderDetailsUI = (props) => {
|
|
|
259
264
|
|
|
260
265
|
useEffect(() => {
|
|
261
266
|
if (!isTourFlag) return
|
|
262
|
-
|
|
267
|
+
handleShowOption('chat')
|
|
263
268
|
setTimeout(() => {
|
|
264
269
|
setCurrentTourStep(3)
|
|
265
270
|
}, 1)
|
|
@@ -276,6 +281,8 @@ const OrderDetailsUI = (props) => {
|
|
|
276
281
|
setExtraOpen(false)
|
|
277
282
|
setOpenMessages({ chat: false, history: false })
|
|
278
283
|
setShowOption(null)
|
|
284
|
+
const orderId = query.get('id')
|
|
285
|
+
history.replace(`${location.pathname}?id=${orderId}`)
|
|
279
286
|
}
|
|
280
287
|
|
|
281
288
|
useEffect(() => {
|
|
@@ -284,6 +291,14 @@ const OrderDetailsUI = (props) => {
|
|
|
284
291
|
return () => document.removeEventListener('keydown', onCloseSidebar)
|
|
285
292
|
}, [open])
|
|
286
293
|
|
|
294
|
+
useEffect(() => {
|
|
295
|
+
if (loading) return
|
|
296
|
+
const section = query.get('section')
|
|
297
|
+
if (section) {
|
|
298
|
+
handleShowOption(section, true)
|
|
299
|
+
}
|
|
300
|
+
}, [loading])
|
|
301
|
+
|
|
287
302
|
return (
|
|
288
303
|
<Container
|
|
289
304
|
isSelectedOrders={isSelectedOrders}
|
|
@@ -315,7 +330,6 @@ const OrderDetailsUI = (props) => {
|
|
|
315
330
|
showOption={showOption}
|
|
316
331
|
openMessage={openMessages}
|
|
317
332
|
handleShowOption={handleShowOption}
|
|
318
|
-
handleOpenMessages={handleOpenMessages}
|
|
319
333
|
isTourOpen={isTourOpen}
|
|
320
334
|
currentTourStep={currentTourStep}
|
|
321
335
|
setIsTourOpen={setIsTourOpen}
|
|
@@ -382,7 +396,7 @@ const OrderDetailsUI = (props) => {
|
|
|
382
396
|
unreadAlert={unreadAlert}
|
|
383
397
|
isTourOpen={isTourOpen}
|
|
384
398
|
setCurrentTourStep={setCurrentTourStep}
|
|
385
|
-
|
|
399
|
+
handleShowOption={handleShowOption}
|
|
386
400
|
/>
|
|
387
401
|
<OrderProducts>
|
|
388
402
|
<h2>{t('EXPORT_SUMMARY', 'Summary')}</h2>
|
|
@@ -26,7 +26,6 @@ export const OrderDetailsHeader = (props) => {
|
|
|
26
26
|
const {
|
|
27
27
|
order,
|
|
28
28
|
handleShowOption,
|
|
29
|
-
handleOpenMessages,
|
|
30
29
|
actionSidebar,
|
|
31
30
|
setIsTourOpen,
|
|
32
31
|
isTourOpen,
|
|
@@ -81,7 +80,7 @@ export const OrderDetailsHeader = (props) => {
|
|
|
81
80
|
<ButtonLink
|
|
82
81
|
color='black'
|
|
83
82
|
active={openMessage?.chat}
|
|
84
|
-
onClick={() =>
|
|
83
|
+
onClick={() => handleShowOption('chat')}
|
|
85
84
|
isDisabled={isTourOpen && currentTourStep === 1}
|
|
86
85
|
>
|
|
87
86
|
<ChatIcon />
|
|
@@ -107,7 +106,7 @@ export const OrderDetailsHeader = (props) => {
|
|
|
107
106
|
<ButtonLink
|
|
108
107
|
color='black'
|
|
109
108
|
active={openMessage?.history}
|
|
110
|
-
onClick={() =>
|
|
109
|
+
onClick={() => handleShowOption('history')}
|
|
111
110
|
isDisabled={isTourOpen && currentTourStep === 1}
|
|
112
111
|
>
|
|
113
112
|
<Diagram3 />
|
|
@@ -58,7 +58,7 @@ export const OrdersContentHeader = (props) => {
|
|
|
58
58
|
} else {
|
|
59
59
|
_filterApplied = filterValues?.groupTypes?.length || filterValues.businessIds.length > 0 || filterValues.cityIds.length > 0 ||
|
|
60
60
|
filterValues.deliveryEndDatetime !== null || filterValues.deliveryFromDatetime !== null || filterValues.deliveryTypes.length > 0 ||
|
|
61
|
-
filterValues.driverIds.length > 0 || filterValues.paymethodIds.length > 0 || filterValues.statuses.length > 0
|
|
61
|
+
filterValues.driverIds.length > 0 || filterValues.paymethodIds.length > 0 || filterValues.statuses.length > 0 || filterValues?.metafield?.length > 0
|
|
62
62
|
}
|
|
63
63
|
setFilterApplied(_filterApplied)
|
|
64
64
|
}, [filterValues])
|