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

rename zu-/abschlag ENUMs for Rechnungsposition #332

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion com/rechnungsposition_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func Test_Rechnungsposition_Deserialization(t *testing.T) {
Waehrung: waehrungscode.EUR,
},
TeilrabattNetto: nil,
Zuschlag: internal.Ptr(rechnungspositionszuschlag.ANPASSUNG_PAUSCHALE_NETZENTGELTREDUZIERUNG),
Zuschlag: internal.Ptr(rechnungspositionszuschlag.PAUSCHALE_NETZENTGELTREDUZIERUNG_ENWG_14A),
Gesamtzuabschlagsbetrag: internal.Ptr(newDecimalFromString("13.5")),
}
serializedRechnungsposition, err := json.Marshal(rechnungsposition)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ package rechnungspositionsabschlag
type RechnungspositionsAbschlag int

const (
GEMEINDERABATT RechnungspositionsAbschlag = iota + 1 // Gemeinderabatt nach Konzessionsabgabenverordnung
ABSCHLAG_ANPASSUNG // Anpassung nach § 19, Absatz 2 Stromnetzentgeltverordnung
GEMEINDERABATT RechnungspositionsAbschlag = iota + 1 // Gemeinderabatt nach Konzessionsabgabenverordnung
ANPASSUNG_STROM_NEV_19_2 // Anpassung nach § 19, Absatz 2 Stromnetzentgeltverordnung
)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type RechnungspositionsZuschlag int

const (
UMSPANNUNGSZUSCHLAG RechnungspositionsZuschlag = iota + 1 //
ALLEIN_GENUTZTE_BETRIEBSMITTEL
ZUSCHLAG_ANPASSUNG
ANPASSUNG_PAUSCHALE_NETZENTGELTREDUZIERUNG
ALLEIN_GENUTZTE_BETRIEBSMITTEL_STROM_NEV
ANPASSUNG_STROM_NEV_19_2
PAUSCHALE_NETZENTGELTREDUZIERUNG_ENWG_14A
)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading