From ad0275307d59727f62ed1a1aab4e88706918f268 Mon Sep 17 00:00:00 2001 From: Sergei Kasianenko <41939763+urchinpro@users.noreply.github.com> Date: Mon, 16 Oct 2023 03:18:01 +0000 Subject: [PATCH 1/2] Update results/laboratory_form.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- results/laboratory_form.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/results/laboratory_form.py b/results/laboratory_form.py index fcaad53a36..5b40b63422 100644 --- a/results/laboratory_form.py +++ b/results/laboratory_form.py @@ -768,7 +768,8 @@ def lab_form_1(fwb, interactive_text_field, pw, direction, styleSheet, directory Paragraph( "* Референсные значения приводятся с учетом возраста, пола, фазы менструального цикла, срока беременности. " "Результаты исследований не являются диагнозом, необходима консультация специалиста.", - styleLeftFont7), + styleLeftFont7, + ), Paragraph("", styleLeftFont7), ] From cc376759b188f430d5b408d505c77bc7ac2214b7 Mon Sep 17 00:00:00 2001 From: Sergei Kasianenko <41939763+urchinpro@users.noreply.github.com> Date: Mon, 16 Oct 2023 03:18:09 +0000 Subject: [PATCH 2/2] Update results/prepare_data.py Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- results/prepare_data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/results/prepare_data.py b/results/prepare_data.py index 3a4512d52e..3492bb553b 100644 --- a/results/prepare_data.py +++ b/results/prepare_data.py @@ -325,6 +325,7 @@ def format_time_if_is_not_none_to_str(data_t): return "" return data_t.strftime("%d.%m.%Y %H:%M") + def gen_hospital_stamp(direction): pdfmetrics.registerFont(TTFont('PTAstraSerifBold', os.path.join(FONTS_FOLDER, 'PTAstraSerif-Bold.ttf'))) pdfmetrics.registerFont(TTFont('PTAstraSerifReg', os.path.join(FONTS_FOLDER, 'PTAstraSerif-Regular.ttf')))