Neal Wilson 7 年之前
父節點
當前提交
8f0a9eede9

+ 2
- 0
config/Reports/auco.xml 查看文件

@@ -71,6 +71,8 @@
71 71
                 output.writeTextElement("title", TTR("useandcostreport", "Recent Use and Cost by Origin"));
72 72
                 output.writeEndElement();
73 73
                 output.writeStartElement("body");
74
+                var cdt = new Date(Date.now());
75
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
74 76
                 output.writeTextElement("h1", TTR("useandcostreport", "Average Use and Cost by Origin ") + startDate + " - " + endDate);
75 77
                 switch(unitBox.currentIndex)
76 78
                 {

+ 2
- 0
config/Reports/chart.xml 查看文件

@@ -71,6 +71,8 @@
71 71
                 output.writeTextElement("title", TTR("pytdprodcomp", "Previous Year Production Comparison"));
72 72
                 output.writeEndElement();
73 73
                 output.writeStartElement("body");
74
+                var cdt = new Date(Date.now());
75
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
74 76
                 output.writeTextElement("h1", TTR("pytdprodcomp", "Previous Year Production Comparison"));
75 77
                 output.writeTextElement("p", TTR("pytdprodcomp", "This report provides an itemized and overall comparison of roasted coffee production for the dates specified with those dates in the previous year. A chart of this data along with percent change and rolling average of the percent change is also produced."));
76 78
                 output.writeStartElement("table");

+ 2
- 0
config/Reports/cogr.xml 查看文件

@@ -42,6 +42,8 @@
42 42
                 output.writeTextElement("title", TTR("greencost", "Cost of Green Coffee for Roasted Coffee"));
43 43
                 output.writeEndElement();
44 44
                 output.writeStartElement("body");
45
+                var cdt = new Date(Date.now());
46
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
45 47
                 var unit = (unitBox.currentIndex == 0 ? TTR("greencost", "Kg") : 
46 48
                     TTR("greencost", "Lb"));
47 49
                 output.writeTextElement("h1", TTR("greencost", "Cost of Green Coffee for Roasted Coffee"));

+ 2
- 0
config/Reports/dailyproductiondetail.xml 查看文件

@@ -52,6 +52,8 @@
52 52
 				output.writeTextElement("title", TTR("dailyproduction", "Daily Production Report"));
53 53
 				output.writeEndElement();
54 54
 				output.writeStartElement("body");
55
+                var cdt = new Date(Date.now());
56
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
55 57
 				var dateString = "" + dateField.year() + "-" + dateField.month() + "-" + dateField.day();
56 58
 				output.writeTextElement("h1", TTR("dailyproduction", "Daily Production Report: ") + dateString);
57 59
 				output.writeTextElement("h2", TTR("dailyproduction", "Batches Roasted"));

+ 2
- 0
config/Reports/fypurchase.xml 查看文件

@@ -53,6 +53,8 @@
53 53
 				output.writeTextElement("title", TTR("fypurchase", "Coffee Purchase Previous Years Comparison"));
54 54
 				output.writeEndElement();
55 55
 				output.writeStartElement("body");
56
+                var cdt = new Date(Date.now());
57
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
56 58
 				output.writeTextElement("h1", TTR("fypurchase", "Coffee Purchase Previous Years Comparison"));
57 59
 				output.writeStartElement("table");
58 60
 				output.writeAttribute("style", "page-break-after: auto; text-align: left");

+ 2
- 0
config/Reports/greenforroasted.xml 查看文件

@@ -63,6 +63,8 @@
63 63
                 output.writeTextElement("title", TTR("greenforroasted", "Green Coffees Used for Roasted Coffees"));
64 64
                 output.writeEndElement(); //head
65 65
                 output.writeStartElement("body");
66
+                var cdt = new Date(Date.now());
67
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
66 68
                 output.writeTextElement("h1", TTR("greenforroasted", "Green Coffees Used for Roasted Coffees ") + startDate + "-" + endDate);
67 69
                 output.writeStartElement("ul");
68 70
                 var query = new QSqlQuery();

+ 2
- 0
config/Reports/greensales.xml 查看文件

@@ -54,6 +54,8 @@
54 54
 				output.writeTextElement("title", TTR("greensales", "Green Coffee Sales"));
55 55
 				output.writeEndElement();
56 56
 				output.writeStartElement("body");
57
+                var cdt = new Date(Date.now());
58
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
57 59
 				var dateRange = dateSelect.currentRange();
58 60
 				var startDate = dateRange[0];
59 61
 				var endDate = dateRange[dateRange.length - 1];

+ 2
- 0
config/Reports/historyreport.xml 查看文件

@@ -161,6 +161,8 @@
161 161
                 output.writeTextElement("title", TTR("batchreport", "Batch Log"));
162 162
                 output.writeEndElement();
163 163
                 output.writeStartElement("body");
164
+                var cdt = new Date(Date.now());
165
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
164 166
                 output.writeStartElement("table");
165 167
                 output.writeAttribute("style", "page-break-after: auto; text-align: left");
166 168
                 output.writeAttribute("rules", "groups");

+ 2
- 0
config/Reports/invchange.xml 查看文件

@@ -53,6 +53,8 @@
53 53
 				output.writeTextElement("title", TTR("invchange", "Inventory Change Summary"));
54 54
 				output.writeEndElement();
55 55
 				output.writeStartElement("body");
56
+                var cdt = new Date(Date.now());
57
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
56 58
 				var dateRange = dateSelect.currentRange();
57 59
 				var startDate = dateRange[0];
58 60
 				var endDate = dateRange[dateRange.length - 1];

+ 2
- 0
config/Reports/inventory.xml 查看文件

@@ -53,6 +53,8 @@
53 53
                 output.writeTextElement("title", TTR("inventoryreport", "Current Inventory and Availability Projection"));
54 54
                 output.writeEndElement();
55 55
                 output.writeStartElement("body");
56
+                var cdt = new Date(Date.now());
57
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
56 58
                 output.writeTextElement("h1", TTR("inventoryreport", "Current Inventory and Availability Projection"));
57 59
                 output.writeTextElement("p", TTR("inventoryreport", "This is a report showing how much of each coffee is available, the cost of that coffee, the daily rate of use for that coffee, and the date the coffee will be gone if use continues at the current rate."));
58 60
                 output.writeStartElement("table");

+ 2
- 0
config/Reports/invoices.xml 查看文件

@@ -71,6 +71,8 @@
71 71
                 output.writeTextElement("title", TTR("invoicereport", "Invoices"));
72 72
                 output.writeEndElement();
73 73
                 output.writeStartElement("body");
74
+                var cdt = new Date(Date.now());
75
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
74 76
                 output.writeTextElement("h1", TTR("invoicereport", "Invoices ") + startDate + " - " + endDate);
75 77
                 output.writeStartElement("table");
76 78
                 output.writeAttribute("style", "page-break-after: auto; text-align: left");

+ 2
- 0
config/Reports/itemtransactions.xml 查看文件

@@ -83,6 +83,8 @@
83 83
                 output.writeEndElement(); // style
84 84
                 output.writeEndElement();
85 85
                 output.writeStartElement("body");
86
+                var cdt = new Date(Date.now());
87
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
86 88
                 output.writeTextElement("h1", TTR("item_transactions", "Item Transactions:"));
87 89
                 output.writeStartElement("table");
88 90
                 output.writeStartElement("tr");

+ 2
- 0
config/Reports/lossplots.xml 查看文件

@@ -65,6 +65,8 @@ output.writeStartElement("head");
65 65
 output.writeTextElement("style", ".box {font: 10px sans-serif;} .whisker {font: 10px sans-serif;} .axis {font: 12px sans-serif;} .axis path {fill: none; stroke: #000; shape-rendering: crispEdges;} .axis line {fill: none; stroke: #000; shape-rendering: crispEdges;} .x.axis path {fill: none; stroke: #000; shape-rendering: crispEdges;}");
66 66
 output.writeEndElement(); //head
67 67
 output.writeStartElement("body");
68
+var cdt = new Date(Date.now());
69
+output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
68 70
 function position(value, min, max) {
69 71
     return 300 - (((Number(value)-Number(min))/(Number(max)-Number(min)))*300);
70 72
 }

+ 2
- 0
config/Reports/monthcompare.xml 查看文件

@@ -39,6 +39,8 @@
39 39
                 output.writeTextElement("title", TTR("pytdprodcomp", "Previous Year Production Comparison By Month"));
40 40
                 output.writeEndElement();
41 41
                 output.writeStartElement("body");
42
+                var cdt = new Date(Date.now());
43
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
42 44
                 output.writeTextElement("h1", TTR("pytdprodcomp", "Previous Year Production Comparison By Month"));
43 45
                 switch(unitBox.currentIndex)
44 46
                 {

+ 2
- 0
config/Reports/productionsummary.xml 查看文件

@@ -75,6 +75,8 @@
75 75
                 output.writeTextElement("title", TTR("dailyproduction", "Production Summary"));
76 76
                 output.writeEndElement();
77 77
                 output.writeStartElement("body");
78
+                var cdt = new Date(Date.now());
79
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
78 80
                 var dateRange = dateSelect.currentRange();
79 81
                 var startDate = dateRange[0];
80 82
                 var endDate = dateRange[dateRange.length - 1];

+ 2
- 0
config/Reports/reminders.xml 查看文件

@@ -139,6 +139,8 @@
139 139
                 output.writeTextElement("title", TTR("remindersreport", "Reminders"));
140 140
                 output.writeEndElement();
141 141
                 output.writeStartElement("body");
142
+                var cdt = new Date(Date.now());
143
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
142 144
                 output.writeTextElement("h1", TTR("remindersreport", "Reminders"));
143 145
                 output.writeStartElement("a");
144 146
                 output.writeAttribute("href", "typica://script/0");

+ 2
- 0
config/Reports/rwacp.xml 查看文件

@@ -77,6 +77,8 @@
77 77
                 output.writeTextElement("title", TTR("productionreport", "Recent Average Coffee Production"));
78 78
                 output.writeEndElement();
79 79
                 output.writeStartElement("body");
80
+                var cdt = new Date(Date.now());
81
+                output.writeTextElement("p", cdt.toLocaleDateString(TTR("reports", "en-US")) + " " + cdt.toLocaleTimeString(TTR("reports", "en-US")));
80 82
                 output.writeTextElement("h1", TTR("productionreport", "Recent Average Coffee Production"));
81 83
                 switch(unitBox.currentIndex)
82 84
                 {

Loading…
取消
儲存