svn commit: r1774794 - /ofbiz/trunk/applications/accounting/widget/PaymentForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1774794 - /ofbiz/trunk/applications/accounting/widget/PaymentForms.xml

mbrohl
Author: mbrohl
Date: Sat Dec 17 16:27:13 2016
New Revision: 1774794

URL: http://svn.apache.org/viewvc?rev=1774794&view=rev
Log:
Improved: Client Side validation missing on Create Payment screen.
(OFBIZ-7430)

Thanks: Ankit Joshi for reporting and providing the patch.

Modified:
    ofbiz/trunk/applications/accounting/widget/PaymentForms.xml

Modified: ofbiz/trunk/applications/accounting/widget/PaymentForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/PaymentForms.xml?rev=1774794&r1=1774793&r2=1774794&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/widget/PaymentForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/PaymentForms.xml Sat Dec 17 16:27:13 2016
@@ -137,7 +137,7 @@ under the License.
                 </entity-options>
             </drop-down>
         </field>
-        <field name="partyIdTo" position="2"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="partyIdTo" position="2" required-field="true"><lookup target-form-name="LookupPartyName"/></field>
         <field name="paymentTypeId" title="${uiLabelMap.AccountingPaymentType}" position="1">
             <drop-down allow-empty="false">
                 <list-options list-name="paymentTypes" key-name="paymentTypeId"/>
@@ -153,7 +153,7 @@ under the License.
         </field>
         <field name="paymentRefNum" position="1"><text/></field>
         <field name="overrideGlAccountId" position="2"><lookup target-form-name="LookupGlAccount"/></field>
-        <field name="amount" position="1"><text/></field>
+        <field name="amount" position="1" required-field="true"><text/></field>
         <field name="comments" position="2"><text size="70"/></field>
         <field name="isDepositWithDrawPayment"><hidden value="Y"/></field>
         <field name="finAccountTransTypeId"><hidden value="WITHDRAWAL"/></field>
@@ -172,7 +172,7 @@ under the License.
                 </entity-options>
             </drop-down>
         </field>
-        <field name="partyIdFrom" position="2"><lookup target-form-name="LookupPartyName"/></field>
+        <field name="partyIdFrom" position="2" required-field="true"><lookup target-form-name="LookupPartyName"/></field>
         <field name="paymentTypeId" title="${uiLabelMap.AccountingPaymentType}" position="1">
             <drop-down allow-empty="false">
                 <entity-options entity-name="PaymentType">
@@ -191,7 +191,7 @@ under the License.
         </field>
         <field name="paymentRefNum" position="1"><text/></field>
         <field name="overrideGlAccountId" position="2"><lookup target-form-name="LookupGlAccount"/></field>
-        <field name="amount" position="1"><text/></field>
+        <field name="amount" position="1" required-field="true"><text/></field>
         <field name="comments" position="2"><text size="70"/></field>
         <field name="finAccountId">
             <drop-down allow-empty="true">