|
|
|
@ -791,7 +791,13 @@ class addorders extends CI_Controller{
|
|
|
|
|
$passagersdata[$i]->contactMobile = "";
|
|
|
|
|
$passagersdata[$i]->contactEmail = "";
|
|
|
|
|
if (!empty($PassagerInfo->BPE_Nationality)){
|
|
|
|
|
$passagersdata[$i]->regionCode = $PassagerInfo->BPE_Nationality; //国家简码 美国us ,中国cn
|
|
|
|
|
$regionCode = $PassagerInfo->BPE_Nationality;
|
|
|
|
|
if ($regionCode =="TW" || $regionCode=="HK" || $regionCode=="MO"){
|
|
|
|
|
$passagersdata[$i]->regionCode = "CN";
|
|
|
|
|
}else{
|
|
|
|
|
$passagersdata[$i]->regionCode = $regionCode; //国家简码 美国us ,中国cn
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$i++;
|
|
|
|
|