Sunnysideup\EcommerceTax\Modifiers\GSTTaxModifier::LiveCalculatedTotal
Used to save CalculatedTotal to database.
works out the actual amount that needs to be deducted / added. The exclusive case is easy: just add the applicable tax The inclusive case: work out what was included and then work out what is applicable (current), then work out the difference.
Signature
protected function LiveCalculatedTotal()
Returns
- DBCurrency