X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fir%2Fform_header.html;h=c42139ea0f63672f4293faea45237fe6b2ddf5fb;hb=ff0586637d90ef8f0b4b725e476ad7ccbeb32570;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..c42139ea0 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 _ ')' %] - @@ -25,7 +24,20 @@

[% title %]

[%- INCLUDE 'common/flash.html' %] +[%- INCLUDE 'generic/set_longdescription.html' %] +
+ + +
[%- END %] @@ -125,7 +139,7 @@
@@ -34,8 +46,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 +68,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 +149,7 @@ - + [%- ELSE %] @@ -144,11 +158,11 @@ - + - + [%- END %] @@ -158,11 +172,11 @@ - + - + @@ -195,10 +209,7 @@ [% IF creditwarning != '' %] alert('[% 'Credit Limit exceeded!!!' | $T8 %]'); [% ELSE %] - focus(); [% END %] - setupDateFormat('[% dateformat %]', '[% 'Falsches Datumsformat!' | $T8 %]'); - setupPoints('[% numberformat %]', '[% 'wrongformat' | $T8 %]'); }); function set_duedate() { $.ajax({ @@ -214,5 +225,4 @@ } //--> - - +
[% '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 %]