From d34c7a81747c54cd5f6278c71ef41f1654d8155a Mon Sep 17 00:00:00 2001 From: Alan Cruikshanks Date: Mon, 8 Jan 2024 14:12:05 +0000 Subject: [PATCH 1/2] Fix links in view bill run page https://eaflood.atlassian.net/browse/WATER-4223 Somehow we've mucked up the links in the view bill run page, for example, we've clearly copy & pasted a link we generate for the cancel button and used it for the download bill run button. This change fixes the issues. From ca7e84614b4aa0b62a11269d408a2fccbf8ef115 Mon Sep 17 00:00:00 2001 From: Alan Cruikshanks Date: Mon, 8 Jan 2024 14:16:40 +0000 Subject: [PATCH 2/2] Fix download button link --- app/views/bill-runs/view.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/bill-runs/view.njk b/app/views/bill-runs/view.njk index 58468188b0..e85fe68c0e 100644 --- a/app/views/bill-runs/view.njk +++ b/app/views/bill-runs/view.njk @@ -145,7 +145,7 @@ govukButton({ classes: "govuk-button--secondary", text: "Download this bill run", - href: cancelBillRunLink + href: downloadBillRunLink }) }}