Page 1 of 1

Field Format in Reports

Posted: Mon Aug 17, 2020 6:38 am
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!!!

Re: Field Format in Reports

Posted: Mon Aug 17, 2020 8:37 am
by kev1n
Hi Guapo,

Can you upload a db dump with a minimal example demonstrating your issue?

Re: Field Format in Reports

Posted: Sun Aug 30, 2020 6:42 am
by kev1n
Hi,

Could you solve the problem? Please let us know.

Re: Field Format in Reports

Posted: Thu Sep 17, 2020 10:47 am
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

Re: Field Format in Reports

Posted: Tue Oct 13, 2020 3:56 am
by admin
.