User Tools

Site Tools


discount_a_service

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
discount_a_service [2015/02/25 13:49]
Jaco van Wyk
discount_a_service [2015/02/25 13:50]
Jaco van Wyk
Line 24: Line 24:
 We check if these are set before we proceed to add a discount line to the invoice. Discounts are set as fractions and to provide your client with 25% discount you will need to set the relevant custom field to 0.25. We check if these are set before we proceed to add a discount line to the invoice. Discounts are set as fractions and to provide your client with 25% discount you will need to set the relevant custom field to 0.25.
  
-Discounts will take into account the special quantity field type on a service and the calculation for the discount line is based on $service->​quantity * [$service->​data-"​type"​_discount].+**Important:​** ​Discounts will take into account the special quantity field type on a service and the calculation for the discount line is based on $service->​quantity * [$service->​data-"​type"​_discount].
  
-An example of this rule may be seen below:+==== Example====
  
 **Please note:** This rule is quite complex as it also contains prorated logic which may not be required in all instances. **Please note:** This rule is quite complex as it also contains prorated logic which may not be required in all instances.
discount_a_service.txt ยท Last modified: 2015/02/25 13:50 by Jaco van Wyk