View | Details | Raw Unified | Return to bug 35300
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice-files.tt (-29 / +30 lines)
Lines 51-84 Link Here
51
        </div>
51
        </div>
52
      [% END %]
52
      [% END %]
53
      [% IF files %]
53
      [% IF files %]
54
          <table id="invoice_files_details_table">
54
          <div class="page-section">
55
              <thead>
55
              <table id="invoice_files_details_table">
56
                  <tr>
56
                  <thead>
57
                      <th>Name</th>
57
                      <tr>
58
                      <th>Type</th>
58
                          <th>Name</th>
59
                      <th>Description</th>
59
                          <th>Type</th>
60
                      <th>Uploaded</th>
60
                          <th>Description</th>
61
                      <th>Bytes</th>
61
                          <th>Uploaded</th>
62
                      <th>&nbsp;</th>
62
                          <th>Bytes</th>
63
                      <th>&nbsp;</th>
63
                          <th>&nbsp;</th>
64
                  </tr>
64
                          <th>&nbsp;</th>
65
              </thead>
65
                      </tr>
66
              <tbody>
66
                  </thead>
67
                [% FOREACH f IN files %]
67
                  <tbody>
68
                  <tr>
68
                    [% FOREACH f IN files %]
69
                      <td><a href="?invoiceid=[% invoiceid | uri %]&amp;op=download&amp;view=1&amp;file_id=[% f.file_id | uri %]">[% f.file_name | html %]</a></td>
69
                      <tr>
70
                      <td>[% f.file_type | html %]</td>
70
                          <td><a href="?invoiceid=[% invoiceid | uri %]&amp;op=download&amp;view=1&amp;file_id=[% f.file_id | uri %]">[% f.file_name | html %]</a></td>
71
                      <td>[% f.file_description | html %]</td>
71
                          <td>[% f.file_type | html %]</td>
72
                      <td data-order="[% f.date_uploaded | html %]">
72
                          <td>[% f.file_description | html %]</td>
73
                        [% f.date_uploaded | $KohaDates %]
73
                          <td data-order="[% f.date_uploaded | html %]">
74
                      </td>
74
                            [% f.date_uploaded | $KohaDates %]
75
                      <td>[% f.file_size | html %]</td>
75
                          </td>
76
                      <td><a class="delete_file" href="?invoiceid=[% invoiceid | html %]&amp;op=delete&amp;file_id=[% f.file_id | html %]">Delete</a></td>
76
                          <td>[% f.file_size | html %]</td>
77
                      <td><a href="?invoiceid=[% invoiceid | uri %]&amp;op=download&amp;file_id=[% f.file_id | uri %]">Download</a></td>
77
                          <td><a class="delete_file" href="?invoiceid=[% invoiceid | html %]&amp;op=delete&amp;file_id=[% f.file_id | html %]">Delete</a></td>
78
                  </tr>
78
                          <td><a href="?invoiceid=[% invoiceid | uri %]&amp;op=download&amp;file_id=[% f.file_id | uri %]">Download</a></td>
79
                [% END %]
79
                      </tr>
80
              </tbody>
80
                    [% END %]
81
          </table>
81
                  </tbody>
82
              </table>
83
            </div>
82
      [% ELSE %]
84
      [% ELSE %]
83
          <div class="dialog message">
85
          <div class="dialog message">
84
              <p>This invoice has no files attached.</p>
86
              <p>This invoice has no files attached.</p>
85
- 

Return to bug 35300