Merge pull request 'color-print-testing' (#242) from color-print-testing into main

Reviewed-on: Pozomind/pozo-retail-app#242
This commit is contained in:
karthikalakshmi 2026-03-05 15:05:12 +05:30
commit d3bacac672
2 changed files with 8 additions and 8 deletions

View File

@ -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) => {
/>
<span
style={{
display: 'inline-block', width: 16, height: 16, backgroundColor: tableHeaderFontColor,
display: 'inline-block', width: 16, height: 16, backgroundColor: tableHeaderFontColor || '#000000',
border: '1px solid #000', marginLeft: 6, verticalAlign: 'middle',
}}
/>
@ -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) => {
/>
<span
style={{
display: 'inline-block', width: 16, height: 16, backgroundColor: tableBodyFontColor,
display: 'inline-block', width: 16, height: 16, backgroundColor: tableBodyFontColor || '#000000',
border: '1px solid #000', marginLeft: 6, verticalAlign: 'middle',
}}
/>
@ -1774,10 +1774,10 @@ const SelectionComponent = forwardRef((props, ref) => {
<span style={{ margin: '0px 10px' }} className="handleAddBTN">
<Switch
checked={rowType === "even"}
checkedChildren="Even"
checked={rowType === "odd"}
unCheckedChildren="Odd"
onChange={(checked) => dispatch(changeRowType(checked ? "even" : "odd"))}
checkedChildren="Even"
onChange={(checked) => dispatch(changeRowType(checked ? "odd" :"even" ))}
/>
</span>
</div>

View File

@ -607,7 +607,7 @@ const Printstyle12 = ({
{!estimatePrintHeader && table2Data?.OrderType === 'E' ? (
''
) : (
<div className="PrintStyle12-firstDiv">
<div className="PrintStyle12-firstDiv" style={{...headerStyle}}>
<div style={{ display: 'flex', flexDirection: 'column' }}>
<hr
style={{