diff --git a/app/main/views/index.py b/app/main/views/index.py index 1ca93b295..57d537796 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -81,6 +81,19 @@ def how_to_pay(): ) +@main.route('/pricing/billing-details') +def billing_details(): + if current_user.is_authenticated: + return render_template( + 'views/pricing/billing-details.html', + navigation_links=pricing_nav(), + ) + return render_template( + 'views/pricing/billing-details-signed-out.html', + navigation_links=pricing_nav(), + ) + + @main.route('/delivery-and-failure') @main.route('/features/messages-status') def delivery_and_failure(): diff --git a/app/main/views/sub_navigation_dictionaries.py b/app/main/views/sub_navigation_dictionaries.py index 1d30f6606..7d42937be 100644 --- a/app/main/views/sub_navigation_dictionaries.py +++ b/app/main/views/sub_navigation_dictionaries.py @@ -47,6 +47,10 @@ def pricing_nav(): "name": "How to pay", "link": "main.how_to_pay", }, + { + "name": "Billing details", + "link": "main.billing_details", + }, ] diff --git a/app/navigation.py b/app/navigation.py index 2ceda0b15..15939c553 100644 --- a/app/navigation.py +++ b/app/navigation.py @@ -59,6 +59,7 @@ class HeaderNavigation(Navigation): 'pricing': { 'pricing', 'how_to_pay', + 'billing_details', }, 'documentation': { 'documentation', diff --git a/app/templates/admin_template.html b/app/templates/admin_template.html index 55f3a96d3..480a9770e 100644 --- a/app/templates/admin_template.html +++ b/app/templates/admin_template.html @@ -225,6 +225,10 @@ { "href": url_for("main.how_to_pay"), "text": "How to pay" + }, + { + "href": url_for("main.billing_details"), + "text": "Billing details" } ] }, diff --git a/app/templates/views/pricing/billing-details-signed-out.html b/app/templates/views/pricing/billing-details-signed-out.html new file mode 100644 index 000000000..9bb6f4711 --- /dev/null +++ b/app/templates/views/pricing/billing-details-signed-out.html @@ -0,0 +1,26 @@ +{% extends "content_template.html" %} +{% from "components/page-header.html" import page_header %} + +{% block per_page_title %} + Billing details +{% endblock %} + +{% block content_column_content %} + + {{ page_header('Billing details') }} + +
+ Sign in to see our: +
+ ++ You can use this information to add the Cabinet Office as a supplier. Your organisation may need to do this before you can raise a purchase order. +
+ +{% endblock %} diff --git a/app/templates/views/pricing/billing-details.html b/app/templates/views/pricing/billing-details.html new file mode 100644 index 000000000..9ee53b27c --- /dev/null +++ b/app/templates/views/pricing/billing-details.html @@ -0,0 +1,128 @@ +{% extends "content_template.html" %} +{% from "components/page-header.html" import page_header %} + +{% from "components/copy-to-clipboard.html" import copy_to_clipboard %} + +{% block per_page_title %} + Billing details +{% endblock %} + +{% block content_column_content %} + + {{ page_header('Billing details') }} + ++ You can use the information on this page to add the Cabinet Office as a supplier. Your organisation may need to do this before you can raise a purchase order (PO). +
+ ++ Contact us if you need any other details. +
+ ++ Cabinet Office +
+ +
+ The White Chapel Building
+ 10 Whitechapel High Street
+ London
+ E1 8QS
+
+ National Westminster Bank PLC (part of RBS group)
+ Government Banking Services Branch
+ 2nd Floor
+ 280 Bishopsgate
+ London
+ EC2M 4RB
+
+ Cabinet Office +
+ +
+ SSCL – Accounts Receivable
+ PO Box 221
+ Thornton-Cleveleys
+ Blackpool
+ Lancashire
+ FY1 9JN
+