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 f8a94512fd0dea22b9c78e8d2883476afdb199c4
Author: Anahita Goljahani <[email protected]>
AuthorDate: Thu Jun 25 20:30:01 2026 +0200

    Fixed: Replace links with submit inputs in OrderShippingInfo.ftl for the 
'Quick Receive Purchase Order' and 'Receive' actions displayed when a shipment 
has already been created
    
    This commit alligns the 'Quick Receive Purchase Order' and 'Receive' 
buttons with the corresponding dropdown menus on the order view screen and 
makes their style consistent with the "Force Complete Purchase Order" button.
---
 applications/order/template/order/OrderShippingInfo.ftl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/applications/order/template/order/OrderShippingInfo.ftl 
b/applications/order/template/order/OrderShippingInfo.ftl
index 626f683012..5cb590327f 100644
--- a/applications/order/template/order/OrderShippingInfo.ftl
+++ b/applications/order/template/order/OrderShippingInfo.ftl
@@ -94,7 +94,7 @@ under the License.
                               <option 
value="${facility.facilityId}">${facility.facilityName}</option>
                             </#list>
                           </select>
-                          <input type="submit" class="smallSubmit" 
value="${uiLabelMap.CommonReceive}"</a>
+                          <input type="submit" class="smallSubmit" 
value="${uiLabelMap.CommonReceive}"/>
                         </form>
                       </li>
                   <#else>
@@ -107,8 +107,8 @@ under the License.
                               <option 
value="${facility.facilityId}">${facility.facilityName}</option>
                             </#list>
                           </select>
+                          <input type="submit" class="smallSubmit" 
value="${uiLabelMap.OrderQuickReceivePurchaseOrder}"/>
                         </form>
-                        <a 
href="javascript:document.receiveInventoryForm.submit()" 
class="buttontext">${uiLabelMap.OrderQuickReceivePurchaseOrder}</a>
                       </li>
                       <li>
                         <form name="partialReceiveInventoryForm" 
action="/facility/control/ReceiveInventory" method="post">
@@ -120,8 +120,8 @@ under the License.
                               <option 
value="${facility.facilityId}">${facility.facilityName}</option>
                             </#list>
                           </select>
+                          <input type="submit" class="smallSubmit" 
value="${uiLabelMap.CommonReceive}"/>
                         </form>
-                        <a 
href="javascript:document.partialReceiveInventoryForm.submit()" 
class="buttontext">${uiLabelMap.CommonReceive}</a>
                       </li>
                   </#if>
               </#if>

Reply via email to