From b96268daaad49b682a2588e18fe8a80479d734b5 Mon Sep 17 00:00:00 2001 From: Arnaud Hours Date: Thu, 19 Feb 2026 12:35:57 +0100 Subject: [PATCH] fix(admin): [PCMT-1274] fix order tab Lengow not displaying properly --- Block/Adminhtml/Sales/Order/Tab/Info.php | 3 +-- view/adminhtml/templates/sales/order/tab/info.phtml | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Block/Adminhtml/Sales/Order/Tab/Info.php b/Block/Adminhtml/Sales/Order/Tab/Info.php index f685882..561b38f 100644 --- a/Block/Adminhtml/Sales/Order/Tab/Info.php +++ b/Block/Adminhtml/Sales/Order/Tab/Info.php @@ -411,8 +411,7 @@ public function getFields(): array ]; $fields[] = [ 'label' => __('JSON format'), - 'value' => '', + 'value' => $this->lengowOrder->getData(LengowOrder::FIELD_EXTRA), ]; } return $fields; diff --git a/view/adminhtml/templates/sales/order/tab/info.phtml b/view/adminhtml/templates/sales/order/tab/info.phtml index cdfe06b..460116f 100644 --- a/view/adminhtml/templates/sales/order/tab/info.phtml +++ b/view/adminhtml/templates/sales/order/tab/info.phtml @@ -53,7 +53,13 @@ $escaper = $block->getEscaper(); escapeHtml($field['label']) ?> - escapeHtml($field['value']) ?> + + + + escapeHtml($field['value']) ?> +