Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit 718b24c7 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: class QUI\ERP\Accounting\Invoice\Invoice not found

Übergeordneter b71b8c38
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!117Update 'next-3.x' with latest changes from 'main',!113Next 2.x
......@@ -17,6 +17,7 @@
use function array_flip;
use function array_keys;
use function class_exists;
use function count;
use function defined;
use function explode;
......@@ -279,6 +280,10 @@ public static function onQuiqqerInvoiceTemporaryInvoicePostEnd(
QUI\ERP\Accounting\Invoice\InvoiceTemporary $InvoiceTemporary,
QUI\ERP\Accounting\Invoice\Invoice $Invoice
): void {
if (!class_exists('QUI\ERP\Accounting\Invoice\Invoice')) {
return;
}
try {
$Process = new QUI\ERP\Process($Invoice->getGlobalProcessId());
$Order = $Process->getOrder();
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren