A custom print template for Site Diaries lets you print or email a Site Diary in your own layout, for example in the format a client asked for. On the Assignar dashboard you can set up one default template used for every client, and extra templates for particular clients. A Site Diary is the daily record a supervisor submits from the Assignar mobile app.
Your company can rename some words in Assignar, so you might see other words for Site Diary or Client.
Watch the video: https://www.loom.com/share/d80e67514a4e4aefb41079fccc6444a5
Video (3:45): Setting up a Site Diary print template.
See the Site Diary print variables and sample template
To see the placeholders you can use in a Site Diary custom print, on the Assignar dashboard:
Go to Field Data > Site Diary.
Click Manage Print Templates.
Click View Print Variables.
Click a variable to copy it. Click Download beside Sample Template to get a ready-made Word template to start from.
The variables are grouped under headings such as General, Logo and Signatures, Totals, Order Details, Weather Data, Progress Tracking, timesheets, chargeable items, notes and Additional Questions. Sections that repeat (for example each timesheet or each weather reading) use an Iterator: start with the iterator line, such as {foreach from=$timesheets item=_timesheet}, and close it with {/foreach}. Unscheduled Site Diaries may have no order, so wrap order details in the Conditional Block{if $order} … {/if}.
The Order Details group in a Site Diary custom print has the order ID {$order.id}, job description {$order.job_description}, WO {$order.wo} and PO {$order.po}. A Site Diary custom print has no placeholder for the order's contacts or site contact; a docket's custom print does.
Create the default Site Diary print template on the dashboard
To create the template used for every client that has no template of its own, on the Assignar dashboard:
Build your template in Word (or Excel or PowerPoint), for example from the sample template, and save it as DOCX, XLSX or PPTX with a lower-case extension.
Go to Field Data > Site Diary > Manage Print Templates.
Click Create Default Template (or Edit Default Template if one exists).
Upload the file under Attachment.
Click Save.
The dashboard shows "Default template added successfully".
Create a Site Diary print template for particular clients on the dashboard
To use a different layout for one or more clients, on the Assignar dashboard:
On Manage Print Templates, click + Add New.
Enter a Template Name.
Choose one or more clients, for example Harbour City Council.
Upload the template file under Attachment.
Click Save.
The dashboard shows "Template added for Clients successfully". Site Diaries for those clients now use this template; other clients use the default. Each client can only be linked to one template. Use the row menu to Edit or Delete a template.
Print a Site Diary with a custom template on the dashboard
On the Site Diary page of the Assignar dashboard, click the three-dot menu on a Site Diary and choose Print > Custom ("Print a PDF using your own custom template."). Custom is greyed out when there's no template for that Site Diary's client and no default; hover to see "Go to Manage Print Templates to set a custom template.". See How do I print Site Diaries to PDF on the dashboard?.
Why won't my Site Diary print template save?
The Site Diary print template form on the Assignar dashboard shows:
"Template name is required": enter a Template Name.
"At least one Client is required": choose a client, or use the default template instead.
"Template attachment is required": upload a file.
"Failed to upload Site Diary print template": the file couldn't be uploaded. Only DOCX, XLSX and PPTX files are accepted; older .doc, .xls and .ppt files are refused. Check the extension is lower case, and try again.

