diff --git a/bin/backend/controls/OutputDialog.js b/bin/backend/controls/OutputDialog.js index 53110e8aef1c1ec333e23655c9485e948e095cff..ec8a83bba04b36028a442ad973ad7e0ee628d8ca 100644 --- a/bin/backend/controls/OutputDialog.js +++ b/bin/backend/controls/OutputDialog.js @@ -630,7 +630,7 @@ define('package/quiqqer/erp/bin/backend/controls/OutputDialog', [ // Canvas für die Seite erstellen const canvas = document.createElement('canvas'); canvas.id = `pdf-page-${pageNum}`; - canvas.style.color = '#ffffff'; + canvas.style.backgroundColor = '#ffffff'; canvas.style.marginTop = '20px'; PreviewContent.appendChild(canvas); diff --git a/src/QUI/ERP/Output/Output.php b/src/QUI/ERP/Output/Output.php index 7c90d59bab61490b326a8ba2977975b6fcde450e..76cf712ba87e4e629ba30365e2d30ee64bd13a00 100644 --- a/src/QUI/ERP/Output/Output.php +++ b/src/QUI/ERP/Output/Output.php @@ -270,7 +270,7 @@ public static function sendPdfViaMail( QUI::getEvents()->fireEvent( 'quiqqerErpOutputSendMailBefore', - [$entityId, $entityType, $recipientEmail, $Mailer] + [$entityId, $entityType, $recipientEmail, $Mailer, $mailFile] ); $Mailer->send();