用房标准填:入住人,入住日期;抵达/返程航车: 酒店(上/下车地点)中英文名称

hotfix/远程访问多媒体中心
lyt 6 years ago
parent 2cd1e4d442
commit 2d29fde054

@ -522,8 +522,17 @@ log_message('error',$resp);
if (trim($hotels[0]->POI_HotelAddress) != "") {
$this_content .= "\r\n酒店地址:" . $hotels[0]->POI_HotelAddress;
}
$this_content .= trim($hotels[0]->POI_HotelCheckInName)!=="" ? "\r\n入住人:".$hotels[0]->POI_HotelCheckInName : "";
$this_content .= trim($hotels[0]->POI_HotelCheckIn)!=="" ? "\r\n入住日期:".$hotels[0]->POI_HotelCheckIn : "";
if (trim($hotels[0]->POI_Hotel) != '') {
$this->ci->tldOrderBuilder->setToTraffic($hotels[0]->POI_Hotel);
$this->ci->tldOrderBuilder->setBackTraffic($hotels[0]->POI_Hotel);
}
$checkin_name = trim($hotels[0]->POI_HotelCheckInName)!=="" ? "\r\n入住人:".$hotels[0]->POI_HotelCheckInName : "";
$checkin_date = trim($hotels[0]->POI_HotelCheckIn)!=="" ? "\r\n入住日期:".$hotels[0]->POI_HotelCheckIn : "";
$this_content .= $checkin_name;
$this_content .= $checkin_date;
if ($checkin_name!=='' || $checkin_date!=='') {
$this->ci->tldOrderBuilder->setRoomStandard(trim($checkin_name) . ", " . trim($checkin_date));
}
if ($hotels[0]->POI_FlightsNo) {
$this_content .= "\r\n航/车次:" . $hotels[0]->POI_FlightsNo;
if ($hotels[0]->POI_FromCity || $hotels[0]->POI_ToCity) {

Loading…
Cancel
Save