Browse Source

Fix problem with specification notes in the daily production report

Neal Wilson 7 years ago
parent
commit
24885bad06
1 changed files with 13 additions and 13 deletions
  1. 13
    13
      config/Reports/dailyproductiondetail.xml

+ 13
- 13
config/Reports/dailyproductiondetail.xml View File

@@ -307,19 +307,19 @@
307 307
 					output.writeEndElement();
308 308
 					output.writeEndElement();	
309 309
 					output.writeEndElement();
310
-                                        output.writeStartElement("td");
311
-                                        output.writeAttribute("colspan", "4");
312
-                                        if(query.value(14)) {
313
-                                            output.writeTextElement("strong", "Roast Specification Notes");
314
-                                            var specArray = query.value(14).split("\n");
315
-                                            for(var i = 0; i < noteArray.length; i++) {
316
-                                                output.writeStartElement("p");
317
-                                                output.writeAttribute("style", "margin-top: 0; margin-bottom: 0");
318
-                                                output.writeCharacters(specArray[i]);
319
-                                                output.writeEndElement();
320
-                                            }                                            
321
-                                        }
322
-                                        output.writeEndElement();
310
+                    output.writeStartElement("td");
311
+                    output.writeAttribute("colspan", "4");
312
+                    if(query.value(14)) {
313
+                        output.writeTextElement("strong", "Roast Specification Notes");
314
+                        var specArray = query.value(14).split("\n");
315
+                        for(var i = 0; i < specArray.length; i++) {
316
+                            output.writeStartElement("p");
317
+                            output.writeAttribute("style", "margin-top: 0; margin-bottom: 0");
318
+                            output.writeCharacters(specArray[i]);
319
+                            output.writeEndElement();
320
+                        }                                            
321
+                    }
322
+                    output.writeEndElement();
323 323
 					output.writeEndElement();
324 324
 				}
325 325
 				output.writeEndElement();

Loading…
Cancel
Save