Author: surajk
Date: Sat Nov 24 10:37:37 2018
New Revision: 1847354
URL: http://svn.apache.org/viewvc?rev=1847354&view=rev
Log:
Fixed: Force complete Purchase Order button throws error.
> > (OFBIZ-9912)
Thanks Priya Sharma for reporting and Amit Gadaley for providing the patch.
Modified:
ofbiz/branches/release16.11/applications/product/template/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
Modified:
ofbiz/branches/release16.11/applications/product/template/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/product/template/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl?rev=1847354&r1=1847353&r2=1847354&view=diff
==============================================================================
---
ofbiz/branches/release16.11/applications/product/template/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
(original)
+++
ofbiz/branches/release16.11/applications/product/template/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
Sat Nov 24 10:37:37 2018
@@ -222,13 +222,19 @@ under the License.
</tr>
<tr>
<td colspan="12" align="right">
- <a class="smallSubmit"
href="<@ofbizUrl>completePurchaseOrder?orderId=${orderId}&facilityId=${facilityId}&shipmentId=${shipmentId}</@ofbizUrl>">${uiLabelMap.OrderForceCompletePurchaseOrder}</a>
+ <input form="orderForceCompletePurchaseOrder"
type="submit" value="${uiLabelMap.OrderForceCompletePurchaseOrder}"
class="smallSubmit"/>
</td>
</tr>
</#if>
</table>
<input type="hidden" name="_rowCount" value="${rowCount}" />
</form>
+ <form id="orderForceCompletePurchaseOrder" method="post"
action="<@ofbizUrl>completePurchaseOrder</@ofbizUrl>">
+ <input type="hidden" name="orderId" value="${orderId}"/>
+ <input type="hidden" name="facilityId" value="${facilityId}"/>
+ <input type="hidden" name="shipmentId" value="${shipmentId}"/>
+ <input type="hidden" name="clearAll" value="Y"/>
+ </form>
</#if>
<#if itemsAvailableToReceive && totalReadyToReceive <
totalAvailableToReceive>
<h3>${uiLabelMap.ProductReceiveInventoryAddProductToReceive}</h3>