Преглед на файлове

Correctif avant mise en ligne #14

develop
Fabien Normand преди 2 години
родител
ревизия
1117f539ef
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      Solver/Order/OrderProductReductionCatalogSolver.php

+ 2
- 2
Solver/Order/OrderProductReductionCatalogSolver.php Целия файл

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

Loading…
Отказ
Запис