X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fis%2Fform_header.html;h=5fa5bb10502d40af86f7ed4e58c0415d0314d1b7;hb=3adc71e054fc13cd1d8ce7e7169723f7f4da022a;hp=c322a777edb28c6e7c7ba630a1f2a62634d245da;hpb=b498a3939d86fd9fd7c83e5174103250d8662ca7;p=kivitendo-erp.git diff --git a/templates/webpages/is/form_header.html b/templates/webpages/is/form_header.html index c322a777e..5fa5bb105 100644 --- a/templates/webpages/is/form_header.html +++ b/templates/webpages/is/form_header.html @@ -3,7 +3,6 @@ [%- USE LxERP %] [%- USE L %] [%- SET follow_up_trans_info = invnumber _ ' (' _ customer_name _ ')' %] -
@@ -26,7 +25,20 @@[% saved_message %]
[%- PROCESS 'common/flash.html' %] +[%- INCLUDE 'generic/set_longdescription.html' %] +@@ -35,8 +47,10 @@ | [% 'Customer' | $T8 %] | [%- INCLUDE 'generic/multibox.html' + id = 'customer', name = 'customer', style = 'width: 250px', + class = 'initial_focus', DATA = ALL_CUSTOMERS, id_sub = 'vc_keys', label_key = 'name', @@ -55,7 +69,7 @@ | ||||
---|---|---|---|---|---|---|
[% 'Contact Person' | $T8 %] | - [% L.select_tag('cp_id', L.options_for_select(ALL_CONTACTS, default=cp_id, value='cp_id', title='full_name_dep', with_empty=1), style='width: 250px') %] + [% L.select_tag('cp_id', ALL_CONTACTS, default = cp_id, value_key = 'cp_id', title_key = 'full_name_dep', with_empty = 1, style = 'width: 250px') %] | |||||
[% 'Shipping Address' | $T8 %] | - [% L.select_tag('shipto_id', L.options_for_select(ALL_SHIPTO, default=shipto_id, value='shipto_id', title_sub=\shipto_labels, with_empty=1), style='width: 250px', onChange="document.getElementById('update_button').click();") %] + [% shiptos = [ [ "", LxERP.t8("No/individual shipping address") ] ] ; + L.select_tag('shipto_id', shiptos.import(ALL_SHIPTO), default=shipto_id, value_key='shipto_id', title_key='displayable_id', style='width: 250px') %] | |||||
[% 'Steuersatz' | $T8 %] | - [% L.select_tag('taxzone_id', L.options_for_select(ALL_TAXZONES, default=taxzone_id, title='description'), disabled=(id ? 1 : 0), style='width: 250px', onchange="document.getElementById('update_button').click();") %] + [% L.select_tag('taxzone_id', ALL_TAXZONES, default = taxzone_id, title_key = 'description', disabled = (id ? 1 : 0), style='width: 250px', onchange = "document.getElementById('update_button').click();") %] [%- IF id %] [%- END %] @@ -108,7 +123,7 @@ | |||||
[% 'Department' | $T8 %] | - [% L.select_tag('department_id', L.options_for_select(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_sub = \department_labels, with_empty = 1, style = 'width:250px') %] | |||||
[% 'Transaction description' | $T8 %] | -+ |