Beispiel #1
0
 public function order($oID)
 {
     $order = VividOrder::getByID($oID);
     $this->set("order", $order);
     $this->set('orderStatuses', OrderStatus::getList());
     $this->requireAsset('javascript', 'vividStoreFunctions');
 }
Beispiel #2
0
 public function order($oID)
 {
     $order = VividOrder::getByID($oID);
     $this->set("order", $order);
     $this->set('orderStatuses', OrderStatus::getList());
     $pkg = Package::getByHandle('vivid_store');
     $packagePath = $pkg->getRelativePath();
     $this->addFooterItem(Core::make('helper/html')->javascript($packagePath . '/js/vividStoreFunctions.js'));
 }