This commit is contained in:
@@ -113,7 +113,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
|
|
||||||
//sample template
|
//sample template
|
||||||
//var reportTemplate = "'<div>{{#with person}}<span class=\"ay-red\">{{firstname}}</span> {{aycaps lastname}}{{/with}}</div>'";
|
//var reportTemplate = "'<div>{{#with person}}<span class=\"ay-red\">{{firstname}}</span> {{aycaps lastname}}{{/with}}</div>'";
|
||||||
var reportTemplate = "'<!DOCTYPE html><html><head><title>test title</title></head><body><h1>Test page top</h1><p class=\"ay-blue\">A blue paragraph</p><div>{{#with person}}<span class=\"ay-red\">{{firstname}}</span> {{aycaps lastname}}{{/with}}</div></body></html>'";
|
var reportTemplate = "'<!DOCTYPE html><html><head><title>test title</title></head><body> <img src=\"http://localhost:7575/api/v8/logo/small\" /><h1>Test page top</h1><p class=\"ay-blue\">A blue paragraph</p><div>{{#with person}}<span class=\"ay-red\">{{firstname}}</span> {{aycaps lastname}}{{/with}}</div></body></html>'";
|
||||||
|
|
||||||
//data object
|
//data object
|
||||||
var reportData = "{ person: { firstname: 'Tyler', lastname: 'Mott' } }";
|
var reportData = "{ person: { firstname: 'Tyler', lastname: 'Mott' } }";
|
||||||
|
|||||||
Reference in New Issue
Block a user