diff --git a/src/Pages/BookingScreen/Template/SalesCountComponent.jsx b/src/Pages/BookingScreen/Template/SalesCountComponent.jsx index c247949..2fa0f76 100644 --- a/src/Pages/BookingScreen/Template/SalesCountComponent.jsx +++ b/src/Pages/BookingScreen/Template/SalesCountComponent.jsx @@ -85,6 +85,13 @@ const SalesCountComponent = React.memo( type?.PreferredSubCatName?.toLowerCase() === 'take away' && type?.PreferredStatus === 'Y' ); + const preferenceshortcutkey = preferencedata?.[0]?.[ + 'SettingDtlDetails' + ]?.some( + (item) => + item.SettingIdName.toLowerCase() === 'shortcutkeys' && + item.SettingValue === 'Y' + ); const [messageType, setMessageType] = useState(null); @@ -1085,6 +1092,11 @@ const SalesCountComponent = React.memo( )} + {/* {preferenceshortcutkey && } */} + {preferenceshortcutkey && ( +
+ +
)}