This is an automated email from the ASF dual-hosted git repository. golja pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 17cce1c6c09ca07537185bc4b0b1e71e5229d446 Author: Anahita Goljahani <[email protected]> AuthorDate: Mon Jun 22 18:13:01 2026 +0200 Fixed: Add order type check for gift message display logic in order view screen The commit hides gift-related information on the order view page for 'purchase' orders, as it is not relevant. --- applications/order/template/order/OrderShippingInfo.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/order/template/order/OrderShippingInfo.ftl b/applications/order/template/order/OrderShippingInfo.ftl index eb3a3a0239..512b50c6be 100644 --- a/applications/order/template/order/OrderShippingInfo.ftl +++ b/applications/order/template/order/OrderShippingInfo.ftl @@ -636,8 +636,8 @@ under the License. </#if> </td> </tr> - - <#if shipGroup.isGift?has_content && noShipment?default("false") != "true"> + + <#if orderHeader?has_content && "PURCHASE_ORDER" != orderHeader.orderTypeId && shipGroup.isGift?has_content && noShipment?default("false") != "true"> <tr><td colspan="3"><hr /></td></tr> <tr> <td class="label">

