44 if ( $soxId !=
"-1" && isset( $soxId ) ) {
46 $oVoucherSerie =
oxNew(
"oxvoucherserie" );
47 $oVoucherSerie->load( $soxId );
48 $this->_aViewData[
"edit"] = $oVoucherSerie;
69 $oVoucherSerie =
oxNew(
"oxvoucherserie" );
71 if ( $soxId !=
"-1" ) {
72 $oVoucherSerie->load( $soxId );
74 $aSerieParams[
"oxvoucherseries__oxid"] = null;
79 $aSerieParams[
"oxvoucherseries__oxdiscount"] = abs($aSerieParams[
"oxvoucherseries__oxdiscount"]);
81 $oVoucherSerie->assign( $aSerieParams );
82 $oVoucherSerie->save();
96 return $oSerie->countVouchers();
117 if ( $this->_oVoucherSerie == null ) {
118 $oVoucherSerie =
oxNew(
"oxvoucherserie" );
121 $this->_oVoucherSerie = $oVoucherSerie;
134 $this->_aViewData[
'refresh'] = 0;
135 $this->_aViewData[
'iStart'] = 0;
138 $this->_aViewData[
'iEnd'] = $iEnd;