{"Name":"z_company name address logo URL ayServerMetaData","Active":true,"Notes":"Examples of displaying ayServerMetaData data such as licensed company name, company logo, company contact information as entered via Global Settings","Roles":50538,"AType":34,"IncludeWoItemDescendants":false,"Template":"\n\n\n
\n{{#each ayReportData}}\n \n \n \n \n \n \n \n \n {{#if ../ayServerMetaData.HasSmallLogo}}\n {{else}}{{/if}}\n \n \n \n \n \n \n \n \n \n \n \n {{#if ../ayServerMetaData.CompanyPhone1}}\n {{else}}{{/if}}\n \n \n \n {{#if ../ayServerMetaData.HasPostalAddress}}\n {{else}}{{/if}}\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n {{#if ServiceDate }}\n {{else}}{{/if}}\n \n {{#if ../ayServerMetaData.CompanyPhone1 }}\n {{else}}{{/if}}\n \n \n \n\n
Column to the right displays all of your ayServerMetaData:{{ayJSON ../ayServerMetaData}}
Column to the right displays the small company logo IF uploaded via Global Settings:{{ayLogo 'small'}}No small logo has been uploaded via your Global Settings
Column to the right displays your licensed Company Name as is - with the quotation marks:{{ayJSON ../ayServerMetaData.CompanyName}}
Column to the right displays your licensed Company Name:{{../ayServerMetaData.CompanyName}}
Column to the right displays your company phone number as entered via Global Settings:{{../ayServerMetaData.CompanyPhone1}}Your company phone number has NOT been entered via your Global Settings
Column to the right displays your company postal address as entered via Global Settings:{{ ../ayServerMetaData.CompanyPostAddress}} {{ ../ayServerMetaData.CompanyPostCity}}Your company postal address has NOT been entered via your Global Settings
 
{{ayT 'WorkOrder'}}{{ayT 'Customer'}}{{ayT 'WorkOrderServiceDate'}}Licensed Company NameCompany Phone Entered via Global Settings
{{Serial}}{{CustomerViz}}{{ayDate ServiceDate}}no Service Date specified{{../ayServerMetaData.CompanyName}}{{ ../ayServerMetaData.CompanyPhone1}}no company phone number specified in Global Settings
\n{{/each}}\n
\n\n","Style":"\n.singlePage\n{\npage-break-after: always;\n}\n\nbody {\n font-family: 'Helvetica', 'Helvetica Neue', Arial, sans-serif; \n}\n\n.reporttitle { \n margin-bottom: 20pt; \n font-weight: bold; \n font-size: 11pt; \n color: #9e9e9e;\n} \n\ntable, td, th {\n border: 1px solid black;\n}\n\ntable { \n white-space: pre-wrap;\n width: 100%;\n table-layout: fixed; /* the # of columns set in the first row of the thead will be fixed and applied throughout table and rows */\n }\n\nth {\n height: 30px;\n font-size: 9pt; \n color: #9e9e9e;\n}\n\ntd {\n padding: 10px;\n word-wrap: break-word;\n font-size: 9pt;\n text-align: center;\n}\n\n\ntbody tr:nth-child(even) {\n background-color: #f8f8f8; /* MUST checkmark Print background in PDF Options for this to show */\n}\n\n\n.rightlean {\n text-align: right;\n}\n.leftlean {\n text-align: left;\n}\n.centerlean {\n text-align: center;\n}\n\n\n.fontgreen {\n color: green;\n}\n.fontblue {\n color: blue;\n}\n.fontred {\n color:red;\n}\n\n","JsPrerender":"async function ayPrepareData(reportData){ \n //this function (if present) is called with the report data \n //before the report is rendered\n //modify data as required here and return it to change the data before the report renders\n //see the help documentation for details\n\n\tawait ayGetTranslations([\"WorkOrder\", \"Customer\", \"WorkOrderServiceDate\" ]);\n\n\t\n\n return reportData;\n}","JsHelpers":"//Register custom Handlebars helpers here to use in your report script\n//https://handlebarsjs.com/guide/#custom-helpers\nHandlebars.registerHelper('loud', function (aString) {\n return aString.toUpperCase()\n})","RenderType":0,"HeaderTemplate":"  ","FooterTemplate":"                Printed date: PDFDate\nPage of                ","DisplayHeaderFooter":true,"PaperFormat":10,"Landscape":true,"MarginOptionsBottom":"15mm","MarginOptionsLeft":"15mm","MarginOptionsRight":"15mm","MarginOptionsTop":"10mm","PageRanges":null,"PreferCSSPageSize":false,"PrintBackground":true,"Scale":1.00000}