From 4609d1a208c9d9ddd37233affcec2d5309b6d523 Mon Sep 17 00:00:00 2001 From: Srinath Date: Thu, 5 Mar 2026 15:04:27 +0530 Subject: [PATCH 1/2] Add Static Color --- .../PrintMainPage/SelectionComponent.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Pages/BookingScreen/Components/PrintMainPage/SelectionComponent.jsx b/src/Pages/BookingScreen/Components/PrintMainPage/SelectionComponent.jsx index 6945e2b..6ef38e2 100644 --- a/src/Pages/BookingScreen/Components/PrintMainPage/SelectionComponent.jsx +++ b/src/Pages/BookingScreen/Components/PrintMainPage/SelectionComponent.jsx @@ -1725,7 +1725,7 @@ const SelectionComponent = forwardRef((props, ref) => { display: 'inline-block', width: 16, height: 16, - backgroundColor: tableHeaderColor, + backgroundColor: tableHeaderColor || '#ffffff', border: '1px solid #000', marginLeft: 6, verticalAlign: 'middle', @@ -1733,7 +1733,7 @@ const SelectionComponent = forwardRef((props, ref) => { /> @@ -1758,7 +1758,7 @@ const SelectionComponent = forwardRef((props, ref) => { display: 'inline-block', width: 16, height: 16, - backgroundColor: tableBodyColor, + backgroundColor: tableBodyColor || '#ffffff', border: '1px solid #000', marginLeft: 6, verticalAlign: 'middle', @@ -1766,7 +1766,7 @@ const SelectionComponent = forwardRef((props, ref) => { /> @@ -1774,10 +1774,10 @@ const SelectionComponent = forwardRef((props, ref) => { dispatch(changeRowType(checked ? "even" : "odd"))} + checkedChildren="Even" + onChange={(checked) => dispatch(changeRowType(checked ? "odd" :"even" ))} /> From 52e0fe705a80303ee17e4d2877dcb03c92a6a04b Mon Sep 17 00:00:00 2001 From: Srinath Date: Thu, 5 Mar 2026 15:05:25 +0530 Subject: [PATCH 2/2] Add Static Color --- .../PrintTemplates/ThermalPrinter/PrintStyle12.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pages/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle12.jsx b/src/Pages/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle12.jsx index b065b7e..1aea0b6 100644 --- a/src/Pages/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle12.jsx +++ b/src/Pages/BookingScreen/PrintTemplates/ThermalPrinter/PrintStyle12.jsx @@ -607,7 +607,7 @@ const Printstyle12 = ({ {!estimatePrintHeader && table2Data?.OrderType === 'E' ? ( '' ) : ( -
+