Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PrintCustTransPortrait.php: Wrong invoice number on screen and TCPDF ERROR
03-10-2012, 05:33 AM,
#1
PrintCustTransPortrait.php: Wrong invoice number on screen and TCPDF ERROR
Hi guys,

I do a Email Invoice from the Customer Inquiry screen
and I try email invoice number 19

but after it is successful, it displays
"Invoice number 20 has been emailed"
although the email subject is correct

I suspect the culprit is inPrintCustTransPortrait.php line 485
PHP Code:
$FromTransNo++; 
but I don't know where it's supposed to be put, fearing it might cause another bug...

and the other thing, I could only email it correctly after I do
chmod 777 reports
directly (full permission on my folder)
is that supposed to be or do I have other settings I haven't done?
before I give full permission, I kept getting the following error

Code:
TCPDF ERROR: Unable to create output file: companies/abcd/reports/abcd_Invoice_19.pdf

rgards
Thomas Timothy Lie
Bali Open Source Solution, Indonesia
[url=http://www.baliboss.com]http://www.baliboss.com[/url]
Reply


Messages In This Thread
PrintCustTransPortrait.php: Wrong invoice number on screen and TCPDF ERROR - by thomas_lie - 03-10-2012, 05:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)