Presenter: Neue Struktur in Belegen umgesetzt
[kivitendo-erp.git] / templates / webpages / gl / form_header.html
index c6d7242..e8b7b5a 100644 (file)
   <li><a href="#ui-tabs-basic-data">[% 'Basic Data' | $T8 %]</a></li>
 [%- IF INSTANCE_CONF.get_webdav %]
   <li><a href="#ui-tabs-webdav">[% 'WebDAV' | $T8 %]</a></li>
+[%- END %]
+[%- IF id %]
+[%- IF INSTANCE_CONF.get_doc_storage %]
+  <li><a href="controller.pl?action=File/list&file_type=document&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Documents' | $T8 %]</a></li>
+  <li><a href="controller.pl?action=File/list&file_type=attachment&object_type=gl_transaction&object_id=[% HTML.url(id) %]">[% 'Attachments' | $T8 %]</a></li>
+[%- END %]
 [%- END %]
  </ul>
  <div id="ui-tabs-basic-data">
@@ -60,7 +66,7 @@
           <td align=left>
             <table>
               <tr>
-                <th align=right width=50% nowrap>[% 'Date' | $T8 %]</th>
+                <th align=right width=50% nowrap>[% 'Transdate' | $T8 %]</th>
                 <td>[% L.date_tag('transdate', transdate, readonly=readonly) %]</td>
               </tr>
             </table>
         </tr>
 [%- IF id %]
         <tr>
-          <th align=right>[% 'Belegnummer' | $T8 %]</th>
+          <th align=right>[% 'ID' | $T8 %]</th>
           <td>[% L.input_tag('id', id,  size=20, readonly=readonly) %]</td>
           <td align=left>
           <table>
               <tr>
-                <th align=right width=50%>[% 'Buchungsdatum' | $T8 %]</th>
+                <th align=right width=50%>[% 'Gldate' | $T8 %]</th>
                 <td align=left>[% L.date_tag('gldate', gldate, readonly=1) %]</td>
               </tr>
             </table>