Pārlūkot izejas kodu

Correctif avant mise en ligne #14

develop
Fabien Normand pirms 2 gadiem
vecāks
revīzija
1117f539ef
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      Solver/Order/OrderProductReductionCatalogSolver.php

+ 2
- 2
Solver/Order/OrderProductReductionCatalogSolver.php Parādīt failu

@@ -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;

Notiek ielāde…
Atcelt
Saglabāt