Service Charge Calculation on Tax Included Ticket ( and products)

  • Upgrade to latest (4.1.49)

  • Change Calculation Type as Custom and enable Tax Included.

  • Create a new script and type handle as Calculation_[CalculationTemplateName]. If your calculation template name is Service it should be Calculation_Service.

  • Add this into Code area. Update 0.08 with your rate.

    result = (Ticket.PSum + Ticket.PreSum - Ticket.Tax) * 0.08

  • Have fun.

1 Like