From d248d77b5fbffb283e7ec9658435f32ef113ad64 Mon Sep 17 00:00:00 2001 From: Caitlin Barnard <54268863+CaitBarnard@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:46:30 +0000 Subject: [PATCH] Select Cost Centre and Financial Year for Edit Payroll page (#537) Co-authored-by: Sam Dudley --- forecast/templates/forecast/edit/choose_cost_centre.html | 3 ++- forecast/views/edit_select_cost_centre.py | 4 ++++ front_end/src/Components/CostCentreList/index.jsx | 4 +++- payroll/templates/payroll/page/edit_payroll.html | 3 ++- payroll/urls.py | 8 +++++++- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/forecast/templates/forecast/edit/choose_cost_centre.html b/forecast/templates/forecast/edit/choose_cost_centre.html index ffb29e3e7..03b2fc139 100644 --- a/forecast/templates/forecast/edit/choose_cost_centre.html +++ b/forecast/templates/forecast/edit/choose_cost_centre.html @@ -8,7 +8,7 @@ {% breadcrumb "Choose cost centre" "choose_cost_centre" %} {% endblock %} -{% block title %}Edit Forecast - Choose Cost Centre{% endblock %} +{% block title %}Edit {{ view.get_page_header }} - Choose Cost Centre{% endblock %} {% block content %}

My cost centres

@@ -16,6 +16,7 @@

My cost centres

{% endblock %} {% block scripts %}