Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Field Format in Reports

Questions related to nuBuilder Forte Reports and the Report Builder.
Post Reply
Guapo
Posts: 4
Joined: Sun Mar 08, 2020 11:44 am

Field Format in Reports

Unread post by Guapo »

Hi Admin/Kevin,

My question is, when I format the outstanding balance to 10,000.00
and check amount and total paid to blank. I get an output report.
Please refer to the picture below.
MyCompanyStm 3.jpg
On the other hand, when I changed the formats of check amount
and total paid to 10,000.00. I get an error message with no output

"Warning: number_format() expects parameter 1 to be double,
string given in C:\xampp\htdocs\Bussiness_System\nurunpdf.php on line 926"

"Warning: number_format() expects parameter 1 to be double,
string given in C:\xampp\htdocs\Bussiness_System\nurunpdf.php on line 926
FPDF error: Some data has already been output, can't send PDF file"

Data type of the fields outstanding, check amount and total paid are
DECIMAL (12,2). Is there a bug in nurunpdf.php? Please help!!!
You do not have the required permissions to view the files attached to this post.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Field Format in Reports

Unread post by kev1n »

Hi Guapo,

Can you upload a db dump with a minimal example demonstrating your issue?
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Field Format in Reports

Unread post by kev1n »

Hi,

Could you solve the problem? Please let us know.
Guapo
Posts: 4
Joined: Sun Mar 08, 2020 11:44 am

Re: Field Format in Reports

Unread post by Guapo »

Hi Kevin,
So sorry for the delayed response. Yes, I solved the problem.
I found out that the value of outstanding balance and check amount
is set to NULL. Its default should be set to zero. Best regards.
Ed
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Field Format in Reports

Unread post by admin »

.
Post Reply