Can I use the template with my own system?

33 views
Skip to first unread message

Stefan Chachovski

unread,
Mar 29, 2023, 1:00:20 PM3/29/23
to FAQ - Invoice Templates by Invoicebus https://invoicebus.com/templates
Yes, just make sure you comply with the template license.

If you decide to use the template with your system, you may want to remove the JS code from the template.html file. The JS contains all the logic for the invoice editor but if you only need the template design you probably won't need the JS logic - it may only cause conflicts with your system.

To remove the JS script, edit the template.html file with any text editor and remove the <script> tag at the bottom of the file, near the closing </body> tag.

Please note, when you remove the script, the next time you open the template.html file in a browser, the width of the container/invoice will automatically be set to 100% of the window. The invoice layout might look strange and broken but no worries, it is not. Also, all command buttons at the top will be removed. 


To implement the invoice template in your system properly, you need to adjust the width of the container according to your needs. For A4/Letter print format, we suggest 820px for the container width but you can experiment with other sizes depending on your requirements. You can set the width of the #container element in the /css/template.css file.


For example:

#container {

    ....

    width: 820px;
}
Reply all
Reply to author
Forward
0 new messages