|
|
|
@ -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) {
|
|
|
|
|