X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2Fform_header.html;h=fb9660a019b7a800ad6b5b7d7175a772d0b08572;hb=b6a261343b48c0b192b879163f3a8be661c2e28c;hp=d8a44e1635a9eea4f1c695ab62c66629a3dad309;hpb=6bf344a110af7cc9f8c880ee766cf0de0bf756d1;p=kivitendo-erp.git diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html index d8a44e163..fb9660a01 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 _ ')' %] - @@ -26,6 +25,18 @@ [%- INCLUDE 'common/flash.html' %] +
+ + +
[%- END %] @@ -125,7 +138,7 @@
@@ -34,8 +45,10 @@ [% 'Vendor' | $T8 %] [%- INCLUDE 'generic/multibox.html' + id = 'vendor', name = 'vendor', style = 'width: 250px', + class = 'initial_focus', DATA = ALL_VENDORS, id_sub = 'vc_keys', label_key = 'name', @@ -54,7 +67,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') %]
- + [%- IF is_type_credit_note %] @@ -135,7 +148,7 @@ - + [%- ELSE %] @@ -144,11 +157,11 @@ - + - + [%- END %] @@ -158,11 +171,11 @@ - + - + @@ -195,10 +208,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 %][% L.select_tag('employee_id', L.options_for_select(ALL_EMPLOYEES, default=employee_id, title='safe_name')) %][% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title_key = 'safe_name') %]
[% 'Credit Note Date' | $T8 %][% L.date_tag('invdate', invdate, onBlur='check_right_date_format(this)', cal_align='BL', onChange='set_duedate(this)') %][% L.date_tag('invdate', invdate, onChange='set_duedate(this)') %]
[% 'Invoice Date' | $T8 %][% L.date_tag('invdate', invdate, onBlur='check_right_date_format(this)', cal_align='BL', onChange='set_duedate(this)') %][% L.date_tag('invdate', invdate, onChange='set_duedate(this)') %]
[% 'Due Date' | $T8 %][% L.date_tag('duedate', duedate, onBlur='check_right_date_format(this)', cal_align='BL') %][% L.date_tag('duedate', duedate) %]
[% 'Order Date' | $T8 %][% L.date_tag('orddate', orddate, onBlur='check_right_date_format(this)', cal_align='BL') %][% L.date_tag('orddate', orddate) %]
[% 'Quotation Date' | $T8 %][% L.date_tag('quodate', quodate, onBlur='check_right_date_format(this)', cal_align='BL') %][% L.date_tag('quodate', quodate) %]
[% 'Project Number' | $T8 %]