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" ))} /> 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' ? ( '' ) : ( -
+