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

table like view for invoice positions #45

Open
FrankStrieter opened this issue May 10, 2024 · 5 comments
Open

table like view for invoice positions #45

FrankStrieter opened this issue May 10, 2024 · 5 comments

Comments

@FrankStrieter
Copy link

FrankStrieter commented May 10, 2024

Hey,
It would be helpful if quba would provide a view where every invoice positions are listed as they will be on a PDF invoice.

I've seen, that itplr-kosit provides such a template, but I was not able to add it to qoba.
https://github.com/itplr-kosit/xrechnung-visualization/blob/master/src/xsl/xr-pdf.xsl

I get transformation errors:

Transformation failure: Error XTDE0044
  No source input supplied for apply-templates invocation

and errors at runtime

Transformation failure: Error FODF1310 at xr-content.xsl#201
  Invalid picture: mantissa contains no digits

We need to check manually if the delivered articles match with the positions on the invoice. For that case a table-like view is much better than the box view.

Can somebody look at this or help me with the errors above?

@FrankStrieter FrankStrieter changed the title view for pdf-like table like view for invoice positions May 10, 2024
@jstaerk
Copy link
Contributor

jstaerk commented May 10, 2024

Shall we have a 60min-webex e.g. on Wednesday 22nd 11 or 15°° CET?
My issue is much less the conversion but it's output, as it will be an intermediate format, namely XML:FO which in java (->Mustangproject) I would convert to PDF(/A) using Apache FOP. Do you already have an idea for a javascript-library to convert from FO to PDF?

@FrankStrieter
Copy link
Author

sure let's make 11 CEST. If you want, you can check my calendar or make an appointment here:
https://calendly.com/frank-strieter/60-minuten-besprechung

@FrankStrieter
Copy link
Author

FrankStrieter commented May 10, 2024

Do you already have an idea for a javascript-library to convert from FO to PDF?

Unfortunately there is no such library but maybe the java tool or https://www.nuget.org/packages/FOP.NetCore/ can be integrated in electron.

@jstaerk
Copy link
Contributor

jstaerk commented May 10, 2024

I believe we do need to solve the fop problem first, otherwise we can not use the output at all. Plus 22nd 11°° is not available on your calendar :-|

@FrankStrieter
Copy link
Author

FrankStrieter commented May 10, 2024

Now it is, I'll make a POC to get FOP running in electron.

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

No branches or pull requests

2 participants