thank you for your response that help me well but I have another difficulty because I use the helper function inside a loop so this does not correspond and at resource level I have undefined how if you please i can fix this concern
Posts made by fafax
-
RE: Use resources in helper
-
Use resources in helper
Hello I would like to translate with the resource system directly in a helper. In a function of a helper I make a return of an html code and I would like to translate according to the language pass in parameter via Api. Can you please show me an example that allows this kind of translation.
cordially -
RE: Change page orientation in script
Thank you for your quick return that allowed me to test several pdf-utils.
Unfortunately, I can not do what I can, but maybe that's not possible.
I pass the following data and I would like that the generated pdf is with the good formatting according to the data of each page
"pdfData": {
"pages": [
{
"width": 595.2,
"height": 841.8,
"orientation":"portrait"
}, {
"width": 595.2,
"height": 841.8,
"orientation":"landscape"
}, {
"width": 595.2,
"height": 841.8,
"orientation":"portrait"
}
],thank you in advance for your help
-
Change page orientation in script
Hello I would like to change the orientation of some pages (random) according to the data that we pass to jsreport.
The purpose is to generate a portrait and landscape document in the same report.thank you in advance for your help