RSS Git Download  Clone
Raw Blame History
[%# META title = 'Summary' %]
[% # PROCESS dumper.tt dump = records %]
  <div class="container">
    <div class="row">
        <legend class="form-file-upload-heading">
            Summary
        </legend>
    </div>

    <div class="row">
        <div class="span12">
           <span class="pull-right">
                <a href="[% uri_for_section.dpw.home %]">&#171; return</a>
            </span>
             <table class="table table-bordered table-striped table-condensed">
                <tr>
                    <th>Date</th>
                    <th>Category</th>
                    <th>Detail</th>
                    <th>Retained</th>
                </tr>
                [% USE date(format = '%d/%m/%Y');
                    FOREACH entry IN records %]
                    <tr>
                        <td>[% date.format(entry.time) %]</td>
                        <td>[% entry.category | ucfirst %]</td>
                        <td>
                          <a href="[% uri_for_section.dpw.document %]/[% entry.id %]">
                          [% entry.description %]</a> [[% entry.comment %]]
                          <a href="[% uri_for_section.dpw.download %]/[% entry.category %]/[% entry.filename %]"
                             target="_blank"><i class="bi bi-file-pdf"></i>
                          </a>							
                    	</td>
                      <td>[% entry.retained.upper %]</td>
                 </tr>
                [% END %]
            </table>
        </div>
    </div>
  </div>