Add one column in pdf export
This commit is contained in:
parent
292ef17be6
commit
817095cc3f
@ -86,7 +86,7 @@ def generate_range_dates(start_date: datetime, end_date: datetime, step_in_minut
|
||||
def generate_examination_schedule_pdf_file(title: str, nested_term_of_defences: List[List[TermOfDefence]],
|
||||
base_dir: Path) -> bytes:
|
||||
pagesize = (297 * mm, 210 * mm)
|
||||
headers = ["lp.", "Godzina", "Nazwa projektu", "Opiekun", "Zespol", "Komisja"]
|
||||
headers = ["lp.", "Godzina", "Nazwa projektu", "Opiekun", "Zespol", "Komisja", "Uwagi"]
|
||||
pdf_buffer = BytesIO()
|
||||
my_doc = SimpleDocTemplate(
|
||||
pdf_buffer,
|
||||
@ -150,7 +150,7 @@ def generate_examination_schedule_pdf_file(title: str, nested_term_of_defences:
|
||||
('BACKGROUND', (0, 0), (-1, 0), colors.HexColor("#A6F1A6")),
|
||||
('BACKGROUND', (0, 0), (1, -1), colors.HexColor("#A6F1A6"))
|
||||
],
|
||||
colWidths=[0.25 * inch, 0.7 * inch, 1.6 * inch, 1.5 * inch, 4 * inch, 3 * inch]
|
||||
colWidths=[0.25 * inch, 0.7 * inch, 1.6 * inch, 1.5 * inch, 2.5 * inch, 2.2 * inch, 2 * inch]
|
||||
)
|
||||
flowables.append(table)
|
||||
flowables.append(PageBreak())
|
||||
|
Loading…
Reference in New Issue
Block a user