source/Application/Controller/Admin/VoucherSerieList.php
public function deleteEntry()
    {
        // first we remove vouchers
        $oVoucherSerie = oxNew(\OxidEsales\Eshop\Application\Model\VoucherSerie::class);
        $oVoucherSerie->load($this->getEditObjectId());
        $oVoucherSerie->deleteVoucherList();

        parent::deleteEntry();
    }
public function deleteEntry()
    {
        // first we remove vouchers
        $oVoucherSerie = oxNew(\OxidEsales\Eshop\Application\Model\VoucherSerie::class);
        $oVoucherSerie->load($this->getEditObjectId());
        $oVoucherSerie->deleteVoucherList();

        parent::deleteEntry();
    }
public function deleteEntry ( ) { // first we remove vouchers $ oVoucherSerie = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ VoucherSerie :: class ) ; $ oVoucherSerie -> load ( $ this -> getEditObjectId ( ) ) ; $ oVoucherSerie -> deleteVoucherList ( ) ; parent :: deleteEntry ( ) ; }
Deletes selected Voucherserie.
Deletes selected Voucherserie .