Merge pull request '#205 Double Line issue in Print style 1' (#206) from Uomdisplayinprint into main

Reviewed-on: Pozomind/pozo-retail-app#206
This commit is contained in:
karthikalakshmi 2026-03-02 13:02:57 +05:30
commit b27a87d389
1 changed files with 4 additions and 17 deletions

View File

@ -752,10 +752,7 @@ const PrintStyle1 = ({
? GlobalItem && <td>{item?.ProdName}</td> ? GlobalItem && <td>{item?.ProdName}</td>
: Item == true && ( : Item == true && (
<td <td
style={{
display: 'flex',
flexDirection: 'column',
}}
> >
<div>{item?.ProdName}</div> <div>{item?.ProdName}</div>
{PackageDetails?.filter( {PackageDetails?.filter(
@ -794,7 +791,7 @@ const PrintStyle1 = ({
} (${to12Hour(item?.AvailableFrom)} - ${to12Hour(item?.AvailableTo)})`} } (${to12Hour(item?.AvailableFrom)} - ${to12Hour(item?.AvailableTo)})`}
&nbsp;{' '} &nbsp;{' '}
{item?.BrandName !== null {item?.BrandName !== null
? item?.BrandName ? <div>{item?.BrandName}</div>
: ''} : ''}
&nbsp; &nbsp;
{item?.ProductIdentifierDtls?.length > 0 {item?.ProductIdentifierDtls?.length > 0
@ -1031,10 +1028,6 @@ const PrintStyle1 = ({
? GlobalItem && <td>{item?.ProdName}</td> ? GlobalItem && <td>{item?.ProdName}</td>
: Item == true && ( : Item == true && (
<td <td
style={{
display: 'flex',
flexDirection: 'column',
}}
> >
<div>{item?.ProdName}</div> <div>{item?.ProdName}</div>
{UomPrint?.SettingValue === 'Y' && {UomPrint?.SettingValue === 'Y' &&
@ -3965,10 +3958,7 @@ const PrintStyle1 = ({
? GlobalItem && <td>{item?.ProdName}</td> ? GlobalItem && <td>{item?.ProdName}</td>
: Item == true && ( : Item == true && (
<td <td
style={{
display: 'flex',
flexDirection: 'column',
}}
> >
<div>{item?.ProdName}</div> <div>{item?.ProdName}</div>
{PackageDetails?.filter( {PackageDetails?.filter(
@ -4225,10 +4215,7 @@ const PrintStyle1 = ({
? GlobalItem && <td>{item?.ProdName}</td> ? GlobalItem && <td>{item?.ProdName}</td>
: Item == true && ( : Item == true && (
<td <td
style={{
display: 'flex',
flexDirection: 'column',
}}
> >
<div>{item?.ProdName}</div> <div>{item?.ProdName}</div>
{UomPrint?.SettingValue === 'Y' && {UomPrint?.SettingValue === 'Y' &&