diff --git a/app/main/views/organisations.py b/app/main/views/organisations.py index fd480b9e8..7b656bbfa 100644 --- a/app/main/views/organisations.py +++ b/app/main/views/organisations.py @@ -143,6 +143,7 @@ def organisation_dashboard(org_id): end=current_financial_year + 1, ), selected_year=year, + search_form=SearchByNameForm() if len(services) > 7 else None, **{ f'total_{key}': sum(service[key] for service in services) for key in ('emails_sent', 'sms_cost', 'letter_cost') diff --git a/app/templates/views/organisations/organisation/index.html b/app/templates/views/organisations/organisation/index.html index 186a431d7..fe0e57c85 100644 --- a/app/templates/views/organisations/organisation/index.html +++ b/app/templates/views/organisations/organisation/index.html @@ -1,4 +1,5 @@ {% from "components/big-number.html" import big_number %} +{% from "components/live-search.html" import live_search %} {% from "components/pill.html" import pill %} {% extends "org_template.html" %} @@ -12,46 +13,63 @@ Usage -