From 459cc3b53faf0f261251c7aa625c15b4a7fa4cc7 Mon Sep 17 00:00:00 2001 From: Srinath Date: Mon, 9 Feb 2026 14:08:53 +0530 Subject: [PATCH] Added short key component --- .../BookingScreen/Template/SalesCountComponent.jsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 && ( +
+ +
)}