Search found 9 matches

by servitux
Thu Mar 07, 2024 3:31 pm
Forum: Stimulsoft Reports.PHP
Topic: Hide Zeros on Culture en-US
Replies: 3
Views: 1155

Re: Hide Zeros on Culture en-US

HI.

I try to reproduce issue in simple report with json data source, and it works.

It didn't work in comple report, with 3 MySql datasources, 2 subreports, etc... I'm going to try simplify the report to minimal expression before sent you.

Thanks.
by servitux
Wed Mar 06, 2024 4:38 pm
Forum: Stimulsoft Reports.PHP
Topic: Hide Zeros on Culture en-US
Replies: 3
Views: 1155

Hide Zeros on Culture en-US

Hi.

When I set "Hide Zeros" on decimal value fields with "Currency" Formatting and Report Culture in "en-US" zeros yet shown, but if I change Report Culture to "es-ES", zeros hidden successufuly.

It's that normal?

Thanks
by servitux
Wed Mar 06, 2024 3:44 pm
Forum: Stimulsoft Reports.PHP
Topic: Set Report Culture With Variable Expression
Replies: 5
Views: 987

Re: Set Report Culture With Variable Expression

Hi again. I have been doing some tests, and I have solved it as follows: In PHP: onPrepareVariables event, I fill {CULTURE} variable, but this value does not make it to the report, or does not take it into account, although it is shown in the detail section (????) In <script> section on viewer: <scr...
by servitux
Wed Mar 06, 2024 2:39 pm
Forum: Stimulsoft Reports.PHP
Topic: Set Report Culture With Variable Expression
Replies: 5
Views: 987

Re: Set Report Culture With Variable Expression

More info: I'm using Laravel 10. Do the report viewer needs a special route or ignore crsf token?
by servitux
Wed Mar 06, 2024 2:20 pm
Forum: Stimulsoft Reports.PHP
Topic: Set Report Culture With Variable Expression
Replies: 5
Views: 987

Re: Set Report Culture With Variable Expression

Hi, thanks for your faster awnser. Problem exists with sample report with json datasource and 3 columns with 3 rows, and with a complex report with headers, 3 datasources, etc... the problem is not the report, I think... Designer is working, but not the Viewer from PHP. JS report object needs a meth...
by servitux
Wed Mar 06, 2024 12:57 pm
Forum: Stimulsoft Reports.PHP
Topic: Set Report Culture With Variable Expression
Replies: 5
Views: 987

Set Report Culture With Variable Expression

Hi. I have a report, with a variable named CULTURE, with value "es-ES". The expression used in Report Culture Property is {CULTURE} In Stimulsoft Designer, report renders fine. If we change CULTURE value to "en-US", reports shows english translations on preview. That's fine. But,...
by servitux
Fri Mar 01, 2024 9:23 am
Forum: Stimulsoft Reports.PHP
Topic: Images on PDF Export
Replies: 1
Views: 833

Images on PDF Export

Hi. I have a report with company logo in header, with ImageData set by Variable existing in design, and passed in PHP as base64. In viewer and designer, image is viewing fine, but in pdf export by code, image is not viewing. Export by code is based in Stimulsoft web sample code. Report is rendered f...
by servitux
Fri Mar 01, 2024 7:48 am
Forum: Stimulsoft Reports.PHP
Topic: Get Variable by Name or better way to load images
Replies: 3
Views: 919

Re: Get Variable by Name or better way to load images

Thanks for your fast reply.

Ok, I will search for info to do it in the data source...
by servitux
Thu Feb 29, 2024 3:35 pm
Forum: Stimulsoft Reports.PHP
Topic: Get Variable by Name or better way to load images
Replies: 3
Views: 919

Get Variable by Name or better way to load images

Hi. I have a report with master-detail. In detail i have a number of images, created from variables on PHP. Every variable has a unique name, and are diferent in any print. There is a way to put an expression as {Variable.ByName('IMG1234')} in image object?. If I use {IMG1234} works, but i need to u...