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

fix: invoice journal: customer cannot be opened

related: pcsg/buero#420
Übergeordneter f050ee4f
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!80Update 'next-3.x' with latest changes from 'main',!64fix: invoice journal: customer cannot be opened
Pipeline-Nr. 9019 mit Warnungen bestanden
...@@ -527,6 +527,10 @@ define( ...@@ -527,6 +527,10 @@ define(
dataType: 'string', dataType: 'string',
width: 90, width: 90,
className: 'clickable' className: 'clickable'
}, {
dataIndex: 'customer_id',
dataType: 'string',
hidden: true
}, },
{ {
header: QUILocale.get(lg, 'journal.grid.status'), header: QUILocale.get(lg, 'journal.grid.status'),
...@@ -941,7 +945,6 @@ define( ...@@ -941,7 +945,6 @@ define(
], (CopyErpEntityDialog) => { ], (CopyErpEntityDialog) => {
new CopyErpEntityDialog({ new CopyErpEntityDialog({
hash: hash, hash: hash,
entityPlugin: 'quiqqer/invoice',
events: { events: {
onSuccess: resolve onSuccess: resolve
} }
......
...@@ -773,8 +773,10 @@ protected function parseListForGrid(array $data): array ...@@ -773,8 +773,10 @@ protected function parseListForGrid(array $data): array
if ($Customer->getAttribute('customerId')) { if ($Customer->getAttribute('customerId')) {
$invoiceData['customer_id_display'] = $Customer->getAttribute('customerId'); $invoiceData['customer_id_display'] = $Customer->getAttribute('customerId');
$invoiceData['customer_id'] = $Customer->getUUID() ?? $Customer->getId();
} else { } else {
$invoiceData['customer_id_display'] = ''; $invoiceData['customer_id_display'] = '';
$invoiceData['customer_id'] = '';
} }
$invoiceData['customer_name'] = trim( $invoiceData['customer_name'] = trim(
......
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