Billing module

Discussion in 'Plugins/Modules/Addons' started by bigmatlem, Dec 14, 2016.

  1. bigmatlem

    bigmatlem New Member

    Where do I modify it so that it displays the address for US users properly. It's quite interesting and mailman unfriendly. Need it to be formatted in the US as follows:
    Person Name:
    Company name:
    address number address street address apartment suite number
    City then state then zip code
    and it isn't doing that.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    It's the way addresses are formatted in europe.

    The PDF file is generated by the files in /usr/local/ispconfig/interface/web/billing/templates/pdf_invoice/default/
    Replace default with the name of the template that you use, in case you don't use the default template. The source file is commented.
     
  3. bigmatlem

    bigmatlem New Member

    What is the field name for State is it just state?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The name is 'state'. Take a look at the database table "invoice", the column names are the field names.
     

Share This Page