Difference between revisions of "PDF templates"
(→Add images) |
(→Add images) |
||
Line 269: | Line 269: | ||
[[File:Upload image.1.png|border|1070px]] | [[File:Upload image.1.png|border|1070px]] | ||
− | The uploaded image will be displayed on the | + | The uploaded image will be displayed on the '''PDF template images''' page, and you will be able to add it to the templates: |
[[File:Uploaded images list.png|border|1070px]] | [[File:Uploaded images list.png|border|1070px]] | ||
− | Find the needed template and click "Update": | + | Find the needed template and click '''"Update"''': |
[[File:Update the template.png|border|1070px]] | [[File:Update the template.png|border|1070px]] | ||
− | To add the image, please use the corresponding HTML markup elements and attributes: <img src="{IMAGE:visa_logo}" alt=""/> | + | To add the image, please use the corresponding HTML markup elements and attributes: '''<img src="{IMAGE:visa_logo}" alt=""/>''' |
− | [[File: | + | [[File:Add image to template (html).png|border|1070px]] |
+ | |||
+ | This is how the added images will look like on the PDF file: | ||
+ | |||
+ | [[File:Pdf example.png|border|1070px]] | ||
=='''XHTML elements and attributes'''== | =='''XHTML elements and attributes'''== |
Revision as of 10:04, 15 August 2022
Contents
PDF Templates
You can create PDF templates for client invoices, vendor invoices, quotes, and job PO.
PDF templates text can contain valid XHTML 1.0 markup. Allowed XHTML elements: a, b, br, div, h1, h2, h3, h4, h5, h6, hr, i, li, ol, p, span, ul. Allowed attributes: href, style.
To create a template, go to Settings → PDF Templates:
You always can clone, update or delete the templates:
Client invoice PDF templates
To create the client invoice PDF template, go to Settings → PDF Templates → Client invoice:
Click "New PDF template":
Fill in the fields, select the needed options and click "Create":
- Name — the name of the template;
- Page size — select A4 or a letter size;
- Page orientation — select the portrait or landscape page orientation;
- Top margin, mm — the top margin height in millimeters;
- Bottom margin, mm — the bottom margin height in millimeters;
- Locale — locale defines the language of the template text;
- Page header — the text that appears at the top of the page;
- Page footer — the text that appears at the bottom of the page;
- Common note — this field is used for any additional notes;
- Include CAT log details — unmark this checkbox if you want to remove CAT log details from the PDF template.
You can define a default client invoice PDF template that will be applied to invoices for all the new clients.
Go to the Account page, scroll down to the Account settings, and click "Update":
Select the needed one from the drop-down list and click "Update":
You can also select the default client invoice PDF template for a particular client.
Go to the needed client profile, scroll down to the Settings section and click "Update":
Select the template from the drop-down list and click "Update":
If needed, you can select the template for a specific client invoice. Open the needed invoice and click "Update":
Choose the template from the drop-down list and click "Update":
Back to the table of contents.
Vendor invoice PDF templates
To add the vendor invoice PDF templates, go to Settings → PDF Templates → Vendor invoice:
Click "New PDF template":
Fill in the fields, select the needed options and click "Create":
- Name — the name of the template;
- Page size — select A4 or a letter size;
- Page orientation — select the portrait or landscape page orientation;
- Top margin, mm — the top margin height in millimeters;
- Bottom margin, mm — the bottom margin height in millimeters;
- Locale — locale defines the language of the template text;
- Page header — the text that appears at the top of the page;
- Page footer — the text that appears at the bottom of the page;
- Common note — this field is used for any additional notes;
- Include CAT log details — unmark this checkbox if you want to remove CAT log details from the PDF template.
You can define a default vendor invoice PDF template that will be applied to invoices for all the new vendors.
Go to the Account page, scroll down to the Account settings, and click "Update":
Select the needed one from the drop-down list and click "Update":
You can also select the default vendor invoice PDF template for each vendor.
Go to the needed vendor profile, scroll down to the Settings section and click "Update":
Select the template from the drop-down list and click "Update":
If needed, you can select the template for a specific vendor invoice. Open the needed invoice and click "Update":
Choose the template from the drop-down list and click "Update":
Back to the table of contents.
Quote PDF templates
To create the quote PDF template, go to Settings → PDF Templates → Quote:
Click "New PDF Template":
Fill in the fields, select the needed options and click "Create":
- Name — the name of the template;
- Page size — select A4 or a letter size;
- Page orientation — select the portrait or landscape page orientation;
- Top margin, mm — the top margin height in millimeters;
- Bottom margin, mm — the bottom margin height in millimeters;
- Locale — locale defines the language of the template text;
- Page header — the text that appears at the top of the page;
- Page footer — the text that appears at the bottom of the page;
- Common note — this field is used for any additional notes;
- Include CAT log details — unmark this checkbox if you want to remove CAT log details from the PDF template.
You can define a default quote PDF template that will be selected automatically when creating quotes.
Go to the Account page, scroll down to the Account settings section and click "Update":
Select the needed one from the drop-down list and click "Update":
You can select the PDF template for the quote when you create it.
If needed, you can select the template for a specific quote. Open the needed quote and click "Update":
Choose the template from the drop-down list, and click "Update":
Back to the table of contents.
Job PO PDF templates
To add the job PO pdf templates, go to Settings → PDF templates → Job PO:
Click "New PDF Template":
Fill in the fields, select the needed options and click "Create":
- Name — the name of the template;
- Page size — select A4 or a letter size;
- Page orientation — select the portrait or landscape page orientation;
- Top margin, mm — the top margin height in millimeters;
- Bottom margin, mm — the bottom margin height in millimeters;
- Locale — locale defines the language of the template text;
- Page header — the text that appears at the top of the page;
- Page footer — the text that appears at the bottom of the page;
- Common note — this field is used for any additional notes;
- Include CAT log details — unmark this checkbox if you want to remove CAT log details from the PDF template.
You can define a default job PO PDF template that will be applied to every job PO you create.
Go to the Account page, scroll down to the Account settings section, and click "Update":
Select the needed one from the drop-down list and click "Update":
You can also select the job PO PDF template for the job when you create it.
If needed, you can select the job PO template for a specific job. Open the needed job and click "Update":
Choose the needed job PO PDF template from the drop-down list and click "Update":
Back to the table of contents.
Add images
This functionality can be used for adding signatures, seals, payment systems logos, etc. to your PDF templates.
To add images to your templates, go to the PDF images page first:
Click the "New PDF image" button:
Fill in the name, select a needed image, then click "Create":
The uploaded image will be displayed on the PDF template images page, and you will be able to add it to the templates:
Find the needed template and click "Update":
To add the image, please use the corresponding HTML markup elements and attributes: <img src="{IMAGE:visa_logo}" alt=""/>
This is how the added images will look like on the PDF file:
XHTML elements and attributes
For text to start from a new page - <p style="clear: both; display: block; page-break-after: always;"></p>
That's an example of how your invoice can look like:
Note: please avoid this sign & because the system doesn't allow to save the common note.