X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fir%2Fform_header.html;h=8c849fdd7210406acebf4b53a4dfd77d6472e1e7;hb=368f144b970a4b307a50d82bb398e704d65eec43;hp=d8a44e1635a9eea4f1c695ab62c66629a3dad309;hpb=2b44867fc2d4e3c061c126890cc90fcaa84b6baa;p=kivitendo-erp.git diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html index d8a44e163..8c849fdd7 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 +137,7 @@
@@ -34,6 +45,7 @@ [% 'Vendor' | $T8 %] [%- INCLUDE 'generic/multibox.html' + id = 'vendor', name = 'vendor', style = 'width: 250px', DATA = ALL_VENDORS, @@ -54,7 +66,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 +147,7 @@ - + [%- ELSE %] @@ -144,11 +156,11 @@ - + - + [%- END %] @@ -158,11 +170,11 @@ - + - + @@ -195,10 +207,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 %]