{"Name":"z_report template name notes ayReportMetaData","Active":true,"Notes":"Examples of displaying ayReportMetaData data such as this report template's name, this report template's notes","Roles":50538,"AType":34,"IncludeWoItemDescendants":false,"Template":"<html>\n\n<body>\n   <div>\n{{#each ayReportData}}\n      <table class=\"singlePage\">  <!--this class causes a page break for each object - for each work order -->\n         <thead>\n            <tr>\n               <th colspan=\"5\">Column to the right displays all of your ayReportMetaData :</th>\n               <td colspan=\"5\">{{ayJSON ../ayReportMetaData }}</td>\n            </tr>\n            <tr>\n               <th colspan=\"5\">Column to the right displays this report template's name as is - with the quotation marks:</th>\n               <td colspan=\"5\">{{ayJSON ../ayReportMetaData.Name}}</td>\n            </tr>\n             <tr>\n               <th colspan=\"5\">Column to the right displays this report template's name:</th>\n               <td colspan=\"5\">{{../ayReportMetaData.Name}}</td>\n            </tr>\n            <tr>\n               <th colspan=\"5\">Column to the right displays the notes for this report template:</th>\n               <td colspan=\"5\">{{../ayReportMetaData.Notes}}</td>\n            </tr>\n            <tr>\n               <th colspan=\"5\">Column to the right displays where this report template is accessed from:</th>\n               <td colspan=\"5\">{{../ayReportMetaData.AType}}</td>\n            </tr>\n            <tr>\n               <th colspan=\"10\">&nbsp;</th>\n            </tr>\n            <tr>\n               <th colspan=\"2\">{{ayT 'WorkOrder'}}</th>\n               <th colspan=\"2\">{{ayT 'Customer'}}</th>\n               <th colspan=\"2\">{{ayT 'WorkOrderServiceDate'}}</th>\n               <th colspan=\"2\">{{ayT 'Report'}} {{ayT 'ReportName'}}</th>\n               <th colspan=\"2\">{{ayT 'ReportNotes'}}</th>\n            </tr>\n         </thead>\n\n        \n         <tbody>           \n            <tr>\n               <td colspan=\"2\">{{Serial}}</td>\n               <td colspan=\"2\">{{CustomerViz}}</td>\n               {{#if ServiceDate }}<td colspan=\"2\">{{ayDate ServiceDate}}</td>{{else}}<td colspan=\"2\">no Service Date specified</td>{{/if}}\n               <td colspan=\"2\">{{../ayReportMetaData.Name}}</td><!-- note the use of prefixing two periods and a slash if wish to display with the 'each' -->\n               <td colspan=\"2\">{{ ../ayReportMetaData.Notes}}</td><!-- note the use of prefixing two periods and a slash if wish to display with the 'each' -->\n            </tr>            \n         </tbody> \n         \n\n      </table>\n{{/each}}\n   </div>\n</body>\n</html>","Style":".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; \n    }\n\nth {\n  /* border-bottom: solid 1pt #9e9e9e; */\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\", \"ReportNotes\", \"ReportName\", \"Report\"  ]);\n\n\t\n\n    return reportData;\n}","JsHelpers":"","RenderType":0,"HeaderTemplate":"<span>&nbsp; </span>","FooterTemplate":"<span style=\"font-size:6pt; width: 96%;text-align:left; \">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; Printed date: PDFDate</span>\n<span style=\"font-size:6pt;width: 96%; text-align: right; \">Page <span class=\"pageNumber\"></span> of <span class=\"totalPages\"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span>","DisplayHeaderFooter":true,"PaperFormat":10,"Landscape":true,"MarginOptionsBottom":"15mm","MarginOptionsLeft":"15mm","MarginOptionsRight":"15mm","MarginOptionsTop":"10mm","PageRanges":null,"PreferCSSPageSize":false,"PrintBackground":true,"Scale":1.00000}