|
@@ -217,6 +217,11 @@ class Model_logic_express extends Lin_Model {
|
|
|
|
|
|
|
|
protected function check_hc_ams($waybill){
|
|
protected function check_hc_ams($waybill){
|
|
|
if(strlen($waybill) != 11){
|
|
if(strlen($waybill) != 11){
|
|
|
|
|
+ if(strpos($waybill, "MP") !== false){
|
|
|
|
|
+ if(strlen($waybill) == 12){
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
return true;
|
|
return true;
|