26 if ( $soxId !=
"-1" && isset( $soxId)) {
30 $oDelivery =
oxNew(
"oxdelivery" );
31 $oDelivery->load( $soxId);
32 $this->_aViewData[
"edit"] = $oDelivery;
35 if ($oDelivery->isDerived())
36 $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";