X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6bf344a110af7cc9f8c880ee766cf0de0bf756d1..787062c9172e3eca0756c21d9cc5652e44e5a643:/templates/webpages/ir/form_header.html
diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html
index d8a44e163..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,7 +125,7 @@
| [% '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') %] |
[%- IF is_type_credit_note %]
@@ -195,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({