From e84de5a95f429415f75ead8363c1ab5c46b997c2 Mon Sep 17 00:00:00 2001 From: Srinath Date: Mon, 9 Feb 2026 17:37:35 +0530 Subject: [PATCH] AddedCtrl + B Packing Ctrl + Y Weight / Amount shortcut key funtionalies --- .../ComboSalesBillTable/ComboSalesBillTable.jsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Pages/BookingScreen/Components/BSBillingTables/ComboSalesBillTable/ComboSalesBillTable.jsx b/src/Pages/BookingScreen/Components/BSBillingTables/ComboSalesBillTable/ComboSalesBillTable.jsx index e7530b9..5fd5dd8 100644 --- a/src/Pages/BookingScreen/Components/BSBillingTables/ComboSalesBillTable/ComboSalesBillTable.jsx +++ b/src/Pages/BookingScreen/Components/BSBillingTables/ComboSalesBillTable/ComboSalesBillTable.jsx @@ -285,15 +285,20 @@ const ComboSalesBillTable = () => { // 👉 CTRL shortcuts if (!event.ctrlKey) return; - if (key === 'q') { + if (key === 'q') { event.preventDefault(); handleShortcut('qty'); - } - - if (key === 'e') { + } else if (key === 'e') { event.preventDefault(); handleShortcut('price'); + } else if (key === 'y') { + event.preventDefault(); + handleShortcut('Parcel'); + } else if (key === 'b') { + event.preventDefault(); + handleShortcut('weightAmount'); } + }; window.addEventListener('keydown', handleKeyDown);