X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3aa5cee2f12c1dff757539b60196bf5e1be0a5d6..b720e272:/templates/webpages/ir/form_header.html
diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html
index 673f1a8d0..5a8cb024a 100644
--- a/templates/webpages/ir/form_header.html
+++ b/templates/webpages/ir/form_header.html
@@ -34,6 +34,7 @@
[%- END %]
[%- IF id %]
[% 'Linked Records' | $T8 %]
+ [% LxERP.t8('Transactions') %]
[%- END %]
@@ -212,16 +213,18 @@
[% END %]
});
function set_duedate() {
- $.ajax({
- url: 'ir.pl?action=get_duedate_vendor',
- data: {
- invdate: $('#invdate').val(),
- vendor_id: $('input[name="vendor_id"]').val(),
- old_duedate: $('#duedate').val(),
- },
- dataType: 'text',
- success: function (data) { $('#duedate').val(data); }
- })
+ setTimeout(function() {
+ $.ajax({
+ url: 'ir.pl?action=get_duedate_vendor',
+ data: {
+ invdate: $('#invdate').val(),
+ vendor_id: $('input[name="vendor_id"]').val(),
+ old_duedate: $('#duedate').val(),
+ },
+ dataType: 'text',
+ success: function (data) { $('#duedate').val(data); }
+ })
+ }, 0);
}
//-->