From c42c1cf16e947920b0855b808eefbe46fabf938e Mon Sep 17 00:00:00 2001 From: sergei kasianenko Date: Sun, 19 Jan 2025 00:46:30 +0800 Subject: [PATCH] =?UTF-8?q?=D0=B2=D0=BE=D0=B7=D1=80=D0=B0=D1=81=D1=82=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=82=D0=B8=D1=82=D1=83=D0=BB530?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- forms/forms106.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/forms/forms106.py b/forms/forms106.py index 959db62fa2..efac63a31f 100644 --- a/forms/forms106.py +++ b/forms/forms106.py @@ -1168,7 +1168,8 @@ def form_02(request_data): f"профиль коек {i['transfer_research_title']} палата N____
Дата и время перевода {i['date_transfer_value']} " f"время:{i['time_transfer_value']};
" ) - + age_patinet = direction_obj.client.individual.age_s(direction=direction_obj) + space_symbol = " " title_page = [ Indenter(left=0 * mm), Spacer(1, 2 * mm), @@ -1181,7 +1182,7 @@ def form_02(request_data): Spacer(1, 2 * mm), Paragraph(f"Фамилия, имя, отчество:  {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),