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

added missing billing profile vat code to invoice #1140

Merged
merged 6 commits into from
Sep 25, 2023

Conversation

OlegPhenomenon
Copy link
Contributor

@OlegPhenomenon OlegPhenomenon commented Sep 21, 2023

closed #1127

What happened?
Judging by this error #1127, the specific invoice view is missing the user profile's VAT code for which the invoice was generated.

What did you do?
I added a condition: if the user has a VAT code, it should be displayed in the view; if not, it should be omitted.

How to test?
Simply check the invoice: if the invoice is generated for a billing profile that has a VAT code, then this code should be displayed in the view. If not, it should be absent. Another test scenario could be to generate an invoice for a billing profile that has a VAT code, and then delete that billing profile. In either case, the VAT code should be displayed.

@viezly
Copy link

viezly bot commented Sep 21, 2023

Changes preview:

Legend:

👀 Review pull request on Viezly

@vohmar
Copy link
Contributor

vohmar commented Sep 22, 2023

the vat code is listed under issuer data, should be with the customer data

image

PDF is OK

@vohmar vohmar assigned OlegPhenomenon and unassigned vohmar Sep 22, 2023
@OlegPhenomenon OlegPhenomenon force-pushed the missing-vat-code-in-profile branch from dbddbe3 to 8e7de8a Compare September 25, 2023 10:15
@OlegPhenomenon OlegPhenomenon force-pushed the missing-vat-code-in-profile branch from 5af7a55 to f0875db Compare September 25, 2023 13:25
@vohmar vohmar merged commit c3d62ca into master Sep 25, 2023
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.

Invoice is lacking VAT code of the billing profile
2 participants