Skip to content

Commit

Permalink
fixed issue with doc_price variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
v-anne committed Sep 30, 2024
1 parent c213268 commit b823d22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cl/search/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,17 +593,19 @@ def handle_recap_doc_change(
txt_template = loader.get_template("prayer_email.txt")
html_template = loader.get_template("prayer_email.html")

case_name = instance.docket_entry.docket.case_name
court = instance.docket_entry.docket.court
document = instance.get_absolute_url()
num_waiting = len(email_recipients)
price = price(instance)
doc_price = price(instance)

messages = []
for email_recipient in email_recipients:

context = {
"document": document,
"num_waiting": num_waiting,
"price": price,
"price": doc_price,
"date_created": email_recipient["date_created"],
}

Expand Down

0 comments on commit b823d22

Please sign in to comment.