Commit 756b181c authored by Pawan Verma's avatar Pawan Verma

Fixed: Add button for 'Gift Message is shown on completed order

(OFBIZ-11160)

Thanks: Pierre Smits for report and Shivanand Chhatre for the fix.
parent 3fb4c15f
......@@ -693,6 +693,7 @@ under the License.
<span class="label">&nbsp;${uiLabelMap.OrderGiftMessage}</span>
</td>
<td>
<#if "ORDER_COMPLETED" != orderHeader.statusId!>
<form id="setGiftMessageForm_${shipGroup.shipGroupSeqId}" name="setGiftMessageForm" method="post" action="<@ofbizUrl>setGiftMessage</@ofbizUrl>">
<input type="hidden" name="orderId" value="${orderHeader.orderId}"/>
<input type="hidden" name="shipGroupSeqId" value="${shipGroup.shipGroupSeqId}"/>
......@@ -705,6 +706,7 @@ under the License.
<textarea name="giftMessage" id="giftMessage_${shipGroup.shipGroupSeqId}" style="display:none" rows="0" cols="0">${shipGroup.giftMessage!}</textarea>
<a href="javascript:saveGiftMessage('${shipGroup.shipGroupSeqId}');" class="buttontext" id="saveGiftMessage_${shipGroup.shipGroupSeqId}" style="display:none">${uiLabelMap.CommonSave}</a>
</form>
</#if>
</td>
</tr>
</#if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment