|
@@ -66,7 +66,7 @@ public class TemplateService {
|
|
|
doc = iterateLoopAttr(idCentre, cursAvaluat, doc, context);
|
|
doc = iterateLoopAttr(idCentre, cursAvaluat, doc, context);
|
|
|
|
|
|
|
|
/** Add template data (non iterated data)**/
|
|
/** Add template data (non iterated data)**/
|
|
|
- ic.getTemplateData(idTitulacio, idCentre, cursAvaluat, context);
|
|
|
|
|
|
|
+ context = ic.getTemplateData(idTitulacio, idCentre, cursAvaluat, context);
|
|
|
this.replaceValues(doc, context, header, img);
|
|
this.replaceValues(doc, context, header, img);
|
|
|
|
|
|
|
|
/** Replace sections if specified in options **/
|
|
/** Replace sections if specified in options **/
|
|
@@ -176,7 +176,7 @@ public class TemplateService {
|
|
|
doc = iterateLoopAttr(idCentre, curs, doc, context);
|
|
doc = iterateLoopAttr(idCentre, curs, doc, context);
|
|
|
|
|
|
|
|
/** Add template data (non iterated data)**/
|
|
/** Add template data (non iterated data)**/
|
|
|
- ic.getTemplateData(idTitulacio, idCentre, curs, context);
|
|
|
|
|
|
|
+ context = ic.getTemplateData(idTitulacio, idCentre, curs, context);
|
|
|
this.replaceValues(doc, context, header, img);
|
|
this.replaceValues(doc, context, header, img);
|
|
|
|
|
|
|
|
return doc.html();
|
|
return doc.html();
|