Fix open lot deletion audit payload

This commit is contained in:
gitea_admin committed 2026-09-08 11:54:08 +02:00
1 parent a31057f0c0
commit b8136764eb
1 file changed
+1 -1
+1 -1
View File
@@ -1037,7 +1037,7 @@ function delete_open_stock_lot(PDO $pdo, int $lotId, string $changedBy): int
throw new InvalidArgumentException('Nur offene Chargen koennen geloescht werden');
}
system_write_audit_log($pdo, 'stock_lot', (string) $lotId, 'deleted', $changedBy, $lot, null, [
system_write_audit_log($pdo, 'stock_lot', (string) $lotId, 'deleted', $changedBy, $lot, [], [
'module' => 'erp.lager',
]);