quba-viewer
quba-viewer copied to clipboard
table like view for invoice positions
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?
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?
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.
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 :-|
Now it is, I'll make a POC to get FOP running in electron.
Hi @jstaerk is there any progress on this?
fop is now integrated in mustang and maybe there will be an endpoint in Mustangserver 1.4.0 in which case I could show you how to call Mustangserver to get the pdf.