feat: warehouse places accounting
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user