RSS Git Download  Clone
Raw Blame History
  [% META title = 'Admin » Active Lab Tests' -%]
<!-- BEGIN [% template.name %] -->

    [% IF data.size %]
        <p class="header">Active Lab Tests</p>
        [% url = app_url _ '/resources/list_all_lab_tests' %]
        <table class="indent">
            <tr>
                <td class="borderless"></td>
                <th><a href="[% url %]?sort_by=field_label">Test Label</a></th>
                <th><a href="[% url %]?sort_by=test_name">Test Name</a></th>
                <th><a href="[% url %]?sort_by=test_type">Test Type</a></th>
                <th><a href="[% url %]?sort_by=lab_section.section_name">Lab Section</a></th>
            </tr>
            [% i = 0; WHILE ( test = data.next ) %]
                <tr>
                    <td align="right">[% i = i + 1; i %]</td>
                    <td>[% test.field_label %]</td>
                    <td>[% test.test_name %]</td>
                    <td>[% test.test_type %]</td>
                    <td>[% test.lab_section.section_name %]</td>
                </tr>
            [% END %]
        </table>
    [% ELSE %]
        <p class="warning">No lab tests configured</p>
    [% END %]
<!-- END [% template.name %] -->