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

Hide country code for CH and FL on payment parts #69

Merged
merged 3 commits into from
Jul 14, 2020
Merged

Conversation

sprain
Copy link
Owner

@sprain sprain commented Jul 14, 2020

Fixes #68

Removes the country codes for CH and FL on payment parts.

The implementation is based on https://github.com/swico/qr-bill/issues/1:

When the country code is CH or LI it should not be printed. (https://github.com/swico/qr-bill/issues/1#issuecomment-576514847)

SIX confirmed that the country code has to appear before the ZIP code, as stored in the XML, that is as a two-letter ISO language code. (https://github.com/swico/qr-bill/issues/1#issuecomment-589725140)

@sprain sprain merged commit 0582220 into master Jul 14, 2020
@sprain sprain deleted the hide-country-code branch July 14, 2020 07:53
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.

country code should not precede postal code
1 participant