aimeos / aimeos-core

Aimeos PHP e-commerce framework for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce
https://aimeos.org
Other
3.38k stars 116 forks source link

[Feature] Generate PDF invoices from HTML #95

Closed faerietree closed 7 years ago

faerietree commented 7 years ago

Ideally provided in the order history of accounts as well as attached to order confirmation mails (maybe).

Actually it's even enough to render the summary HTML to PDF if the VAT tax numbers of both parties are included (and all other information that is obligatory).

aimeos commented 7 years ago

For invoices you need data that isn't present in Aimeos, such as the seller address, VAT ID, bank account and others. An option would be to require a PDF template that can be filled with the order data but one major problem will remain: These PDFs need a fixed layout because working with PDFs is like drawing in a vector painting program.

faerietree commented 7 years ago

hm. Using a new scheduler job that is at least as frequent as Payment related email the invoices can be directly generated from the HTML. Maybe this is more suitable for a separate extension (TYPO3 in the case of @HAMAG-honey-gem & @worlddevelopment).

Also instead of attaching directly to the email it might be wiser to rather insert a link into the Email.

The extra information is doable. Thank you for the feedback. :-)