view['oCalculation']; if ($this->getBackendTaxView() === WPSG_NETTO) $strBN = 'NETTO'; else $strBN = 'BRUTTO'; $arCalculation = $oCalculation->getCalculationArray(); $voucher = [ 'code' => '', 'id' => 0, 'set' => 0, 'type' => 'voucher' ]; // Voucher suchen foreach (array_merge($arCalculation['voucher'], $arCalculation['coupon']) as $v) { if ($v['order_voucher_id'] == $_REQUEST['order_voucher_id']) { $voucher = $v; } } $strVal = ((isset($voucher['set']))?$voucher['set']:0); if (strpos($strVal, '%') !== false) $strVal = wpsg_ff(wpsg_tf($strVal), '%'); else $strVal = wpsg_ff(wpsg_tf($strVal), $this->get_option('wpsg_currency')); ?>