headTitle($this->config->title->site); $this->headTitle($this->config->title->data); $this->headTitle('Offline Application'); $this->headTitle()->setSeparator(' - '); $this->nav[] = array('link'=>"/data/order",'title'=>'Cart'); $this->theme->AppendPlus($this,'colorbox'); $this->theme->AppendPlus($this,'uploadify'); $this->theme->AppendModel($this,'offlineapp-uploader'); ?> render('breadcrumbs.phtml') ?>

Ordering Cart


msg)) { echo $this->msg; } ?> paginator)) : ?> tabID=='order-offline2') { ?>
Note: One order require 3 steps, first generate the PDF, second upload the pdf with personal signature, and confirm the order. Please make sure the data list in your uploaded pdf is same as your order.
paginator as $order) : ?>
Date Title tabID=='order-offline1') { echo 'Put all into Application(maximum is 5)'; } elseif ($this->tabID=='order-offline2') { if(count($this->paginator)) { echo 'pdf '; if($this->offlineappid >1) { if(empty($this->applicationform)) { echo 'upload pdf'; } else { echo 're-upload pdf confirm order'; } } } } elseif ($this->tabID=='order-offline3') { if(count($this->paginator)) { echo "Wait approvement"; } } elseif ($this->tabID=='order-offline4') { echo 'Approved time'; } ?>
tabID=='order-offline1') { echo 'put into order remove'; } elseif ($this->tabID=='order-offline2') { switch($order['status']) { case 2: if(empty($order['applicationform'])) echo "Please scan the pdf and upload".' remove'; else echo 'You have uploaded the PDF, please confirm the order'; break; case 3: echo 'PDF has been uploaded.'; break; default: break; } } elseif ($this->tabID=='order-offline3') { switch($order['status']) { case 3: if(!empty($order['applicationform'])) echo 'PDF has been uploaded.'; else echo 'Please upload the PDF'; break; case 4: if(!empty($order['applicationform'])) { echo "The order has received, please wait the approvement. Date: ";echo date('Y-m-d',strtotime($order['ts_received']));} else echo 'Please upload the PDF'; break; case 5: echo "Approved, please check email"; break; default: break; } } elseif ($this->tabID=='order-offline4') { echo date('Y-m-d',strtotime($order['ts_approved'])); } ?>
partial('data/offlineapp-uploaderform.phtml'); ?>