fix syntax error in previous commit

This commit is contained in:
Harald Welte 2022-07-05 14:14:13 +02:00
parent 1c17795687
commit 7327c026a2
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class SmcDeliveryProcessor implements CartProcessorInterface, CartDataCollectorI
$transport_insurance = (0.0035 * $value);
/* convert into a gross price, as API returns net */
$quote_eur_gross = round($quote_eur + $margin + $transport_insurance), 2);
$quote_eur_gross = round($quote_eur + $margin + $transport_insurance, 2);
if ($context->getTaxState() === CartPrice::TAX_STATE_GROSS) {
/* FIXME: don't use static 19% but destination country specific rate */
$quote_eur_gross = $quote_eur_gross * 1.19;