fluentreports
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -108,3 +108,3 @@ var Report = require('../lib/fluentReports' ).Report; | ||
console.time("Rendered"); | ||
var a= rpt.render(function(err, name) { | ||
var a = rpt.render(function(err, name) { | ||
console.timeEnd("Rendered"); | ||
@@ -111,0 +111,0 @@ if (err) { |
@@ -14,3 +14,5 @@ var Report = require('../lib/fluentReports' ).Report; | ||
if (options.image && fs.existsSync(options.image)) rpt.image(options.image, {width: 200}); | ||
if (options.image && fs.existsSync(options.image)) { | ||
rpt.image(options.image, {width: 200}); | ||
} | ||
rpt.setCurrentY(rpt.getCurrentY() - 10); | ||
@@ -23,3 +25,3 @@ | ||
} | ||
var baseY = rpt.getCurrentY(); | ||
//var baseY = rpt.getCurrentY(); | ||
@@ -26,0 +28,0 @@ rpt.setCurrentY(40); |
@@ -6,3 +6,3 @@ var Report = require('../lib/fluentReports' ).Report; | ||
{no: 1, date: '08-18-2014', name: "John Doe", address_1: "add 1", address_2: "addd_2", city: "city", state: 'ok', zip: '00000', qty: 1, price: 2.21, amount: 2.21, description: "product 1", "product.product_type": 1}, | ||
{no: 1, date: '08-19-2014', name: "John Doe", address_1: "add 1", address_2: "addd_2", city: "city", state: 'ok', zip: '00000', qty: 15, price: 4.21, amount: 15.55, description: "product 2", "product.product_type": 2}, | ||
{no: 1, date: '08-19-2014', name: "John Doe", address_1: "add 1", address_2: "addd_2", city: "city", state: 'ok', zip: '00000', qty: 15, price: 4.21, amount: 15.55, description: "product 2", "product.product_type": 2} | ||
]; | ||
@@ -36,3 +36,3 @@ | ||
{data: r.name+' Total:', width: 130, align: 3}, | ||
{data: x.totals.amount, width: 90, align: 3}, | ||
{data: x.totals.amount, width: 90, align: 3} | ||
], {x: 270}); | ||
@@ -39,0 +39,0 @@ x.fontNormal(); |
@@ -14,4 +14,4 @@ { | ||
"main" : "lib/fluentReports", | ||
"version" : "0.0.4", | ||
"version" : "0.0.5", | ||
"engines" : {"node": ">= 0.6.0" } | ||
} |
@@ -33,3 +33,3 @@ Fluent Reports | ||
See the simple/stupid examples for a overview on how to generate a somewhat complex report. | ||
See the simple & stupid examples for a overview on how to generate a somewhat complex report. | ||
In these reports I tried to throw in a chunk of the kitchen sink to try and give you and | ||
@@ -46,4 +46,1 @@ idea how powerful the engine is. | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24710126
46
4648
45