Open shime opened 6 years ago
@shime, after click Save & Preview, you'll be able to customize the invoice. Right now there's no standard way to add a new template via the UI, but it's fairly simple:
If you don't have time to check out the code, just put up the HTML/CSS somewhere, I'll take care of the last 2 steps.
Hey @hql287 can you provide a short documentation (maybe in the wiki?) how to add a custom template? :)
I've seen the only thing i would have to do is add a new react-component in the Manta/preview/templates/
folder using the passed props.
But how can i add my template / react-component to the app? Is there a folder on my mac where i can put this files and Manta detects my components..
Merci
There’s no way to do it at the moment. You’ll need to write custom components and recompile your own version of the app.
I’m thinking maybe in the near future, I’ll make it a way for people to develop/use custom templates. Maybe using something like a template engines.
What do you think?
I think that in the absence of full custom templates built from scratch, that having some control over font size, face, color and leading would be a great alternative. Probably less time consuming to implement?
Is it a bug or a feature request?
Which version are you using?
Which is the version/distribution of the OS?
El Capitan
Describe your issue
I can't find a way to customize templates. What should I do to make a new custom template?