-
No worries
Btw, the delivery is not populated in Reqdetails table exept delivery contact. The delivery table is used for that, so I'm not sure about the above code.
2009-11-04 02:13:10 UTC by dbabicwa
-
On a side note. Can't seem to find how to delete the gibberish I put in earlier.
As for getting the information for the delivery contact to show up properly on the PDF I had to make the following changes to the following files:
**fpdf_preview.php**
On line 39:
require('fpdf/fpdf_draft.php');
Change to:
require('fpdf/fpdf.php');
***rfq_pdf.php***
**Old...
2009-11-03 17:50:36 UTC by plluncor
-
Yeah, legacy or historical issues, not perfect app though :) I think this is a case with update only, comment out line 746, 760 in rfq_admin.php.
could you delete that gibberish from pdf output please? Thanks.
2009-11-03 09:38:57 UTC by dbabicwa
-
Ok, great! This worked fantastically!!! I updated the new fpdf.php with the functions and now the PDF preview is working great.
There is now one other problem.
The PDF is not being updated with the delivery details such as address, phone number, or fax number.
When I check the database these fields show up as NULL, yet I got a confirmation that the database was updated properly. It...
2009-11-03 08:46:47 UTC by plluncor
-
Fix is here: http://www.fpdf.org/
download v1.6 version, backup and replace fpdf.php and fpdfdraft.php with a new file fpdf.php.
See function RotatedText, Rotate, Put watermark in old php_draft file, copy to new one and enjoj.
2009-11-03 08:16:39 UTC by dbabicwa
-
ahh, must have missed that. Ok thanks.
2009-11-03 06:58:11 UTC by plluncor
-
So I did as you said and unchecked the preview mode, now the database is getting updated properly.
As for the problem with the pdf preview please let me know once a fix is out.
Thanks again for your help, greatly appreciated. It is great to receive such great support.
2009-11-03 06:57:14 UTC by plluncor
-
Subscribe to the mailing list?.
2009-11-03 06:44:21 UTC by dbabicwa
-
Good to know. Will go through the files and update them.
Have updated the barcode files and now all is working. Thanks again for your help, much appreciated.
2009-11-03 06:20:43 UTC by plluncor
-
Do you get "Updating Complete!" at the bottom of the page?
If not, uncheck "Preview Mode" to update the db with your data.
The PDF preview and other problems are related to the new PHP version (5.3?), which is not supported by the current release.
Solution for now: use older php version which is proven to work.
2009-11-03 06:12:33 UTC by dbabicwa