projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
68dfc0d
)
Merge pull request #1 from freiphone/patch-1
author
freiphone
<kontakt@frei-phone.de>
Mon, 5 Jun 2017 13:39:35 +0000
(15:39 +0200)
committer
GitHub
<noreply@github.com>
Mon, 5 Jun 2017 13:39:35 +0000
(15:39 +0200)
Vorbereitung für Drucken und Buchen
templates/webpages/is/form_header.html
patch
|
blob
|
history
diff --git
a/templates/webpages/is/form_header.html
b/templates/webpages/is/form_header.html
index
66367ef
..
133ff7d
100644
(file)
--- a/
templates/webpages/is/form_header.html
+++ b/
templates/webpages/is/form_header.html
@@
-284,9
+284,11
@@
[% IF resubmit && is_format_html %]
window.open('about:blank','Beleg');
document.invoice.target = 'Beleg';
- $('#action_print').click();
+ kivi.SalesPurchase.show_print_dialog();
+ kivi.SalesPurchase.print_record();
[% ELSIF resubmit %]
- $('#action_print').click();
+ kivi.SalesPurchase.show_print_dialog();
+ kivi.SalesPurchase.print_record();
[% ELSIF creditwarning != '' %]
alert('[% 'Credit Limit exceeded!!!' | $T8 %]');
[% ELSE %]