mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 11:23:48 -05:00
Merge pull request #4101 from alphagov/billing-content
Fix billing page to show correct user who signed MOU
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
and financial agreement on {{ current_org.agreement_signed_at | format_date_normal }}.
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
{{ current_org.agreement_signed_by.name or current_org.agreement_signed_on_behalf_of_name }} signed the agreement
|
||||
{{ current_org.agreement_signed_on_behalf_of_name or current_org.agreement_signed_by.name }} signed the agreement
|
||||
on behalf of {{ current_org.name}}.
|
||||
</p>
|
||||
<p class="govuk-body">
|
||||
|
||||
@@ -1600,6 +1600,7 @@ def test_organisation_billing_page_not_accessible_if_not_platform_admin(
|
||||
@pytest.mark.parametrize('signed_by_id, signed_by_name, expected_signatory', [
|
||||
('1234', None, 'Test User'),
|
||||
(None, 'The Org Manager', 'The Org Manager'),
|
||||
('1234', 'The Org Manager', 'The Org Manager'),
|
||||
])
|
||||
def test_organisation_billing_page_when_the_agreement_is_signed_by_a_known_person(
|
||||
organisation_one,
|
||||
|
||||
Reference in New Issue
Block a user