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') { if(count($this->paginator)) { echo '生成pdf '; if($this->offlineappid >1) { if(empty($this->applicationform)) { echo '上传pdf'; } else { echo '重新上传pdf 确认订单'; } } } } elseif ($this->tabID=='order-offline3') { if(count($this->paginator)) { echo "请等待审核"; } } elseif ($this->tabID=='order-offline4') { echo '通过时间'; } ?> | paginator as $order) : ?>|
---|---|---|---|
tabID=='order-offline1') { echo '放入订单 移除'; } elseif ($this->tabID=='order-offline2') { switch($order['status']) { case 2: if(empty($order['applicationform'])) echo "请生成pdf并上传".' 移除'; else echo 'PDF已上传,请确认订单'; break; case 3: 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'])); } ?> |