.htm"><?php 
echo $spaceBusinessRequirement->space->host->hospitalfaculty->name;
?>
</a>&nbsp;&nbsp;&nbsp;&nbsp;    
				          级别:<?php 
echo $spaceBusinessRequirement->space->host->adminLevel;
?>
级大夫</td>
			    </tr>
			  	<tr>
                    <td colspan="5">
<?php 
if (true == $isCallPanelLinkShown) {
    ?>
                    电话:<?php 
    echo XString::generateFakePhoneno($spaceBusinessRequirement->space->user->mobile);
    ?>
 | <a target="_blank" href="<?php 
    echo $callPanelLink;
    ?>
">点击进入呼叫医生界面</a>
                    &nbsp;&nbsp;&nbsp;&nbsp;
<?php 
}
?>

				           邮箱:<?php 
echo $spaceBusinessRequirement->space->user->email;
?>
				    &nbsp;</td>
			  	</tr>
Пример #2
0
        $doctorName = $user->space->host->name;
    }
    if (false == $user->space->host->hospitalfaculty->isNull()) {
        $hospitalFacultyName = $user->space->host->hospitalfaculty->name;
    }
    if (false == $user->space->host->hospitalfaculty->hospital->isNull()) {
        $hospitalName = $user->space->host->hospitalfaculty->hospital->commonName;
    }
    ?>
	<tr>
        <td width="10%">
<?php 
    if ($user->space->host->isNull()) {
        echo '找不到医生信息' . "({$sendlog->mobile})";
    } else {
        $mobile = XString::generateFakePhoneno($sendlog->mobile);
        echo "{$hospitalName} {$hospitalFacultyName} {$doctorName}" . '<br />' . "({})";
    }
    ?>
 
        </td>
        <td width="45%"><?php 
    echo $sendlog->content;
    ?>
</td>
        <td width="10%"><?php 
    echo $sendlog->ctime;
    ?>
</td>
        <td width="10%"><?php 
    echo $replylog->content;
Пример #3
0
 public function showOrderDetail($request, $response)
 {
     /*{{{*/
     $response->showContent = true;
     $orderId = $request->orderId;
     DBC::requireNotEmptyString($orderId, '无效的订单ID');
     $response->doctortype = $request->doctortype;
     $order = DAL::get()->mustFind('BookingOrder', $orderId, true);
     $space = $order->space;
     $taskList = DAL::get()->find_all_by_objectid_and_objecttype('BookingTask', $orderId, 'bookingorder');
     //约满
     $seatLimits = BookingClient::getInstance()->getseatLimitCount($order->space, date('Y-m-d', strtotime("+ 0 day")), date('Y-m-d', strtotime("+ 17 day")));
     //停诊
     $stopDiagnose = DAL::get()->find_all_by_spaceid('StopDiagnose', $order->space->id);
     $doctorOrderTotal = BookingClient::getInstance()->countDoctorOrder('BookingOrder', $order->space->id);
     $proposalIds = DAL::get()->querySpacePatientProposals('proposal', $order->space, array(), $order->patient->id);
     $proposals = DAL::get()->find('proposal', $proposalIds);
     $doctorPatientRef = new NullEntity();
     if (empty($proposalIds)) {
         $doctorPatientRef = DAL::get()->find_by_spaceid_and_patientid('doctorpatientref', $order->space->id, $order->patient->id);
     }
     $response->doctorPatientRef = $doctorPatientRef;
     $response->order = $order;
     $response->taskList = $taskList;
     $response->patientOrderTotal = BookingClient::getInstance()->countPatientOrder('BookingOrder', $order->user->id);
     $response->doctorOrderTotal = $doctorOrderTotal;
     $response->seatLimits = $seatLimits;
     $response->stopDiagnose = $stopDiagnose;
     //$bingLis4Schedule = BingLiDtoClient::getInstance()->getBingLiByRelatedObj($order->notification->proposal)->schedule;
     //$response->bingLiSchedule = $bingLis4Schedule[0]->schedule;
     //$response->bingLiAddress = BingLiDtoClient::getInstance()->getBingLiByRelatedObj($order->notification->proposal)->address;
     $response->space = $space;
     $response->doctorMobileEncoded = XString::encodeMobileNo($space->user->mobile);
     $response->doctorMobileFaked = XString::generateFakePhoneno($space->user->mobile);
     $response->cardOrderTotal = BookingClient::getInstance()->countCardOrder($order->patient->idcard);
     $response->mobileOrderTotal = BookingClient::getInstance()->countMobileOrder($order->patient->mobile);
     $response->patientDefaulted = BookingClient::getInstance()->countPatientDefaulted('BookingBlackList', $order->user->id, $order->patient->idcard, $order->user->mobile, $order->patient->mobile);
     $response->proposals = $proposals;
     $response->scheduleList = $this->getSchedule($order->space);
     $isMobileCallable = XString::isMobile($space->user->mobile);
     $isFixedLineCallable = XString::findPhoneNO($space->user->phone) != false;
     $response->isCallPanelLinkShown = $isMobileCallable || $isFixedLineCallable;
     $response->spaceBusinessRequirement = $space->getSpaceBusinessRequirement4Booking();
 }
Пример #4
0
        <th class="title" width="15%">发送时间</th> 
        <th class="title" width="60%">发送内容</th>
        <th class="title" width="5%">ext</th>
        <th class="title" width="5%">状态</th>
    </tr>
    
<?php 
if (empty($logList) == false) {
    foreach ($logList as $log) {
        ?>
    <tr> 
    <td><?php 
        if ($type == 'receive') {
            echo $log->mobile;
        } else {
            echo XString::generateFakePhoneno($log->mobile);
        }
        ?>
</td>
        <td><?php 
        echo $log->ctime;
        ?>
</td>
        <td><?php 
        echo $log->content;
        ?>
</td>
        <td><?php 
        echo $log->ext;
        ?>
</td>