From ec85a1e1a7ff2bd2cfce5158865298d2043d4a37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Patrick=20M=C3=BCller?= <p.mueller@pcsg.de>
Date: Tue, 8 Feb 2022 08:33:10 +0100
Subject: [PATCH] fix: open print dialog in Journal

---
 bin/backend/controls/panels/Journal.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/backend/controls/panels/Journal.js b/bin/backend/controls/panels/Journal.js
index ee31d0c..b7a7aae 100644
--- a/bin/backend/controls/panels/Journal.js
+++ b/bin/backend/controls/panels/Journal.js
@@ -818,7 +818,7 @@ define('package/quiqqer/invoice/bin/backend/controls/panels/Journal', [
             }
 
             return new Promise(function (resolve) {
-                require(['package/quiqqer/erp/bin/backend/controls/OutputDialog'], function (Dialogs) {
+                require(['package/quiqqer/invoice/bin/backend/utils/Dialogs'], function (Dialogs) {
                     Dialogs.openPrintDialog(Entry.hash, entityType).catch((err) => {
                         QUI.getMessageHandler().then((MH) => {
                             MH.addError(err.getMessage());
-- 
GitLab