Explorar el Código

Correctif avant mise en ligne #14

develop
Fabien Normand hace 2 años
padre
commit
1117f539ef
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      Solver/Order/OrderProductReductionCatalogSolver.php

+ 2
- 2
Solver/Order/OrderProductReductionCatalogSolver.php Ver fichero

@@ -12,11 +12,11 @@ class OrderProductReductionCatalogSolver
$text = '';

if ($orderProductReductionCatalog->getUnit() == 'amount') {
$text .= '- ' . $orderProductReductionCatalog->getValue() . ' €';
$text .= '- ' . number_format($orderProductReductionCatalog->getValue(),2) . ' €';
}

if ($orderProductReductionCatalog->getUnit() == 'percent') {
$text .= '- ' . $orderProductReductionCatalog->getValue() . ' %';
$text .= '- ' . number_format($orderProductReductionCatalog->getValue(),2) . ' %';
}

return $text;

Cargando…
Cancelar
Guardar