Skip to content

Implement COM Betrag#231

Merged
hf-kklein merged 10 commits intomasterfrom
betrag
Dec 8, 2021
Merged

Implement COM Betrag#231
hf-kklein merged 10 commits intomasterfrom
betrag

Conversation

@hf-kklein
Copy link
Copy Markdown
Contributor

@hf-kklein hf-kklein commented Dec 8, 2021

Fixes #144

@hf-kklein hf-kklein self-assigned this Dec 8, 2021
@hf-kklein hf-kklein requested review from a team and hf-fvesely December 8, 2021 14:47
"""

# required attributes
wert = fields.Decimal(as_string=True, places=6)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this places=6 defined?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nirgends. ich schau mal, ob ich was drum rum gebaut kriege.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Co-authored-by: Kevin <68426071+hf-krechan@users.noreply.github.com>
class Betrag(COM):
"""
Die Komponente wird dazu verwendet, Summenbeträge (beispielsweise in Angeboten und Rechnungen) als Geldbeträge abzubilden.
Die Einheit ist dabei immer die Hauptwährung also Euro, Dollar etc…
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hf-kklein hf-kklein requested a review from hf-krechan December 8, 2021 15:19
@hf-kklein hf-kklein merged commit 4ceb855 into master Dec 8, 2021
@hf-kklein hf-kklein deleted the betrag branch December 8, 2021 15:24
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.

Implement COM Betrag

2 participants