X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2Fform_header.html;h=4065b039e768b212a01064a2261c286fc3eb6b6f;hb=7b8bda2cb40192d77faee5226ebeadd38ba99545;hp=697e3e54f0705d6b11ce1bb7442c402899d47a7e;hpb=9ba3a010bca395410803067324c1924cabf956b4;p=kivitendo-erp.git diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html index 697e3e54f..4065b039e 100644 --- a/templates/webpages/ir/form_header.html +++ b/templates/webpages/ir/form_header.html @@ -3,7 +3,6 @@ [%- USE LxERP %] [%- USE L %] [%- SET follow_up_trans_info = invnumber _ ' (' _ vendor_name _ ')' %] - @@ -34,6 +33,7 @@ [% 'Vendor' | $T8 %] [%- INCLUDE 'generic/multibox.html' + id = 'vendor', name = 'vendor', style = 'width: 250px', DATA = ALL_VENDORS, @@ -54,7 +54,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') %] [%- END %] @@ -125,13 +125,7 @@ - + [%- IF is_type_credit_note %] @@ -201,10 +195,7 @@ [% IF creditwarning != '' %] alert('[% 'Credit Limit exceeded!!!' | $T8 %]'); [% ELSE %] - focus(); [% END %] - setupDateFormat('[% dateformat %]', '[% 'Falsches Datumsformat!' | $T8 %]'); - setupPoints('[% numberformat %]', '[% 'wrongformat' | $T8 %]'); }); function set_duedate() { $.ajax({
[% 'Employee' | $T8 %] - [%- INCLUDE 'generic/multibox.html' - name = 'employee_id', - DATA = ALL_EMPLOYEES, - id_key = 'id', - label_sub = 'sales_employee_labels' -%] - [% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title_key = 'safe_name') %]