You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pa...@apache.org on 2019/06/22 11:06:51 UTC

svn commit: r1861846 - /ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/ShipmentForms.xml

Author: pawan
Date: Sat Jun 22 11:06:50 2019
New Revision: 1861846

URL: http://svn.apache.org/viewvc?rev=1861846&view=rev
Log:
Improved: Create New Shipment screen should have Create button instead of Update button.
(OFBIZ-11117)
Thanks: Chandrashekhar Dhakad for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/ShipmentForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/ShipmentForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/ShipmentForms.xml?rev=1861846&r1=1861845&r2=1861846&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/ShipmentForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/widget/facility/ShipmentForms.xml Sat Jun 22 11:06:50 2019
@@ -188,7 +188,8 @@ under the License.
         <field use-when="shipment!=null" name="lastModifiedDate" title="${uiLabelMap.ProductLastModifiedDate}"><display also-hidden="false" description="${shipment.lastModifiedDate}"/></field>
         <field use-when="shipment!=null" name="lastModifiedByUserLogin" title="${uiLabelMap.ProductLastModifiedByUserLogin}"><display also-hidden="false" description="${shipment.lastModifiedByUserLogin}"/></field>
 
-        <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
+        <field use-when="shipment==null" name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
+        <field use-when="shipment!=null" name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
     </form>
 
     <!-- ******************* -->