longyi 5 mēneši atpakaļ
vecāks
revīzija
fd45711505

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 8 - 8
core/CoreApp/controllers/Systembound.php


+ 1 - 4
core/CoreApp/models/Model_logic_express.php

@@ -126,10 +126,7 @@ class Model_logic_express extends Lin_Model {
     }
     }
     //76 77
     //76 77
     protected function check_3pe($waybill){
     protected function check_3pe($waybill){
-        if(strlen($waybill) != 11 && strlen($waybill) != 15){
-           return false;
-        }
-        
+       
         if(strpos($waybill, "WKSD") === false  && strpos($waybill, "GEX") === false){
         if(strpos($waybill, "WKSD") === false  && strpos($waybill, "GEX") === false){
             return false;
             return false;
         }
         }