Merge branch 'samandar' into 'dev'

print

See merge request azizziy/cpost!40
This commit is contained in:
Azizbek Usmonov
2025-06-30 10:03:02 +05:00

View File

@@ -43,13 +43,13 @@ const BoxesPrint = forwardRef<HTMLDivElement, BoxesPrintProps>(({ boxData, key }
sx={{
display: 'flex',
flexDirection: 'column',
width: '100mm',
height: '100mm',
margin: '0 auto',
width: '10sm',
height: '10sm',
margin: '0',
fontSize: '9px',
'@media print': {
width: '100mm',
height: '100mm',
width: '10sm',
height: '10sm',
},
}}
key={key}
@@ -62,7 +62,7 @@ const BoxesPrint = forwardRef<HTMLDivElement, BoxesPrintProps>(({ boxData, key }
padding: '4px',
display: 'flex',
// flexDirection: 'column',
gap: '12px',
gap: '8px',
}}
>
<Image alt='logo' src={Logo} width={55} height={55} priority unoptimized />
@@ -74,14 +74,14 @@ const BoxesPrint = forwardRef<HTMLDivElement, BoxesPrintProps>(({ boxData, key }
gap: '4px',
}}
>
<Typography sx={{ color: 'black', fontSize: '10px' }}>CPOST EXPRESS CARGO</Typography>
<Typography sx={{ color: 'black', fontSize: '10px' }}>
<Typography sx={{ color: 'black', fontSize: '8px' }}>CPOST EXPRESS CARGO</Typography>
<Typography sx={{ color: 'black', fontSize: '8px' }}>
Reys: {boxData?.partyName}-{boxData?.client_id}
</Typography>
<Typography sx={{ color: 'black', fontSize: '10px' }}>TEL: +(998) 90 113 44 77</Typography>
<Typography sx={{ color: 'black', fontSize: '8px' }}>TEL: +(998) 90 113 44 77</Typography>
</Box>
</Box>
<Box sx={{ display: 'flex', gap: '10px', marginTop: '5px', marginRight: '5px' }}>
<Box sx={{ display: 'flex', gap: '8px', marginTop: '5px', marginRight: '5px' }}>
<Image alt='telegram' src={TelegramChanel} width={50} height={50} priority unoptimized />
<Image alt='instagram' src={InstagramChanel} width={50} height={50} priority unoptimized />
</Box>
@@ -110,7 +110,7 @@ const BoxesPrint = forwardRef<HTMLDivElement, BoxesPrintProps>(({ boxData, key }
}}
key={index}
>
<Typography sx={{ fontSize: '12px' }}>{list.trekId}</Typography>
<Typography sx={{ fontSize: '10px' }}>{list.trekId}</Typography>
</Box>
))}
</Box>