add Desciption
This commit is contained in:
parent
82bfccfe8b
commit
6439c0319d
|
|
@ -101,6 +101,9 @@ const PrintStyle10 = ({
|
||||||
const GlobalLogo = useSelector(GlobalprintLogo);
|
const GlobalLogo = useSelector(GlobalprintLogo);
|
||||||
const GlobalCredit = useSelector(GlobalprintCredit);
|
const GlobalCredit = useSelector(GlobalprintCredit);
|
||||||
const SettingData = useSelector(PreferenceData);
|
const SettingData = useSelector(PreferenceData);
|
||||||
|
const UomPrint = SettingData?.[0]?.SettingDtlDetails?.filter(
|
||||||
|
(i) => i.SettingIdName === 'PrintUom'
|
||||||
|
)?.[0];
|
||||||
const estimatePrintHeader =
|
const estimatePrintHeader =
|
||||||
SettingData?.[0]?.SettingDtlDetails?.find(
|
SettingData?.[0]?.SettingDtlDetails?.find(
|
||||||
(setting) =>
|
(setting) =>
|
||||||
|
|
@ -687,8 +690,8 @@ const PrintStyle10 = ({
|
||||||
textAlign: 'left',
|
textAlign: 'left',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{item?.ProdName}(
|
{item?.ProdName}
|
||||||
{item?.Size + item?.UomName})
|
{UomPrint?.SettingValue === 'Y' && `(${item?.Size + item?.UomName})`}
|
||||||
</td>
|
</td>
|
||||||
)
|
)
|
||||||
: Item && (
|
: Item && (
|
||||||
|
|
@ -735,13 +738,8 @@ const PrintStyle10 = ({
|
||||||
<div style={{ display: 'flex', flexDirection: 'column', gap: '5px' }}>
|
<div style={{ display: 'flex', flexDirection: 'column', gap: '5px' }}>
|
||||||
{/* Product size + brand */}
|
{/* Product size + brand */}
|
||||||
<div>
|
<div>
|
||||||
({item?.Size || '1'}{' '}
|
{UomPrint?.SettingValue === 'Y' && `(${item?.Size || '1'} ${item?.SinglePc === 'Y' ? 'PCS' : item?.Type !== 'C' ? item?.UomName : 'COMBO'})`}
|
||||||
{item?.SinglePc === 'Y'
|
{item?.BrandName && ` ${item?.BrandName}`}
|
||||||
? 'PCS'
|
|
||||||
: item?.Type !== 'C'
|
|
||||||
? item?.UomName
|
|
||||||
: 'COMBO'}
|
|
||||||
) {item?.BrandName || ''}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Product identifiers */}
|
{/* Product identifiers */}
|
||||||
|
|
@ -1019,8 +1017,8 @@ const PrintStyle10 = ({
|
||||||
textAlign: 'left',
|
textAlign: 'left',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{item?.ProdName}(
|
{item?.ProdName}
|
||||||
{item?.Size + item?.UomName})
|
{UomPrint?.SettingValue === 'Y' && `(${item?.Size + item?.UomName})`}
|
||||||
</td>
|
</td>
|
||||||
)
|
)
|
||||||
: Item && (
|
: Item && (
|
||||||
|
|
@ -1031,6 +1029,7 @@ const PrintStyle10 = ({
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div>{item?.ProdName}</div>
|
<div>{item?.ProdName}</div>
|
||||||
|
{UomPrint?.SettingValue === 'Y' && (
|
||||||
<div>
|
<div>
|
||||||
({item?.Size ? item?.Size : '1'}{' '}
|
({item?.Size ? item?.Size : '1'}{' '}
|
||||||
{item?.SinglePc == 'Y'
|
{item?.SinglePc == 'Y'
|
||||||
|
|
@ -1040,6 +1039,7 @@ const PrintStyle10 = ({
|
||||||
: 'COMBO'}
|
: 'COMBO'}
|
||||||
)
|
)
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</td>
|
</td>
|
||||||
)}
|
)}
|
||||||
{GlobaldummyData
|
{GlobaldummyData
|
||||||
|
|
@ -3258,7 +3258,8 @@ const PrintStyle10 = ({
|
||||||
<td
|
<td
|
||||||
style={{ width: '10px', textAlign: 'left' }}
|
style={{ width: '10px', textAlign: 'left' }}
|
||||||
>
|
>
|
||||||
{item?.ProdName}({item?.Size + item?.UomName})
|
{item?.ProdName}
|
||||||
|
{UomPrint?.SettingValue === 'Y' && `(${item?.Size + item?.UomName})`}
|
||||||
</td>
|
</td>
|
||||||
)
|
)
|
||||||
: Item && (
|
: Item && (
|
||||||
|
|
@ -3294,16 +3295,8 @@ const PrintStyle10 = ({
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div>
|
<div>
|
||||||
({item?.Size ? item?.Size : '1'}{' '}
|
{UomPrint?.SettingValue === 'Y' && `(${item?.Size ? item?.Size : '1'} ${item?.SinglePc == 'Y' ? 'PCS' : item?.Type != 'C' ? item?.UomName : 'COMBO'})`}
|
||||||
{item?.SinglePc == 'Y'
|
{item?.BrandName && ` ${item?.BrandName}`}
|
||||||
? 'PCS'
|
|
||||||
: item?.Type != 'C'
|
|
||||||
? item?.UomName
|
|
||||||
: 'COMBO'}
|
|
||||||
)
|
|
||||||
{item?.BrandName !== null
|
|
||||||
? item?.BrandName
|
|
||||||
: ''}
|
|
||||||
|
|
||||||
{/* {item?.ProductIdentifierDtls?.length > 0
|
{/* {item?.ProductIdentifierDtls?.length > 0
|
||||||
? item?.ProductIdentifierDtls?.filter(
|
? item?.ProductIdentifierDtls?.filter(
|
||||||
|
|
@ -3569,7 +3562,8 @@ const PrintStyle10 = ({
|
||||||
<td
|
<td
|
||||||
style={{ width: '10px', textAlign: 'left' }}
|
style={{ width: '10px', textAlign: 'left' }}
|
||||||
>
|
>
|
||||||
{item?.ProdName}({item?.Size + item?.UomName})
|
{item?.ProdName}
|
||||||
|
{UomPrint?.SettingValue === 'Y' && `(${item?.Size + item?.UomName})`}
|
||||||
</td>
|
</td>
|
||||||
)
|
)
|
||||||
: Item && (
|
: Item && (
|
||||||
|
|
@ -3580,6 +3574,7 @@ const PrintStyle10 = ({
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div>{item?.ProdName}</div>
|
<div>{item?.ProdName}</div>
|
||||||
|
{UomPrint?.SettingValue === 'Y' && (
|
||||||
<div>
|
<div>
|
||||||
({item?.Size ? item?.Size : '1'}{' '}
|
({item?.Size ? item?.Size : '1'}{' '}
|
||||||
{item?.SinglePc == 'Y'
|
{item?.SinglePc == 'Y'
|
||||||
|
|
@ -3589,6 +3584,7 @@ const PrintStyle10 = ({
|
||||||
: 'COMBO'}
|
: 'COMBO'}
|
||||||
)
|
)
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
</td>
|
</td>
|
||||||
)}
|
)}
|
||||||
{GlobaldummyData
|
{GlobaldummyData
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue