aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2018-09-11 12:48:23 +0100
committerStruan Donald <struan@exo.org.uk>2018-10-01 07:57:22 +0100
commit8b9ff92dc8aa56d139a32d5a630fc13842e0e632 (patch)
tree10919c47bb8468bcfbcb9f5b01f783d6815cbb99
parentd66a953b31c3617ffa8c1af969fcc973732f231c (diff)
[Oxfordshire] display customer reference on report page
OCC uses the customer reference from extra to store the enquiry reference so use that on the report page rather than external_id.
-rw-r--r--templates/web/oxfordshire/report/_council_sent_info.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/web/oxfordshire/report/_council_sent_info.html b/templates/web/oxfordshire/report/_council_sent_info.html
index 5bc7949ff..4e534c517 100644
--- a/templates/web/oxfordshire/report/_council_sent_info.html
+++ b/templates/web/oxfordshire/report/_council_sent_info.html
@@ -1,11 +1,10 @@
[% IF problem.whensent || problem.can_display_external_id %]
<div class="council_info_box">
[% IF problem.can_display_external_id %]
+ [% reference = problem.get_extra_metadata('customer_reference') %]
<h3>
- [% IF problem.whensent %]
- Council ref:&nbsp;[% problem.external_id %]
- [% ELSE %]
- [% problem.external_body %] ref:&nbsp;[% problem.external_id %]
+ [% IF reference %]
+ [% problem.external_body %] Council ref:&nbsp;[% reference %]
[% END %]
</h3>
[% END %]