Skip to content

Commit

Permalink
Reversed an on-the-fly fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Romulus10 committed Mar 6, 2022
1 parent 08677de commit 7e3bc64
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main/formulary_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ def formulary_home_view(request):
if check_admin_permission(request.user):
campaign = Campaign.objects.get(name=request.session["campaign"])
formulary = campaign.inventory.entries.all().order_by("medication")
for item in formulary:
item.amount = item.count * item.quantity
item.save()
return_response = render(
request,
"formulary/home.html",
Expand Down

0 comments on commit 7e3bc64

Please sign in to comment.