]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/is/form_header.html
Verkaufsrechnung bearbeiten - ALL_DEPARTMENTS wie andere Belegemasken
[mfinanz.git] / templates / webpages / is / form_header.html
index ff9353a4228ccb88b5da89ff8b1a5c7069982484..28f3f4da43c933d7ac251e8da2fa6c9d1bc9e0a8 100644 (file)
@@ -38,7 +38,7 @@
   [%- IF AUTH.assert('record_links', 1) %]
   <li><a href="controller.pl?action=RecordLinks/ajax_list&object_model=Invoice&object_id=[% HTML.url(id) %]">[% 'Linked Records' | $T8 %]</a></li>
   [%- END %]
-  [%- IF AUTH.assert('general_ledger', 1) %]
+  [%- IF AUTH.assert('invoice_edit', 1) %]
   <li><a href="[% 'controller.pl?action=AccTrans/list_transactions&trans_id=' _ HTML.url(id) | html %]">[% LxERP.t8('Transactions') %]</a></li>
   [%- END %]
 [%- END %]
   [%- END %]
           </td>
         </tr>
-[%- IF all_departments %]
+[%- IF ALL_DEPARTMENTS %]
         <tr>
           <th align="right" nowrap>[% 'Department' | $T8 %]</th>
           <td colspan="3">
-            [% L.select_tag('department_id', all_departments, default = department_id, title_sub = \department_labels, with_empty = 1, style = 'width:250px') %]
+            [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width:250px') %]
           </td>
         </tr>
 [%- END %]