Files
raven/server/AyaNova/resource/rpt/stock-report-templates/Example Inventory Reconciliation Form.ayrt

1 line
4.9 KiB
Plaintext

{"Name":"Example Inventory Reconciliation Form","Active":true,"Notes":"","Roles":49258,"AType":90,"IncludeWoItemDescendants":false,"Template":"<html>\n<body>\n\t<div >\t \n\t\t<table > \n \t\t<thead>\n\t\t\t\t<tr>\n\t\t\t\t<td colspan=\"24\">&nbsp;</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td colspan=\"12\" class=\"leftlean heading\">My Company Name</td>\n\t\t\t\t<td colspan=\"12\" class=\"rightlean heading\">Inventory Reconciliation Form</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td colspan=\"24\">&nbsp;</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr class=\"bodyhead\" >\n\t\t\t\t\t<td colspan=\"3\">Warehouse</td>\n\t\t\t\t\t<td colspan=\"4\">Category</td>\n\t\t\t\t\t<td colspan=\"11\">Part Number and Name</td>\n\t\t\t\t\t<td colspan=\"2\">On Hand</td>\n\t\t\t\t\t<td colspan=\"2\">Actual Count</td>\n\t\t\t\t\t<td colspan=\"2\">Difference + / (-)</td>\n\t\t\t\t </tr>\n \t\t</thead>\n\n\t\t\t <tbody>\n\t\t\t\t {{#each ayReportData}} \n\t\t\t\t <tr>\n\t\t\t\t\t<td colspan=\"3\">{{PartWarehouseName}}</td>\n\t\t\t\t\t<td colspan=\"4\">{{PartTags}} </td>\n\t\t\t\t\t<td colspan=\"11\">{{PartNumber}} {{PartName}}</td>\n\t\t\t\t\t<td colspan=\"2\">{{OnHandQty}}</td>\n\t\t\t\t\t<td colspan=\"2\"></td>\n\t\t\t\t\t<td colspan=\"2\"></td>\n\t\t\t\t </tr>\n\t\t\t\t {{/each}}\n\t\t\t </tbody>\n\n\t\t\t <tfoot>\n\t\t\t\t<tr>\n\t\t\t\t<td colspan=\"24\">&nbsp;</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td colspan=\"3\">Count By:</td>\n\t\t\t\t<td colspan=\"9\">__________________________________________</td>\n\t\t\t\t<td colspan=\"3\" >Count Date:</td>\n\t\t\t\t<td colspan=\"9\">__________________________________________</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td colspan=\"24\">&nbsp;</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td colspan=\"24\">&nbsp;</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t<td colspan=\"3\">Signature:</td>\n\t\t\t\t<td colspan=\"9\">__________________________________________</td>\n\t\t\t\t<td colspan=\"12\"></td>\n\t\t\t\t</tr>\n\t\t\t </tfoot>\n \n\t</div>\n</body>\n</html>","Style":".singlePage\n{\npage-break-after: always;\n}\n\ntable { \n font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif;\n border-collapse: collapse;\n white-space: pre-wrap;\n font-size: 9pt;\n width: 100%;\n table-layout: fixed;\n }\n\nthead {\n display: table-header-group; /* so as to print the table-header on all subsequent pages */\n}\n\n.heading {\n border-style: solid;\n border-width: 1pt;\n border-color: #e8e5e5; \n margin: 10pt;\n background-color: #e8e5e5;\n padding: 5pt; \n font-size: 14pt; \n text-align: center;\n} \n\n.bodyhead {\n border-style: solid;\n border-width: 1pt;\n border-color: #e8e5e5; \n margin: 10pt;\n background-color: #e8e5e5;\n font-size: 11pt; \n}\n\n\n.rightlean {\n text-align: right;\n}\n.leftlean {\n text-align: left;\n}\n.centerlean {\n text-align: center;\n}\ntbody tr:nth-child(even) {\n font-size: 9pt;\n background-color: lightgray; /* MUST checkmark Print background in PDF Options for this to show */\n height: 50px;\n} \ntbody tr:nth-child(odd) {\n font-size: 9pt;\n background-color: lightgoldenrodyellow; /* MUST checkmark Print background in PDF Options for this to show */\n height: 50px;\n} \n\n\ntfoot {\n /* display: table-footer-group; uncomment to print the table-footer on all pages, not just last page - */\n page-break-inside: avoid;\n /* position: fixed; uncommenting position: will force footer to bottom BUT then leftlean and rightlean don't work AND tbody overwrites */\n \n bottom: 0;\n width: 100%;\n border-top: 1px solid black; \n}\n\n\n.fontgreen {\n color: green;\n font-size: 16pt;\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 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":"<span style=\"font-size:6pt;width: 94%; text-align:left; \">&nbsp;&nbsp;&nbsp;&nbsp;(set in report template's PDF Options) Printed date:&nbsp;<span class=\"date\"></span></span>","FooterTemplate":"<span style=\"font-size:6pt;width: 96%; text-align: right; \">&nbsp; (set in report template's PDF Options showing x of ALL pages printed)&nbsp;&nbsp;Page&nbsp;<span class=\"pageNumber\"></span>&nbsp;of&nbsp;<span class=\"totalPages\">","DisplayHeaderFooter":true,"PaperFormat":10,"Landscape":true,"MarginOptionsBottom":"10mm","MarginOptionsLeft":"10mm","MarginOptionsRight":"10mm","MarginOptionsTop":"10mm","PageRanges":null,"PreferCSSPageSize":false,"PrintBackground":true,"Scale":1.00000}