Cape Dave Posted February 12, 2013 Share Posted February 12, 2013 I am doing all that has worked for previous versions. Now using 5.1.3 and having NO LUCK removing the UNPAID on the Default template invoicepdf.tpl file. Please help, my clients HATE it! Dave 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 12, 2013 Share Posted February 12, 2013 5.1.3? 2 is the latest release I see other than patches. Lines 25-33 appear to be the ones you're after. They govern the appearance of that text. 0 Quote Link to comment Share on other sites More sharing options...
Cape Dave Posted February 13, 2013 Author Share Posted February 13, 2013 Thanks, checking them now. I am using the latest version, not sure of exact version number. 0 Quote Link to comment Share on other sites More sharing options...
Cape Dave Posted February 13, 2013 Author Share Posted February 13, 2013 [ATTACH=CONFIG]4327[/ATTACH] These lines are different from the ones I used to edit. This file is from the Default folder, as that is the template I am using. Usually I would DELETE the line that contained UNPAID and that would do it. Here, there is no such line. Dave 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 13, 2013 Share Posted February 13, 2013 Sorry Dave. Deleted your duplicate post and VB4, in it's infinite wisdom, removed your attached file from both. Can't get it back. At any rate, that section defined formatting for the UNPAID bit. 5.1.2->templates->default->invoicepdf.tpl It appears to default to unpaid (line #9), and then it sets elseif conditions for the other statuses starting on line #12. That's what I see, at any rate. 0 Quote Link to comment Share on other sites More sharing options...
Cape Dave Posted February 14, 2013 Author Share Posted February 14, 2013 Thanks Bear. Luckily, I was able to accomplish this in the usual manner by reverting to the Portals theme. All in all, it works better for me. That file in the Default theme simply is not the same, and it is just different enough to completely throw me. 0 Quote Link to comment Share on other sites More sharing options...
asiams Posted February 16, 2013 Share Posted February 16, 2013 (edited) I have changed to portal theme, but I could not get this working. Can you guide me what to do? Edited February 16, 2013 by asiams 0 Quote Link to comment Share on other sites More sharing options...
Cape Dave Posted February 16, 2013 Author Share Posted February 16, 2013 You need to edit the invoicepdf.tpl file in the Portal folder under templates. In this line, under Payment Status } elseif ($status=Unpaid="") { $statustext = $_LANG["invoicesunpaid"]; I deleted the word Unpaid. I left everything else so the line looked like this: } elseif ($status=="") { $statustext = $_LANG["invoicesunpaid"]; That is what worked for me. Like a miracle 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.