Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image AddedSince version 1.5.0 it is possible that you show the descriptions on the invoices. The most important information at a glance:

...

Code Block
languagephp
linenumberstrue
$_LANG['cpd_invoiceDescriptionPrefix'] = '"Your description:'"; // left of the description.
$_LANG['cpd_invoiceDescriptionSuffix'] = ''""; // right of the description. empty by default

...

At the end of this page you will learn how to create an override language file so that your changes will not be overwritten during an update.

Adding break lines

You can add more line breaks via the language file by inserting a "\n" at the beginning or at the end. An example:

Code Block
languagephp
$_LANG['cpd_invoiceDescriptionPrefix'] = "\nYour description:\n"; 
$_LANG['cpd_invoiceDescriptionSuffix'] = "\n\nSome text";

This will result in following output:

Image Added