23 if ($soxId !=
"-1" && isset($soxId)) {
25 $odeliveryset =
oxNew(
"oxdeliveryset");
26 $odeliveryset->setLanguage($this->_iEditLang);
27 $odeliveryset->load($soxId);
29 $oOtherLang = $odeliveryset->getAvailableInLangs();
31 if (!isset($oOtherLang[$this->_iEditLang])) {
33 $odeliveryset->setLanguage(key($oOtherLang));
34 $odeliveryset->load($soxId);
37 $this->_aViewData[
"edit"] = $odeliveryset;
40 if ($odeliveryset->isDerived()) {
41 $this->_aViewData[
'readonly'] =
true;
47 $oDeliverysetPaymentAjax =
oxNew(
'deliveryset_payment_ajax');
48 $this->_aViewData[
'oxajax'] = $oDeliverysetPaymentAjax->getColumns();
50 return "popups/deliveryset_payment.tpl";
51 } elseif ($iAoc == 2) {
52 $oDeliverysetCountryAjax =
oxNew(
'deliveryset_country_ajax');
53 $this->_aViewData[
'oxajax'] = $oDeliverysetCountryAjax->getColumns();
55 return "popups/deliveryset_country.tpl";
58 return "deliveryset_payment.tpl";