Skip to content

Commit

Permalink
Merge pull request #4327 from mikhailprivalov/dir_dirCreate
Browse files Browse the repository at this point in the history
fix print
  • Loading branch information
urchinpro authored Oct 2, 2024
2 parents d6a1415 + b7f44d1 commit 207d183
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion directions/forms/forms480.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,11 @@ def printForm():
if not doc_get_material:
doc_get_material = dir.doc.get_fio()
objs.append(Paragraph(f'19. Фамилия, инициалы врача: {doc_get_material} {space_symbol * 5} подпись _________', style))
objs.append(Paragraph(f'20. Дата направления: {strdate(dir.data_sozdaniya)}', style))
if dir.rmis_direction_date:
dir_create = strdate(dir.rmis_direction_date)
else:
dir_create = strdate(dir.data_sozdaniya)
objs.append(Paragraph(f'20. Дата направления: {dir_create}', style))

gistology_frame = Frame(0 * mm, 0 * mm, 210 * mm, 297 * mm, leftPadding=15 * mm, bottomPadding=16 * mm, rightPadding=7 * mm, topPadding=10 * mm, showBoundary=1)
gistology_inframe = KeepInFrame(210 * mm, 297 * mm, objs, hAlign='LEFT', vAlign='TOP', fakeWidth=False)
Expand Down

0 comments on commit 207d183

Please sign in to comment.