Skip to content

Commit

Permalink
возраст на титул530
Browse files Browse the repository at this point in the history
  • Loading branch information
urchinpro committed Jan 18, 2025
1 parent babda40 commit c42c1cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions forms/forms106.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,8 @@ def form_02(request_data):
f"профиль коек <u>{i['transfer_research_title']}</u> палата N____<br/>Дата и время перевода {i['date_transfer_value']} "
f"время:{i['time_transfer_value']};<br/>"
)

age_patinet = direction_obj.client.individual.age_s(direction=direction_obj)
space_symbol = "&nbsp;"
title_page = [
Indenter(left=0 * mm),
Spacer(1, 2 * mm),
Expand All @@ -1181,7 +1182,7 @@ def form_02(request_data):
Spacer(1, 2 * mm),
Paragraph(f"Фамилия, имя, отчество:&nbsp; {patient_data['fio']}", style),
Spacer(1, 0.2 * mm),
Paragraph(f"Дата рождения: {patient_data['born']} Пол: {patient_data['sex']}", style),
Paragraph(f"Дата рождения: {patient_data['born']} ({age_patinet}) {space_symbol * 20} Пол: {patient_data['sex']}", style),
Spacer(1, 0.5 * mm),
Paragraph("Поступил в: стационар - 1", style),
Spacer(1, 0.5 * mm),
Expand Down

0 comments on commit c42c1cf

Please sign in to comment.