From a40c356e3f574dbd0400aa3477d9da45ca1b1fdf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 6 Dec 2021 12:55:06 +0100 Subject: [PATCH] =?utf8?q?E-Mail-Dialog:=20Druck-Optionen=20auch=20f=C3=BC?= =?utf8?q?r=20Policy=20"letzten=20Ausdruck=20mitschicken",=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … da diese Option nun auch den ersten Ausdruck erzeugen kann, falls noch keiner vorhanden ist. --- js/kivi.SalesPurchase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/kivi.SalesPurchase.js b/js/kivi.SalesPurchase.js index 98a538c19..e8a1ba241 100644 --- a/js/kivi.SalesPurchase.js +++ b/js/kivi.SalesPurchase.js @@ -313,7 +313,7 @@ namespace('kivi.SalesPurchase', function(ns) { this.activate_send_email_actions_regarding_printout = function() { var selected = $('#email_form_attachment_policy').val(); $('#email_form_attachment_filename').parents('tr')[selected !== 'no_file' ? 'show' : 'hide'](); - $('#email_form_print_options')[selected === 'normal' ? 'show' : 'hide'](); + $('#email_form_print_options')[selected !== 'no_file' ? 'show' : 'hide'](); }; // Printing records. -- 2.20.1