From: Thomas Heck Date: Wed, 12 Sep 2012 09:39:51 +0000 (+0200) Subject: Fehler: 'Can't locate object method "id" via package "SL:B::Contact"' in Lieferschein... X-Git-Tag: release-3.0.0beta1~238^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=67a1863492f1f6247b58ae90231f660f5a4f99f2;p=kivitendo-erp.git Fehler: 'Can't locate object method "id" via package "SL:B::Contact"' in Lieferschein(Verkauf) behoben.(2. Anlauf) aus Commit 5896615180704b3dddba46f4064a47ff1f094c3c --- diff --git a/templates/webpages/ct/form_header.html b/templates/webpages/ct/form_header.html index 26e71b139..8530b1e14 100644 --- a/templates/webpages/ct/form_header.html +++ b/templates/webpages/ct/form_header.html @@ -404,7 +404,7 @@ [% L.date_tag('FU_date', FU_date) %] [% 'for' | $T8 %] - [% L.select_tag('FU_created_for_user', ALL_EMPLOYEES, default = (FU_created_for_user ? FU_created_for_user : USER.id), title='safe_name') %] + [% L.select_tag('FU_created_for_user', ALL_EMPLOYEES, default = (FU_created_for_user ? FU_created_for_user : USER.id), title_key='safe_name') %] diff --git a/templates/webpages/do/form_header.html b/templates/webpages/do/form_header.html index aeb0873ac..e12f0da9b 100644 --- a/templates/webpages/do/form_header.html +++ b/templates/webpages/do/form_header.html @@ -192,7 +192,7 @@ [% IF ( delivered ) %] [% L.hidden_tag('department_id', department_id) %] [% END %] - [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%] + [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%] [%- END %] @@ -253,7 +253,7 @@ [% IF row.id == employee_id %][%- IF row.name %][%- HTML.escape(row.name) %][%- ELSE %][% HTML.escape(row.login) %][%- END %][% END %] [%- END %] [%- ELSE %] - [% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title = 'safe_name') %] + [% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title_key = 'safe_name') %] [%- END %] @@ -273,7 +273,7 @@ [% IF row.id == the_salesman_id %][%- IF row.name %][%- HTML.escape(row.name) %][%- ELSE %][% HTML.escape(row.login) %][%- END %][% END %] [%- END %] [%- ELSE %] - [% L.select_tag('salesman_id', ALL_SALESMEN, default = (salesman_id ? salesman_id : employee_id), title = 'safe_name') %] + [% L.select_tag('salesman_id', ALL_SALESMEN, default = (salesman_id ? salesman_id : employee_id), title_key = 'safe_name') %] [%- END %] diff --git a/templates/webpages/is/form_header.html b/templates/webpages/is/form_header.html index 24b253f04..433d3b14e 100644 --- a/templates/webpages/is/form_header.html +++ b/templates/webpages/is/form_header.html @@ -226,7 +226,7 @@ [% 'Project Number' | $T8 %] - [%- L.select_tag('globalproject_id', ALL_PROJECTS, title='projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();") %] + [%- L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();") %]