Skip to content

Commit

Permalink
fix date in xlsx
Browse files Browse the repository at this point in the history
  • Loading branch information
urchinpro committed Sep 27, 2023
1 parent 5188f4e commit 07e1bd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/directions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4443,6 +4443,8 @@ def patient_open_case(request):
for o_case in open_case:
data_case[o_case.iss_id] = ""
child_direction = tree_direction(o_case.iss_id)
for child in child_direction:
print(child)

data = {"data": ""}
return JsonResponse(data)
2 changes: 1 addition & 1 deletion api/parse_file/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def gen_commercial_offer(request):
born_data = cells[born].split(" ")[0]
age = -1
if born_data != "None":
age = age_for_year(born_data)
age = age_for_year(normalize_dots_date(born_data))
if "м" in cells[sex]:
adds_harmfull = CONTROL_AGE_MEDEXAM.get("м")
else:
Expand Down

0 comments on commit 07e1bd5

Please sign in to comment.