X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fis%2Fform_header.html;h=5e76f88d7a28bc178bd7336350bb11cff0fa2257;hb=11e509315cee0449974caa6d681fa26e730bbeca;hp=f9a8879c6db9d1f470e0b674c8a7ab2f9a45f75d;hpb=c01d62c4a634f27fc4560d88cf98b84af9a85d95;p=kivitendo-erp.git
diff --git a/templates/webpages/is/form_header.html b/templates/webpages/is/form_header.html
index f9a8879c6..5e76f88d7 100644
--- a/templates/webpages/is/form_header.html
+++ b/templates/webpages/is/form_header.html
@@ -35,8 +35,10 @@
[% 'WebDAV' | $T8 %]
[%- END %]
[%- IF id %]
+ [%- IF AUTH.assert('record_links', 1) %]
[% 'Linked Records' | $T8 %]
- [%- IF AUTH.assert('general_ledger', 1) %]
+ [%- END %]
+ [%- IF AUTH.assert('invoice_edit', 1) %]
[% LxERP.t8('Transactions') %]
[%- END %]
[%- END %]
@@ -63,7 +65,7 @@
allow_textbox = 1,
onChange = "document.getElementById('update_button').click();" -%]
-
+
@@ -292,9 +294,9 @@
[% IF resubmit && is_format_html %]
window.open('about:blank','Beleg');
document.invoice.target = 'Beleg';
- document.invoice.submit();
+ $('#action_print').click();
[% ELSIF resubmit %]
- document.invoice.submit();
+ $('#action_print').click();
[% ELSIF creditwarning != '' %]
alert('[% 'Credit Limit exceeded!!!' | $T8 %]');
[% ELSE %]