]> wagnertech.de Git - mfinanz.git/commitdiff
ActionBar: Lieferscheine: Drucken über Dialog implementiert
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 11 Jan 2017 15:45:15 +0000 (16:45 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:43:59 +0000 (10:43 +0100)
bin/mozilla/do.pl
templates/webpages/do/form_footer.html

index d4e312365e2c564626437ee16312cd550478bb29..7107017ab8c3edc63c1ac2ccbbf67cb4ca1393bb 100644 (file)
@@ -323,7 +323,7 @@ sub setup_do_action_bar {
         action => [ t8('Export') ],
         action => [
           t8('Print'),
-          submit => [ '#form', { action => "print" } ],
+          call   => [ 'kivi.SalesPurchase.show_print_dialog' ],
           checks => [ @req_trans_desc ],
         ],
         action => [
index 13456ca7bcf3b01489a92d7ff8d31d5fe29966e0..954eff7b170f34346df9b7b1f011285f9ea822cf 100644 (file)
@@ -84,3 +84,6 @@
 [%- IF !delivered %]
  <div id="shipto_dialog" class="hidden"></div>
 [%- END %]
+<div id="print_dialog" class="hidden">
+ [%- PROCESS 'common/_print_dialog.html' %]
+</div>