Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/845 ch label #884

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Bug/845 ch label #884

wants to merge 2 commits into from

Conversation

clean-coder
Copy link
Collaborator

Es ist nicht nur CHF falsch, sondern auch EUR und FTE. Dies ist mal ein fix, dass CHF/EUR/FTE ok ausschauen.

Fragen:

UnitValueTransformationPipe.ts

  • warum ist CHF und Euro verschieden, d.h. warum wird addCHFSign gebraucht? Warum ".-" bei CHF und nicht bei EUR?
  • irgendwie unglücklich, dass man eine Klasse für Labels hat, aber hier Teile der Labels wieder handcodiert

UnitLabelTransformationPipe.ts:

  • ist eigentlich das Label zur Unit, aber es gibt das Problem, dass das Label je nach Unit vor oder nach der Unit stehen sollte (nur die Klasse weiss das nicht)
  • aktuelle Implementation macht wenig sinn, denn es wird immer "" zurückgegeben um das "Label vor/nach Unit" zu handeln

Vorschlag:

  • mal ein Story machen, wo das das Zusammenspiel der Value, Label und Html verbessert wird

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant