25 if ($soxId !=
"-1" && isset($soxId)) {
29 $oDelivery =
oxNew(
"oxdelivery");
30 $oDelivery->load($soxId);
31 $this->_aViewData[
"edit"] = $oDelivery;
34 if ($oDelivery->isDerived()) {
35 $this->_aViewData[
'readonly'] =
true;
41 $oDeliveryArticlesAjax =
oxNew(
'delivery_articles_ajax');
42 $this->_aViewData[
'oxajax'] = $oDeliveryArticlesAjax->getColumns();
44 return "popups/delivery_articles.tpl";
45 } elseif ($iAoc == 2) {
46 $oDeliveryCategoriesAjax =
oxNew(
'delivery_categories_ajax');
47 $this->_aViewData[
'oxajax'] = $oDeliveryCategoriesAjax->getColumns();
49 return "popups/delivery_categories.tpl";
52 return "delivery_articles.tpl";