feat: warehouse places accounting

This commit is contained in:
2025-05-07 09:53:17 +04:00
parent 36ddf7d6a7
commit 42ce73dd6a
20 changed files with 889 additions and 1 deletions

View File

@@ -63,3 +63,16 @@ class BasePdfCardGenerator:
topMargin=1,
bottomMargin=1
)
def _get_paragraph_style(self, font_size: int):
common_paragraph_style = {
"parent": self.styles['Normal'],
"fontName": "DejaVuSans",
"spaceAfter": 4,
"fontSize": font_size,
}
return ParagraphStyle(
'LargeCentered',
alignment=1,
**common_paragraph_style,
)