plf 3 gadi atpakaļ
vecāks
revīzija
e5add965a4

+ 3 - 0
src/main/webapp/WEB-INF/views/modules/order/orderForm.jsp

@@ -786,7 +786,10 @@
 
     $(function () {
         setBalancePayFee();
+      var orderId = $("#orderID").val()*1;
+      if (orderId && orderId > 0){
         setFreight();
+      }
         $(".freight").val($("#freight").val());
         var tablehtml = $(".stagesTable1").html();
         var tablehtml2 = $(".stagesTable").html();