From: Sven Schöling Date: Mon, 26 Oct 2009 17:10:45 +0000 (+0100) Subject: IS: Departments anzeigen. X-Git-Tag: release-2.6.1beta1~113^2~13 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b65cc47a206d0b5df78123d9b36c1867928bf684;p=kivitendo-erp.git IS: Departments anzeigen. --- diff --git a/templates/webpages/is/form_header_de.html b/templates/webpages/is/form_header_de.html index 532ae0f9b..6cab7ad6b 100644 --- a/templates/webpages/is/form_header_de.html +++ b/templates/webpages/is/form_header_de.html @@ -115,14 +115,14 @@ label_key = 'description' -%] -[%- IF ALL_DEPARTMENTS %] +[%- IF all_departments %] Abteilung [%- INCLUDE 'generic/multibox.html' name = 'department_id', style = 'width: 250px', - DATA = ALL_DEPARTMENTS, + DATA = all_departments, id_key = 'id', label_sub = 'department_labels', show_empty = 1 -%] diff --git a/templates/webpages/is/form_header_master.html b/templates/webpages/is/form_header_master.html index a0a77b4e5..3b9d87ca5 100644 --- a/templates/webpages/is/form_header_master.html +++ b/templates/webpages/is/form_header_master.html @@ -115,14 +115,14 @@ label_key = 'description' -%] -[%- IF ALL_DEPARTMENTS %] +[%- IF all_departments %] Department [%- INCLUDE 'generic/multibox.html' name = 'department_id', style = 'width: 250px', - DATA = ALL_DEPARTMENTS, + DATA = all_departments, id_key = 'id', label_sub = 'department_labels', show_empty = 1 -%]