foreach ($voucherPrices as $voucherPrice) { $sql = '
INSERT INTO s_order_basket (
sessionID, articlename, articleID, ordernumber, shippingfree,
quantity, price, netprice,tax_rate, datum, modus, currencyFactor
)
VALUES (?,?,?,?,?,1,?,?,?,?,2,?)
';
$params =
[ $this->session->
get('sessionId'
),
$voucherName .
($hasMultipleTaxes ? ' (' .
$voucherPrice->
getTaxRate() . '%)' : ''
),
$voucherDetails['id'
],
$voucherDetails['ordercode'
],
$freeShipping,
$voucherPrice->
getPrice(),
$voucherPrice->
getNetPrice(),
$voucherPrice->
getTaxRate(),
$timeInsert,
$this->sSYSTEM->sCurrency
['factor'
],
];
$sql =
$this->eventManager->
filter(