fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17301] property, invice: validation


From: sigurdne
Subject: [Fmsystem-commits] [17301] property, invice: validation
Date: Mon, 13 Nov 2017 08:09:22 -0500 (EST)

Revision: 17301
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17301
Author:   sigurdne
Date:     2017-11-13 08:09:21 -0500 (Mon, 13 Nov 2017)
Log Message:
-----------
property, invice: validation

Modified Paths:
--------------
    trunk/property/js/portico/ajax_invoice.js

Modified: trunk/property/js/portico/ajax_invoice.js
===================================================================
--- trunk/property/js/portico/ajax_invoice.js   2017-11-13 11:09:33 UTC (rev 
17300)
+++ trunk/property/js/portico/ajax_invoice.js   2017-11-13 13:09:21 UTC (rev 
17301)
@@ -152,6 +152,11 @@
                var order_id = document.getElementById("order_id").value;
                var order_id_orig = 
document.getElementById("order_id_orig").value;
 
+               if (!dim_b)
+               {
+                       alert('Du må velge Ansvarssted');
+                       return;
+               }
 
                if (order_id_orig == order_id)
                {
@@ -167,12 +172,6 @@
                                return;
                        }
 
-                       if (!dim_b)
-                       {
-                               alert('Du må velge Ansvarssted');
-                               return;
-                       }
-
                        if (!dim_a)
                        {
                                alert('Du må angi Dim A');




reply via email to

[Prev in Thread] Current Thread [Next in Thread]