Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
urchinpro committed Oct 24, 2023
1 parent 4314154 commit cfad1de
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions directions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1040,19 +1040,3 @@ def px(x=0.0):
def pxr(x=0.0):
x *= mm
return w - x


@csrf_exempt
@login_required
def create_direction(card, financing_source, hospital):
direction = Napravleniya.objects.create(
client=card,
is_external=True,
istochnik_f=financing_source,
polis_who_give=card.polis.who_give if card.polis else None,
polis_n=card.polis.number if card.polis else None,
hospital=hospital,
)
return direction


0 comments on commit cfad1de

Please sign in to comment.