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

View File

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