if (IntentionLog::ACTION_AUDIT_GROUP_COPY_TO_CHARGE == $l->action) { $chargeLogs[$l->id] = $l; } else { if (IntentionLog::ACTION_AUDIT_GROUP_RETURN_TO_UNCHARGE == $l->action) { $unChargeLogs[$l->id] = $l; } } } } } if (false == empty($chargeLogs)) { $log = IntentionLog::load(end($chargeLogs)); $commentStr .= '提取人:' . $log->owner->getRealName() . '; 提取时间:' . $log->ctime . '; 提取原因:' . $log->content . '<br />'; } if (false == empty($unChargeLogs)) { $log = IntentionLog::load(end($unChargeLogs)); $commentStr .= '上交人:' . $log->owner->getRealName() . '; 上交时间:' . $log->ctime . '; 上交原因:' . $log->content . '<br />'; } $comments = array_unique($comments); $commentStr .= implode('<br /> ', $comments); if (strlen(trim($commentStr)) > 0) { ?> <div class="detail-module_splitter"> <div class="detail-module_title"> <h3>上交/放回一级/付费方案备注</h3> </div> <div class="detail-admincomment"> <?php echo $commentStr; ?> </div>
if (false == empty($logs)) { ?> <div class="tb">管理员备注:</div> <table class="question_table mb20"> <thead class="check_audit"> <tr> <th>#</th> <th>时间</th> <th>操作人</th> <th>描述</th> </tr> </thead> <tbody> <?php foreach ($logs as $num => $log) { $log = IntentionLog::load($log); ?> <tr> <td nowrap=""><?php echo $num + 1; ?> </td> <td nowrap=""><?php echo $log->ctime; ?> </td> <td nowrap=""><?php echo $log->owner->realName; ?> </td> <td><?php