<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<title></title>
<style type="text/css">
<!--/* <![CDATA[ */
table { border-collapse: collapse; margin-left: 1em; }
thead tr { background-color: ActiveCaption; color: CaptionText; }
th, td { vertical-align: top; font-size: 8pt; padding: 3px;
font-family: "Tahoma", Arial, Helvetica, sans-serif; }
td { border: 1px solid #c0c0c0; } /* silver */
thead .col2 { width: 200px; }
h3 { border-bottom: dotted 1px #000 }
/* ]]> */-->
</style>
</head>
[% USE Dumper %]
<body>
<h3>Requests awaiting final diagnosis [[% data.size %]]</h3>
<table>
<thead>
<tr>
<td></td>
<th>hmds ref</th>
<th>authorised</th>
</tr>
</thead>
[% FOREACH ref IN data; # '<pre>'; Dumper.dump(ref); '</pre>' %]
<tr>
<td>[% loop.count %]</td>
<td>[% ref.hmds_ref %]</td>
<td>[% ref.auth_date %]</td>
</tr>
[% END %]
</table>
</body>
</html>