|
|
@@ -1427,7 +1427,7 @@ class ocean_order {
|
|
|
$document = _getViewDocType($_REQUEST["_schemas"]);
|
|
|
|
|
|
$Enable_New_DMS = common::excuteOneSql("select item_value from config where item = 'Enable_New_DMS'");
|
|
|
- if ($ocean['source_user'] == 'K5' || $ocean['source_user'] == 'KSMART_AIR2' || $Enable_New_DMS == "True"){
|
|
|
+ if ($Enable_New_DMS == "True"){
|
|
|
//DMS的接口 K5和KSMART AIR的文檔數
|
|
|
if (!empty($document)) {
|
|
|
$docTypes = array();
|
|
|
@@ -1636,7 +1636,7 @@ class ocean_order {
|
|
|
$document = _getAirViewDocType($_REQUEST["_schemas"]);
|
|
|
|
|
|
$Enable_New_DMS = common::excuteOneSql("select item_value from config where item = 'Enable_New_DMS'");
|
|
|
- if($air['source_user'] == 'K5' || $air['source_user'] == 'KSMART_AIR2' || $Enable_New_DMS == "True"){
|
|
|
+ if($Enable_New_DMS == "True"){
|
|
|
//DMS的接口 K5和KSMART AIR的文檔數
|
|
|
if (!empty($document)) {
|
|
|
$docTypes = array();
|