Sales Tax calculated for backend registrations for free tickets
Overview
'Total Sales Tax Amount' is not calculated/set consistently if a 100% discount is applied.
When registering via the 'Event Registration' page and applying a discount, Civi shows the following in the backend with no 'Total Sales Tax Amount'
When registering a participant in the UI using the same discount, Civi does record the 'Total Sales Tax Amount'
Expected behaviour
On zero amounts no tax should be calculated as this may show confusing information in receipts as well as cause issues when reporting, e.g.
Civi core 'Discount by signup' dates does handle zero contributions as expected and doesn't calculate tax.
Environment information
Reproduced on dmaster.demo.civicrm.org today
- CiviCRM: 5.74.alpha1
Edited by rebeccatregenna