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']) ?> +