X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3aa5cee2f12c1dff757539b60196bf5e1be0a5d6..464f44a:/templates/webpages/ir/form_header.html
diff --git a/templates/webpages/ir/form_header.html b/templates/webpages/ir/form_header.html
index 673f1a8d0..362bd8957 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 %]
@@ -79,6 +80,12 @@
[% LxERP.format_amount(creditremaining,0 ,'0') %]
+[%- IF business %]
+
+ | [% 'Vendor type' | $T8 %] |
+ [% business %]; [% 'Trade Discount' | $T8 %] [% LxERP.format_amount(tradediscount * 100) %] % |
+
+[%- END %]
| [% 'Record in' | $T8 %] |
|
@@ -212,16 +219,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);
}
//-->