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

Using Component (repeatable) #6

Open
sirmany opened this issue Dec 27, 2024 · 2 comments
Open

Using Component (repeatable) #6

sirmany opened this issue Dec 27, 2024 · 2 comments

Comments

@sirmany
Copy link

sirmany commented Dec 27, 2024

How can I use a Component (repeatable) in the PDF? What type of field should be used in the PDF?

Example: I want to generate a PDF of an invoice and include the detail lines of the items to be billed.

@redondi88
Copy link
Member

Currently there is no looping in the generation of PDFs.

Options are to extend the plugin, or to create a field for each line. Template PDFs need fixed names.
Might be a good idea for future updates to the plugin :)

@sirmany
Copy link
Author

sirmany commented Dec 27, 2024

Finally, I made a component with pdf-lib to handle the invoice generation.

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