소스 검색

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…
취소
저장