[FEATURE] Add support to CurrencyViewHelper for mdash 31/57331/6
authorTimo Poppinga <timo.poppinga@zdrei.com>
Fri, 22 Jun 2018 23:45:00 +0000 (01:45 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Sat, 23 Jun 2018 14:41:12 +0000 (16:41 +0200)
commitcc60ee08f32d7c0f50680e779cbd37bd7e920293
tree82eca0bbbc6f28c2a78398e656b7f75ad3a901bd
parent21a8cbc6078dce1e30b407064459cb3228c8252b
[FEATURE] Add support to CurrencyViewHelper for mdash

If the option `useDash` is set and a round value is given,
the decimal place is rendered as a dash.
Do tests refactor, using value data provider for all tests.

Change-Id: Idd1a0216c7ff58394cf676bf14fb2042c823e4d6
Resolves: #85356
Releases: master
Reviewed-on: https://review.typo3.org/57331
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Marcus Schwemer <ms@schwemer.de>
Tested-by: Marcus Schwemer <ms@schwemer.de>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Feature-57331-SupportMdashInCurrencyViewHelper.rst [new file with mode: 0644]
typo3/sysext/fluid/Classes/ViewHelpers/Format/CurrencyViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/CurrencyViewHelperTest.php