Setting/automailxdesc: Difference between revisions

Jump to navigation Jump to search
Lesley (talk | contribs)
No edit summary
Lesley (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
A price value for the invoice item can be specified after a second pipe (|) symbol, this can be used to calculate a price using template variables.
A price value for the invoice item can be specified after a second pipe (|) symbol, this can be used to calculate a price using template variables.
If the price value in the description field is zero or absent, the numeric value from the amount field will be used.
If the price value in the description field is zero or absent, the numeric value from the amount field will be used.
*Description|Status|Price|VAT
Special characters ^~ should be used when there is an IF statement in the calculation, as the standard separators :| in the calculation will break the calculation.


When using one of the 'Change' options, then use the format below, text has to be an exact match.  
When using one of the 'Change' options, then use the format below, text has to be an exact match.  


*findThisDescription^replaceWithThisDescription
*findThisDescription^replaceWithThisDescription