headTitle($this->config->title->site); $this->headTitle($this->config->title->data); $this->headTitle('离线申请'); $this->headTitle()->setSeparator(' - '); $this->nav[] = array('link'=>"/data/order",'title'=>'数据蓝'); $this->theme->AppendPlus($this,'colorbox'); $this->theme->AppendPlus($this,'uploadify'); $this->theme->AppendModel($this,'offlineapp-uploader'); ?> = $this->render('breadcrumbs.phtml') ?>
时间 | 标题 | tabID=='order-offline1') { echo '提交所有数据(一次最多5条)'; } elseif ($this->tabID=='order-offline2') { echo '提交离线申请'; } elseif ($this->tabID=='order-offline3') { if(count($this->paginator)) { if(empty($this->applicationform)) echo '上传申请表'; else if($this->offlineappstatus == 3) { echo '重新上传申请表 '; echo '确认申请'; } } } elseif ($this->tabID=='order-offline4') { echo '通过时间'; } ?> | paginator as $order) : ?>
---|---|---|
tabID=='order-offline1') { echo '提交 取消'; } elseif ($this->tabID=='order-offline2') { switch($order['status']) { case 2: echo "请生成PDF申请表"; echo ' 取消'; break; case 3: if(!empty($order['applicationform'])) echo '申请表已上传'; else echo '请上传申请表'; break; default: break; } } elseif ($this->tabID=='order-offline3') { switch($order['status']) { case 3: if(!empty($order['applicationform'])) echo '申请表已上传'; else echo '请上传申请表'; break; case 4: if(!empty($order['applicationform'])) { echo "已收到申请,请等待审批。日期:";echo date('Y-m-d',strtotime($order['ts_received']));} else echo '请上传申请表'; break; case 5: echo "已通过申请,请查收邮件"; break; default: break; } } elseif ($this->tabID=='order-offline4') { echo date('Y-m-d',strtotime($order['ts_approved'])); } ?> |