45 if ($soxId !=
"-1" && isset($soxId)) {
47 $oVoucherSerie =
oxNew(
"oxvoucherserie");
48 $oVoucherSerie->load($soxId);
49 $this->_aViewData[
"edit"] = $oVoucherSerie;
70 $oVoucherSerie =
oxNew(
"oxvoucherserie");
73 $oVoucherSerie->load($soxId);
75 $aSerieParams[
"oxvoucherseries__oxid"] = null;
80 $aSerieParams[
"oxvoucherseries__oxdiscount"] = abs($aSerieParams[
"oxvoucherseries__oxdiscount"]);
82 $oVoucherSerie->assign($aSerieParams);
83 $oVoucherSerie->save();
97 return $oSerie->countVouchers();
116 if ($this->_oVoucherSerie == null) {
117 $oVoucherSerie =
oxNew(
"oxvoucherserie");
120 $this->_oVoucherSerie = $oVoucherSerie;
132 $this->_aViewData[
'refresh'] = 0;
133 $this->_aViewData[
'iStart'] = 0;
136 $this->_aViewData[
'iEnd'] = $iEnd;