• Hello,

    I am trying to use your plugin to create invoices but I face two problems

    The first one is with translations. I have a multilingual website in English and Greek and I have completed the string translation for the plugin. When I try to create an invoice the invoice is created with the language of the administrator which is in English, and not the language of the client which is in Greek.

    The other issue I have is that in Greece there are two different types of invoices, one is for retail customers and the other is for selling to other businesses. I have created a custom template, but when creating the invoice naturally it gets the template that is used in settings. It would be useful when you create the invoice to be able to choose which template you prefer. I guess a “solution” is before creating the invoice to change the template from settings and then create the invoice, but that could lead to mistakes and also is time consuming.

    Best Regards!

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi!
    There are two approaches here. One is to add another document type within your template set, similar to how the Italian Add-On creates a ‘Receipt’ document. This doesn’t require any change of the template settings because the document can reside next to the invoice and packing slip.

    Another solution could be to put a piece of code in invoice.php that includes another ‘sub template’ based on the billing country.

    Note that for full Multilingual support (with WPML or Polylang) we have the professional extension, which also allows you to set the invoice language of the admins to be different from the user.

    Hope that helps!
    Ewout

Viewing 1 replies (of 1 total)
  • The topic ‘Invoice language of administrator – Two types of invoice’ is closed to new replies.