Difference between revisions of "PDF templates"

From Protemos Wiki
Jump to: navigation, search
(Quote PDF templates)
(Vendor invoice PDF templates)
Line 386: Line 386:
 
*'''Page footer''' — a text that appears at the bottom of the page;
 
*'''Page footer''' — a text that appears at the bottom of the page;
  
*'''Common note''' — a text that appears below the payment method description;
+
*'''Common note''' — a text that appears in the lower part of the page;
  
 
You can define a default vendor invoice PDF template that will be applied to invoices for all the new vendors.
 
You can define a default vendor invoice PDF template that will be applied to invoices for all the new vendors.

Revision as of 14:39, 21 July 2022

Watch our video tutorial on Common notes - 2ag.png

You can define common notes for client invoices, vendor invoices, quotes and job PO.

Common note 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 add the common notes, go to Settings → Common notes:

Screreenshot 1.png

You always can update or delete the note:

800px

Client invoice common notes

To add the client invoice common notes, go to Settings → Common notes → Client invoice:

300px

Press "New common note":

900px

Enter the name, the comment, and press "Create":

900px

You can define a default client invoice common note and it will be displayed in every client invoice you issue.

Go to the Account page, scroll down to the Default settings, and press "Update":

900px

From the drop-won list choose the needed one, and press "Update":

900px

You can add a common note in an invoice.

Open the needed invoice and press "Update":

Screekknshot 2.png

Choose the needed invoice common note from the drop-down list, and press "Update":

Scrseeddnshot 3.png

Redirect.jpg Back to the table of contents.

Vendor invoice common notes

To add the vendor invoice common notes, go to Settings → Common notes → Vendor invoice:

300px

Press "New common note":

900px

Enter the name, the comment, and press "Create":

900px

You can define a default vendor invoice common note that will be displayed in every vendors' invoices you issue.

Go to the Account page, scroll down to the Default settings, and press "Update":

900px

From the drop-won list choose the needed one, and press "Update":

900px

You can update the common vendor invoice note in invoices. Open the needed invoice and press "Update":

900px

Choose the needed invoice common note from the drop-down list, and press "Update":

600px

Redirect.jpg Back to the table of contents.

Quote common notes

To add the quote common notes, go to Settings → Common notes → Quote:

Quote common note.png

Press "New common note":

900px

Enter the name, the comment, and press "Create":

900px

You can define a default quote common note that will be added to every quote you create.

Go to the Account page, scroll down to the Default settings, and press "Update":

1 upd fef comm.png

From the drop-down list choose the needed one, and press "Update":

600px

Add a quote common note

You can update the common quote note in the needed quote when you create it.

You also can add the common not by pressing the "Update":

Screejjlnshot 4.png

Choose the needed quote common note from the drop-down list, and press "Update":

Screeasdnshot 5.png

Redirect.jpg Back to the table of contents.

Job PO common notes

To add the job PO common notes, go to Settings → Common notes → Job PO:

300px

Press "New common note":

900px

Enter the name, the comment, and press "Create":

900px

You can define a default job PO common note that will be added to every job you create.

Go to the Account page, scroll down to the Default settings, and press "Update":

900px

From the drop-down list choose the needed one, and press "Update":

Screensaswfhot 3.png

You can update the common job PO note for the needed job when you create it.

Or open already created job and press "Update":

Scdrreenshot 6.png

Choose the needed job PO common note from the drop-down list, and press "Update":

450px

Redirect.jpg Back to the table of contents.

XHTML elements and attributes

TAG DESCRIPTION EXAMPLE VIEW
<a href> The <a> tag defines a hyperlink, which is used to link from one page to another. The most important attribute of the <a> element is the href attribute, which indicates the link's destination. <a href="protemos.com">Visit my website</a>


<a href="mailto:as@protemos.com">as@protemos.com</a>

1 V.png
<b> The tag specifies bold text without any extra importance. <b>This text is bold</b> 2 B.png
<br/> The tag inserts a single line break. <br/>
<div> Defines a division part. It's a block-level element <div style="text-align: center;">This text is in the center.</div> Centre.png
<h1> to <h6> Defines Headings level from 1 to 6 different sizes. <h1 style="color:blue;">This is a heading</h1> 3 H.png
<hr> Represents a thematic break between paragraph-level tags. It is typically drawn horizontal line. <hr/> 1 line.png
<i> The content inside is typically displayed in italic. <i>This text is italic</i> 4 I.png
<li> The tag defines a list item. The <li> tag is used inside ordered lists(<ol>), unordered lists (<ul>) <ol> <li>Quote</li> <li>Project</li> <li>Job</li> </ol> 8Q.png
<ol> The tag defines an ordered list. An ordered list can be numerical or alphabetical. The <li> tag is used to define each list item. <ol> <li>Quote</li> <li>Project</li> <li>Job</li> </ol> 8Q.png
<p> The tag defines a paragraph. <p>This project is due <span style="color: red;">30 days</span>.</p> 1 th.png
<span> The tag is an inline container used to mark up a part of a text, or a part of a document. The tag is much like the <div> element, but <div> is a block-level element and is an inline element. <p>This is a <span style="color:blue;"> paragraph</span>.</p> 5. P.png
<ul> The tag defines an unordered (bulleted) list. Use the <ul> tag together with the <li> tag to create unordered lists. <ul> <li>Quote</li> <li>Project</li> <li>Job</li> </ul> 6. Q.png
<style>
Used to add CSS style, e.g.:
- Underline the text

- Align the text
- Change the size of the text.

<p style="text-decoration: underline;"> Underlined text </p>
<p style="text-align: center;">This text is in the center.</p>
<p style="font-size:12px">This text size is 12 px.</p>

Underlined.png
Centre.png
Font.png

For text to start from a new page - <p style="clear: both; display: block; page-break-after: always;"></p>


That's the example on how your invoice can look like:

Common notes html example2.png Common notes html example1.png

Note: please avoid this sign & because the system doesn't allow to save the common note.

Redirect.jpg Back to the table of contents.

PDF Templates

Described features will be available with the forthcoming system release.

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:

300px

You always can clone, update or delete the templates:

Client invoice pdf templates+.png

Client invoice PDF templates

Described features will be available with the forthcoming system release.

To create the client invoice PDF template, go to Settings → PDF Templates → Client invoice:

300px

Click "New PDF template":

New pdf template (client invoice).png

Fill in the fields, select the needed options and click "Create":

New cl invoice pdf template2.png

  • Name — a 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 — a text that appears at the top of the page;
  • Page footer — a text that appears at the bottom of the page;
  • Common note — a text that appears below the payment method description;

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":

Account settings (client invoice template).png

Select the needed one from the drop-down list and click "Update":

Update account settings+.png

You can also select the default client invoice PDF template for each client.

Go to the needed client profile, scroll down to the Settings section and click "Update":

Client profile setting section.png

Select the template from the drop-down list and click "Update":

Client profile settings section1.png

If needed, you can select the template for a specific client invoice. Open the needed invoice and click "Update":

Update client invoice.png

Choose the template from the drop-down list and click "Update":

Update cl invoice2.png

Redirect.jpg Back to the table of contents.

Vendor invoice PDF templates

Described features will be available with the forthcoming system release.

To add the vendor invoice PDF templates, go to Settings → PDF Templates → Vendor invoice:

300px

Click "New PDF template":

New vendor invoice PDF templates.png

Fill in the fields, select the needed options and click "Create":

New cl invoice pdf template2.png

  • Name — a 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 — a text that appears at the top of the page;
  • Page footer — a text that appears at the bottom of the page;
  • Common note — a text that appears in the lower part of the page;

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":

Account settings - def v invoice template.png

Select the needed one from the drop-down list and click "Update":

Update account settings (v invoice).png

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":

Update vendor profile+.png

Select the template from the drop-down list and click "Update":

Update vendor profile+1.png

If needed, you can select the template for a specific vendor invoice. Open the needed invoice and click "Update":

Update vendor invoice.png

Choose the template from the drop-down list and click "Update":

Update vendor invoice2.png

Redirect.jpg Back to the table of contents.

Quote PDF templates

To create the quote PDF template, go to Settings → PDF Templates → Quote:

300px

Click "New PDF Template":

New quote pdf template.png

Fill in the fields, select the needed options and click "Create":

New cl invoice pdf template2.png

  • Name — a 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 — a text that appears at the top of the page;
  • Page footer — a text that appears at the bottom of the page;
  • Common note — a text that appears in the lower part of the page;

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 Default settings section, and click "Update":

Define default quote template.png

Select the needed one from the drop-down list and click "Update":

Update account settings (quote).png

You can select the PDF template for the quote when you create it.

If needed, you can select another template for an existing quote by clicking the "Update" button:

Update quote (pdf template).png

Choose the template from the drop-down list, and click "Update":

Update quote2.png

Redirect.jpg Back to the table of contents.

Job PO pdf templates

To add the job PO pdf templates, go to Settings → PDF templates → Job PO:

300px

Click "New PDF Template":

New PDF template (job po).png

Fill in the fields, select the needed options and click "Create":

New cl invoice pdf template2.png

  • Name — a 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 — a text that appears at the top of the page;
  • Page footer — a text that appears at the bottom of the page;
  • Common note — a text that appears below the payment method description;

You can define a default job PO PDF template that will be added to every job you create.

Go to the Account page, scroll down to the Default settings section, and click "Update":

Account settings (job po).png

Select the needed one from the drop-down list and click "Update":

Update account settings (job po)2.png

You can also select the job PO PDF template for the job when you create it.

Or open an already created job and click "Update":

Update job (select PO template)1.png

Choose the needed job PO PDF template from the drop-down list and click "Update":

Update job (select PO template).png

Redirect.jpg Back to the table of contents.

XHTML elements and attributes

TAG DESCRIPTION EXAMPLE VIEW
<a href> The <a> tag defines a hyperlink, which is used to link from one page to another. The most important attribute of the <a> element is the href attribute, which indicates the link's destination. <a href="protemos.com">Visit my website</a>


<a href="mailto:as@protemos.com">as@protemos.com</a>

1 V.png
<b> The tag specifies bold text without any extra importance. <b>This text is bold</b> 2 B.png
<br/> The tag inserts a single line break. <br/>
<div> Defines a division part. It's a block-level element <div style="text-align: center;">This text is in the center.</div> Centre.png
<h1> to <h6> Defines Headings level from 1 to 6 different sizes. <h1 style="color:blue;">This is a heading</h1> 3 H.png
<hr> Represents a thematic break between paragraph-level tags. It is typically drawn horizontal line. <hr/> 1 line.png
<i> The content inside is typically displayed in italic. <i>This text is italic</i> 4 I.png
<li> The tag defines a list item. The <li> tag is used inside ordered lists(<ol>), unordered lists (<ul>) <ol> <li>Quote</li> <li>Project</li> <li>Job</li> </ol> 8Q.png
<ol> The tag defines an ordered list. An ordered list can be numerical or alphabetical. The <li> tag is used to define each list item. <ol> <li>Quote</li> <li>Project</li> <li>Job</li> </ol> 8Q.png
<p> The tag defines a paragraph. <p>This project is due <span style="color: red;">30 days</span>.</p> 1 th.png
<span> The tag is an inline container used to mark up a part of a text, or a part of a document. The tag is much like the <div> element, but <div> is a block-level element and is an inline element. <p>This is a <span style="color:blue;"> paragraph</span>.</p> 5. P.png
<ul> The tag defines an unordered (bulleted) list. Use the <ul> tag together with the <li> tag to create unordered lists. <ul> <li>Quote</li> <li>Project</li> <li>Job</li> </ul> 6. Q.png
<style>
Used to add CSS style, e.g.:
- Underline the text

- Align the text
- Change the size of the text.

<p style="text-decoration: underline;"> Underlined text </p>
<p style="text-align: center;">This text is in the center.</p>
<p style="font-size:12px">This text size is 12 px.</p>

Underlined.png
Centre.png
Font.png

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:

Common notes html example2.png Common notes html example1.png

Note: please avoid this sign & because the system doesn't allow to save the common note.

Redirect.jpg Back to the table of contents.