Added contact info and journal link to Cpeprovisioning
This commit is contained in:
@@ -16,14 +16,27 @@ class OrderController extends mfBaseController {
|
||||
|
||||
protected function indexAction() {
|
||||
$this->layout()->setTemplate("Order/Index");
|
||||
//$this->layout()->set("orders", OrderModel::getAll());
|
||||
|
||||
if($this->request->id && $this->me->is("Admin")) {
|
||||
$order = new Order($this->request->id);
|
||||
if($order->id) {
|
||||
$this->layout()->set("orders", [$order]);
|
||||
$this->layout()->set("highlight", $this->request->id);
|
||||
$this->layout()->set("mynetworks", NetworkModel::getAll());
|
||||
|
||||
if($this->request->addJournal) {
|
||||
$this->layout()->set("addJournal", true);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
$filter = [];
|
||||
|
||||
$this->layout->set("filter", $this->request->filter);
|
||||
//if($this->request->filter) {
|
||||
$filter = $this->getPreparedFilter($this->request->filter);
|
||||
//}
|
||||
//var_dump($filter);exit;
|
||||
$filter = $this->getPreparedFilter($this->request->filter);
|
||||
|
||||
// pagination defaults
|
||||
$pagination = [];
|
||||
$pagination['start'] = 0;
|
||||
|
||||
Reference in New Issue
Block a user