Browse Guides

Creating Dynamic Quotations with Item PDF Templates
Reading mode
Copy Link
Link Copied!
Print
Feedback
This guide has multiple versions available:
<style> .chartjs-size-monitor { display: none !important; height: 0 !important; overflow: hidden !important; }p { margin: 0; }span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left:0; padding-left:5px;}blockquote blockquote{ border-color: #00bcd4; color: #00bcd4;}blockquote blockquote blockquote{ border-color: #43a047; color: #43a047;} table.grid{ border-collapse: collapse;} table.grid td, table.grid th { border: 1px solid #ddd;} .fr-fic.fr-dib{ display: block; margin: 5px auto;}.fr-fic.fr-dib.fr-fir{ text-align: right; margin: 5px 0 5px auto;}.fr-fic.fr-dib.fr-fil{ text-align: left; margin: 5px auto 5px 0;}.fr-fic.fr-dii{ float: none; margin: 5px auto;}.fr-fic.fr-dii.fr-fil{ float: left; margin: 5px auto;}.fr-fic.fr-dii.fr-fir{ float: right; margin: 5px auto;}img.fr-dib.fr-fir { margin-right: 0; text-align: right;}img.fr-dib.fr-fil { margin-left: 0; text-align: left;}img.fr-dib { margin: 5px auto; display: block; float: none;}img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC;}img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc;}img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;}</style><p><strong>In this guide we will cover:</strong></p><p><strong>- What are Item PDF Templates?</strong></p><p><strong>- Creating a PDF Template</strong></p><p><strong>- Linking the Template to an Item</strong></p><p><strong>- Creating a Quotation</strong></p><p><br></p><p><br></p><p><strong>Configuration Settings:</strong></p><ul><li><a href="https://www.usehalo.com/guides/1389" target="_blank" rel="noopener noreferrer"><strong>PDF Templates</strong><br></a></li></ul><p><br></p><p><strong>Related Guides:</strong></p><ul><li><a href="https://www.usehalo.com/guides/2429" target="_blank" rel="noopener noreferrer"><strong>PDF Templates</strong><br></a></li><li><a href="https://www.usehalo.com/guides/1987" target="_blank" rel="noopener noreferrer"><strong>Quotation PDFs</strong><br></a></li></ul><p><br></p><p data-pasted="true"><strong><span style="font-size: 14pt;">What are Item PDF Templates?</span></strong></p><p>Item PDF templates can be linked to items for use in quotations. When the item is added to a quotation, the linked PDF template will be appended to the quotation PDF template. This is useful to add information specific to the items being quoted for, such as an infographic that relates to a package being sold.</p><p><br></p><p><strong><span style="font-size: 14pt;">Creating a PDF Template</span></strong></p><p>To create the item PDF template, head to Configuration &gt; Reporting &gt; PDF Templates, and set the entity in the top left to &quot;Items&quot; or &quot;Products&quot;. Click the &quot;New&quot; button in the top right corner.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjUwOTY3ZTZiLTYzMzYtNDE1ZS1iMDI2LWJkMTk3Yzg1MGM1OSJ9.Z7aFSh-6jH4ECwVuPa412Y8puqNT9u_tppoDWpFn52U" class="fr-fic fr-fil fr-dib" width="1689" style="width: 1691px; height: 110.065px;" height="110"></p><p><strong><span style="font-size: 10pt;">Fig 1. Item PDFs</span></strong></p><p><br></p><p>This will default the &quot;Type&quot; field to &quot;Item&quot;/&quot;Product&quot;. On the initial screen, give the template a name before saving.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImE3ZjdmZTBhLWMxMGUtNDJmMS1hNTRlLWRjMmI3MjE1MjFiNyJ9.TYG-bEMywxKZzaJU8tlz_m3i6HGTTUfmGm5GgyjI2OU" class="fr-fic fr-fil fr-dib" width="598" height="613"></p><p><strong><span style="font-size: 10pt;">Fig 2. Creating a new PDF template</span></strong></p><p><br></p><p>After saving, the ability to configure the page appearance and HTML will be available.</p><p><br></p><p>In the &quot;Appearance&quot; tab, customisation like headers/footers and margins can be added. It is recommended to keep this in a similar format to your quotation PDF templates so the two match.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjBiNzgwZWRiLTczMDEtNDFjMS1hOTI1LTE2MzQ2NzNmMDliYyJ9.e3tmHGmobdh_a8xc_HVN7mG3gkW_fbb8_Hg6vo_Ztbs" class="fr-fic fr-fil fr-dib" width="866" height="824"></p><p><strong><span style="font-size: 10pt;">Fig 3. Appearance tab</span></strong></p><p><br></p><p>The &quot;Pages&quot; tab is where the HTML can be customised for the PDF, and where a majority of the customisation will take place. Either edit an existing page, or click the &quot;Add&quot; button.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjllN2VlODQ0LWU2ZTUtNDcwNS1iOGNiLWFlZGI5MDllZWVmNCJ9.Vn1TKNCWHhWKjQz24HIn2-ZVwJYP_7ZL1Q5cTwd3hfc" class="fr-fic fr-fil fr-dib" width="1693" style="width: 1695px; height: 297.666px;" height="298"></p><p><strong><span style="font-size: 10pt;">Fig 4. Pages tab</span></strong></p><p><br></p><p>When creating a page, a few options are available.</p><p><br></p><ul><li><strong>Name:&nbsp;</strong>Sets the name of the page within configuration. This will not show on the PDF.</li><li><strong>Sequence:</strong> Sets the order the pages show in.</li><li><strong>Is the cover page:</strong> If set, the page will be rendered first, and exclude headers and footers. It also gives the option to set a separate image URL for the background.</li><li><strong>View $-variables:&nbsp;</strong>Links to a list of variables available to use in the PDF.</li><li><strong>Core Template HTML:</strong> The HTML that creates the PDF format.</li></ul><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImU0ZjEzN2MzLTk0ODUtNGIzNC04NGQxLTUwNjViMDVlYWU4YSJ9.O1yf0am0YdPmY_0Ftfnr7c-Zc2KBeUHTJwtxMT6ubXc" class="fr-fic fr-fil fr-dib" width="1696" style="width: 1698px; height: 845.298px;" height="845"></p><p><strong><span style="font-size: 10pt;">Fig 5. Creating the template</span></strong></p><p><br></p><p><strong><span style="font-size: 14pt;">Linking the Template to a Item</span></strong></p><p>Once the template has been customised, it needs to be linked to an item.&nbsp;</p><p><br></p><p>Create a new item or edit an existing one, and set the template in the &quot;Quotation PDF Template&quot; field.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjBiZjBjZmQzLTNlZWEtNDk2My04MzE4LTI2MGQ0MDk1YTBlNiJ9.X8VvL4ZZ5N9muRoecOGnyc-9x0kUnPchDwIRD2I_-wc" class="fr-fic fr-fil fr-dib" width="927" height="276"></p><p><strong><span style="font-size: 10pt;">Fig 6. Linking the PDF to an item&nbsp;</span></strong></p><p><br></p><p><strong><span style="font-size: 14pt;">Creating a Quotation</span></strong></p><p>When creating a quote, this item can be added to it.&nbsp;</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImZjZGQ5M2U5LWM3NzktNGRhYS04ZWQzLWZhOTYwYmYwZWU0NCJ9.C0NIsW-wZndsa5MX_2thRNEbwcWysoniYR96L6CvzsQ" class="fr-fic fr-fil fr-dib" width="1690" style="width: 1692px; height: 305.681px;" height="306"></p><p><strong><span style="font-size: 10pt;">Fig 7. Quotation with the item using the PDF added</span></strong></p><p><br></p><p>When items with linked PDFs are added, the relevant items and PDFs will be shown in a separate tab where their sequence can be edited, or removed entirely.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVmMzFmYTgyLTk1NGYtNDM2Zi04YTg5LWNlMTVjMjQ2ZGU1MSJ9.osfHzcs7BclhIFBBTnktoCNv9Vr4UA5uUZuc5NziNgo" class="fr-fic fr-fil fr-dib" width="1693" style="width: 1695px; height: 176.081px;" height="176"></p><p><strong><span style="font-size: 10pt;">Fig 8. Item PDFs tab on a quote</span></strong></p><p><br><em><strong>Note: The appended item PDF(s) will not show in the &quot;Preview Print&quot; screen.</strong></em></p><p><br></p><p>The item pdf is then appended at the end of the main quotation PDF.</p><p><br></p><p>If the item PDF has an attachment set to prepend or append, it will show either between the end of the quote template pages and before the item template pages, or at the very end of the item template pages.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImViY2FkZTYyLWEyMzQtNDNmNi04NGYzLWM0ZDMzYWY5M2NjNyJ9.sOW5ZMxCHO_Q9LCzw58nbANDBMLY0Z2aumlxBmegrJk" class="fr-fic fr-fil fr-dib" width="1581" height="1115"><strong><span style="font-size: 10pt;">Fig 9. Generated PDF with appended item PDF</span></strong></p><p><br></p>
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.