Fix line item calculation from exclusive to inclusive
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 22 Aug 2021 00:16:12 +0000 (12:16 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 24 Aug 2021 04:24:10 +0000 (16:24 +1200)
commitfe619cf4b6bc9f8f2102f9b4817aabd06d4c05a4
treec208ce6ac8fbecc1387ab1518c7b324175571fe8
parent7d171898cbaafff58fbf6469abeb8c63486c083a
Fix line item calculation from exclusive to inclusive

This was added https://github.com/civicrm/civicrm-core/commit/e967ce8fe2b58b94e2163dde395542e55599da13#diff-a16d4d7449cf5f3a0616d1d282a32f27ab6d3f7d2726d076c02ad1d4d655af41R512

but incorrectly assumes the totalAmount is exclusive at this point - but
it is inclusive
CRM/Price/BAO/LineItem.php