Skip to content

Commit

Permalink
Merge pull request #527 from oakdbca/main
Browse files Browse the repository at this point in the history
OCR Bulk Importer + some CS Changes
  • Loading branch information
xzzy authored Oct 16, 2024
2 parents a44dfcd + 9a81e2d commit 030c9f0
Show file tree
Hide file tree
Showing 81 changed files with 5,007 additions and 2,981 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ DATABASE_URL="postgis://test:my_passwd@localhost:5432/boranga_dev"
LEDGER_DATABASE_URL='postgis://test:my_passwd@localhost:5432/boranga_dev'
LEDGER_API_URL="http://localhost:8000"
LEDGER_API_KEY="ledger_api_key__from__ledger_api_admin"
SYSTEM_GROUPS=['Boranga Admin']
SITE_PREFIX='boranga-dev'
SITE_DOMAIN='dbca.wa.gov.au'
SECRET_KEY='SECRET_KEY_YO'
Expand All @@ -94,7 +93,6 @@ DJANGO_HTTPS=True
DEFAULT_FROM_EMAIL='[email protected]'
ALLOWED_HOSTS=['*']
DEV_APP_BUILD_URL="http://localhost:8080/app.js"
CONSOLE_EMAIL_BACKEND=True
```

Expand Down
10 changes: 8 additions & 2 deletions boranga/components/conservation_status/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,12 +470,18 @@ def send_approver_approve_email_notification(request, conservation_status):
return msg


def send_assessor_ready_for_agenda_email_notification(request, conservation_status):
def send_assessor_ready_for_agenda_email_notification(
request, conservation_status, assessor_comment
):
"""Recipient: Always internal users"""

email = AssessorReadyForAgendaSendNotificationEmail()
url = request.build_absolute_uri(reverse("internal-meeting-dashboard", kwargs={}))
context = {"cs_proposal": conservation_status, "url": url}
context = {
"cs_proposal": conservation_status,
"url": url,
"assessor_comment": assessor_comment,
}

msg = email.send(conservation_status.assessor_recipients, context=context)

Expand Down
Loading

0 comments on commit 030c9f0

Please sign in to comment.