@@ -53,92 +53,29 @@ <h1 class="nhsuk-heading-l">Awaiting approval</h1>
5353 </ tr >
5454 </ thead >
5555 < tbody class ="nhsuk-table__body ">
56- < tr role ="row " class ="nhsuk-table__row ">
57- < td role ="cell " class ="nhsuk-table__cell ">
58- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/organisation-request "> Addlestone Pharmacy</ a >
59- </ td >
60- < td role ="cell " class ="nhsuk-table__cell ">
61- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> ODS code </ span > FAE02S
62- </ td >
63- < td role ="cell " class ="nhsuk-table__cell ">
64- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Type</ span > NHS Trust
65- </ td >
66- < td role ="cell " class ="nhsuk-table__cell ">
67- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Date requested</ span > 4 April 2025
56+
57+ {% for organisation in organisations | sort(true, true, "appliedOn") %}
58+ < tr role ="row " class ="nhsuk-table__row ">
59+ < td role ="cell " class ="nhsuk-table__cell ">
60+ < a href ="/regions/review/{{ organisation.id }} "> {{ organisation.name }}</ a >
6861 </ td >
6962 < td role ="cell " class ="nhsuk-table__cell ">
70- < span class =" nhsuk-table-responsive__heading " aria-hidden =" true " > Organisation </ span > < a href =" /regions/accept " > Approve </ a >
63+ {{ organisation.id }}
7164 </ td >
7265 < td role ="cell " class ="nhsuk-table__cell ">
73- < span class =" nhsuk-table-responsive__heading " aria-hidden =" true " > Organisation </ span > < a href =" /regions/reject " > Reject </ a >
66+ {{ organisation.type }}
7467 </ td >
75-
76- </ tr >
77- </ thead >
78- < tbody class ="nhsuk-table__body ">
79- < tr role ="row " class ="nhsuk-table__row ">
80- < td role ="cell " class ="nhsuk-table__cell ">
81- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/organisation-request "> Leeds Teaching Hospitals </ a >
82- </ td >
83- < td role ="cell " class ="nhsuk-table__cell ">
84- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> ODS code </ span > RR8
85- </ td >
86- < td role ="cell " class ="nhsuk-table__cell ">
87- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Type</ span > NHS Trust
88- </ td >
89- < td role ="cell " class ="nhsuk-table__cell ">
90- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Date requested</ span > 3 April 2025
91- </ td >
92- < td role ="cell " class ="nhsuk-table__cell ">
93- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/accept "> Approve</ a >
94- </ td >
95- < td role ="cell " class ="nhsuk-table__cell ">
96- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/reject "> Reject</ a >
97- </ td >
98-
99-
100-
101- </ tr >
102- < tr role ="row " class ="nhsuk-table__row ">
103- < td role ="cell " class ="nhsuk-table__cell ">
104- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/organisation-request/{{ organisation.id }} "> Apex Prime Care</ a >
105- </ td >
106- < td role ="cell " class ="nhsuk-table__cell ">
107- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> ODS code</ span > VN0J3
108- </ td >
109- < td role ="cell " class ="nhsuk-table__cell ">
110- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Type</ span > NHS Trust
111- </ td >
112- < td role ="cell " class ="nhsuk-table__cell ">
113- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Date requested</ span > 1 April 2025
114- </ td >
115- < td role ="cell " class ="nhsuk-table__cell ">
116- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/accept "> Approve</ a >
117- </ td >
118- < td role ="cell " class ="nhsuk-table__cell ">
119- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/reject "> Reject</ a >
120- </ td >
121- </ tr >
122- < tr role ="row " class ="nhsuk-table__row ">
123- < td role ="cell " class ="nhsuk-table__cell ">
124- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/organisations/{{ organisation.id }} "> Oxford Road Pharmacy</ a >
125- </ td >
126- < td role ="cell " class ="nhsuk-table__cell ">
127- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> ODS code</ span > PP34
128- </ td >
129- < td role ="cell " class ="nhsuk-table__cell ">
130- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Type</ span > Community Pharmacy
131- </ td >
132- < td role ="cell " class ="nhsuk-table__cell ">
133- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Date requested</ span > 28 March 2025
134- </ td >
135- < td role ="cell " class ="nhsuk-table__cell ">
136- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/accept "> Approve</ a >
137- </ td >
138- < td role ="cell " class ="nhsuk-table__cell ">
139- < span class ="nhsuk-table-responsive__heading " aria-hidden ="true "> Organisation </ span > < a href ="/regions/reject "> Reject</ a >
140- </ td >
141-
68+ < td role ="cell " class ="nhsuk-table__cell ">
69+ {{ organisation.appliedOn | govukDate }}
70+ </ td >
71+ < td role ="cell " class ="nhsuk-table__cell ">
72+ < a href ="/regions/accept/{{ organisation.id }} "> Approve</ a >
73+ </ td >
74+ < td role ="cell " class ="nhsuk-table__cell ">
75+ < a href ="/regions/reject/{{ organisation.id }} "> Reject</ a >
76+ </ td >
77+ </ tr >
78+ {% endfor %}
14279 </ tbody >
14380 </ table >
14481
0 commit comments