Billing module - logo not displayed

Discussion in 'Plugins/Modules/Addons' started by KoS, Jul 14, 2015.

  1. KoS

    KoS Member HowtoForge Supporter

    Hi

    I had configured a logo to be included in my invoice, but it stopped working some time ago. I don't know when exactly or what had changed. I checked that the file entered in the company settings exists in /usr/local/ispconfig/interface/web/billing/lib/logo and is word-readable.

    How can i debug the creation of the PDF, or even run it from command line to see where the problem lies? Thanks

    Kind regards
    KoS
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is a test.php file in the folder of each invoice template that can be used to test the pdf creation. Edit that file and set the ID of the invoice that you want to use for testing. Then open the uRL to the test.php file in the browser, it will display generate the pdf document on the fly and show it in the browser.
     
    KoS likes this.
  3. KoS

    KoS Member HowtoForge Supporter

    perfect, thanks. problem solved.
    good point, now i remember that i used the file already when i was changing the template :)
     

Share This Page