Comments in DeliveryDetails.php not displaying properly - Printable Version +- webERP Forum (http://www.weberp.org/forum) +-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1) +--- Forum: Feature Requests (http://www.weberp.org/forum/forumdisplay.php?fid=5) +--- Thread: Comments in DeliveryDetails.php not displaying properly (/showthread.php?tid=150) |
Comments in DeliveryDetails.php not displaying properly - thomas_lie - 03-05-2012 Hi guys, When I insert multiple lines comments in DeliveryDetails.php and choosing Quotation. The resulting quotation prints whole lines as one line with the character of \r\n So for example Terms & Conditions: *aaaaa *bbbbb *cccccc it will be shown like this in the pdf Terms & Conditions: \r\n *aaaaa \r\n *bbbbb \r\n *cccccc How can I fix this? Thanks RE: Comments in DeliveryDetails.php not displaying properly - Exsonqu_Qu - 03-06-2012 Hi, Thomas: Thanks for your report. Please refere to the attached file. Best regards! Exson (03-05-2012, 05:45 PM)thomas_lie Wrote: Hi guys, RE: Comments in DeliveryDetails.php not displaying properly - thomas_lie - 03-06-2012 Hi Exson, Thanks for your assistance The \r\n is not appearing now, however, the multiple lines still becomes one whole line so it's like Terms & Conditions: *aaaaa *bbbbb *cccccc instead of inserting newlines... is it supposed to be one line only? RE: Comments in DeliveryDetails.php not displaying properly - Exsonqu_Qu - 03-07-2012 Hi, James, I just remove those \r\n in PDF file. If it's over the length of one line, there will be another line. I don't know if we should follow the carriage return. Best regards! Exson RE: Comments in DeliveryDetails.php not displaying properly - phil - 03-07-2012 Will need to add a test for how long the comments are then create another line RE: Comments in DeliveryDetails.php not displaying properly - thomas_lie - 03-08-2012 Hi Phil, thanks for your valuable input. Actually, I need to add a lot of text (below is just dummy example) to the bottom of every quotation.... the output result has to be exact with new lines, carriage return in its place..... How can I actually do that from webERP? Quote:Optional: RE: Comments in DeliveryDetails.php not displaying properly - phil - 03-08-2012 Can't do it sorry |