2012-05-17 13:22:24 +12:00
|
|
|
<!doctype html>
|
2012-04-04 13:46:04 +12:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
2012-04-03 16:56:43 +12:00
|
|
|
<head>
|
2012-04-05 18:15:44 +12:00
|
|
|
<% if $Title %><title>$Title</title><% end_if %>
|
2012-04-03 16:56:43 +12:00
|
|
|
</head>
|
2012-04-05 18:15:44 +12:00
|
|
|
<body onload="window.print();">
|
2012-04-04 14:06:47 +12:00
|
|
|
<% if $Title %><h3>$Title</h3><% end_if %>
|
2012-04-03 16:56:43 +12:00
|
|
|
<table>
|
|
|
|
<thead>
|
2013-07-13 13:00:46 +02:00
|
|
|
<tr><% loop $Header %><th>$CellString</th><% end_loop %></tr>
|
2012-04-03 16:56:43 +12:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2013-07-13 13:00:46 +02:00
|
|
|
<% if $ItemRows %>
|
|
|
|
<% loop $ItemRows %>
|
|
|
|
<tr><% loop $ItemRow %><td>$CellString</td><% end_loop %></tr>
|
2012-05-11 13:49:20 +12:00
|
|
|
<% end_loop %>
|
2013-03-05 10:25:19 +13:00
|
|
|
<% else %>
|
|
|
|
<tr>
|
2015-07-22 13:51:34 +01:00
|
|
|
<td colspan="$Header.Count"><p><%t GridField.NoItemsFound 'No items found' %></p></td>
|
2013-03-05 10:25:19 +13:00
|
|
|
</tr>
|
|
|
|
<% end_if %>
|
2012-04-03 16:56:43 +12:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2012-04-04 14:06:47 +12:00
|
|
|
<p>
|
2015-07-22 13:51:34 +01:00
|
|
|
<%t GridField.PRINTEDAT 'Printed at' %> $Datetime.Time, $Datetime.Date
|
2012-04-04 14:06:47 +12:00
|
|
|
<br />
|
2015-07-22 13:51:34 +01:00
|
|
|
<%t GridField.PRINTEDBY 'Printed by' %> $Member.Name
|
2012-04-04 14:06:47 +12:00
|
|
|
</p>
|
2012-04-03 16:56:43 +12:00
|
|
|
</body>
|
2012-04-05 18:15:44 +12:00
|
|
|
|
2012-05-11 13:49:20 +12:00
|
|
|
</html>
|