Improve monthly price formatting in extra fields

Created on 26 February 2024, 4 months ago
Updated 26 March 2024, 3 months ago

Problem/Motivation

Currently the (monthly) extra field only returns the value, without " per month" or something like that, which is not totally correct though.

The reason is, that extra fields are very limited in general, and I was unsure what's the best place. I'm still unsure ;)

Furthermore we should propably set NumberFormatter::MIN_FRACTION_DIGITS to shorten the price, if there are no digits.
(https://www.php.net/manual/en/class.numberformatter.php#numberformatter....)

https://git.drupalcode.org/project/billwerk_subscriptions/-/blob/1.x/mod...

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024