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

Add API to pre-populate fields #27

Open
cdman opened this issue Jun 7, 2018 · 2 comments
Open

Add API to pre-populate fields #27

cdman opened this issue Jun 7, 2018 · 2 comments

Comments

@cdman
Copy link

cdman commented Jun 7, 2018

The use-case would be to pre-populate an invoice but still allow the user update/edit the information before generating/sending the final invoice. Something like:

If you go to https://invoice-generator.com/?from=foo&to=bar then the "From" and "To" fields should be pre-populated with "foo" and "bar" respectively.

@jaredk2g
Copy link
Collaborator

jaredk2g commented Jun 7, 2018

This is an interesting request. Do you mind sharing more about why you want to do this?

@cdman
Copy link
Author

cdman commented Jun 17, 2018

@jaredtking - I would like to provide a button to my colleagues to create an invoice for a set of orders from our clients. However sometimes clients ask for customizations and I want to give my colleagues the option to edit the different fields before creating the PDF and sending it to the client.

I imagine in 99% of the cases they will just click the "Download Invoice" link, but for the 1% of the cases it would be great to be able to edit some fields before generating the invoice.

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